Class

com.coxautodata.waimak.metastore

ImpalaWaimakJDBCConnector

Related Doc: package metastore

Permalink

case class ImpalaWaimakJDBCConnector(sparkFlowContext: SparkFlowContext, database: String, cluster: String = "default", forceRecreateTables: Boolean = false, properties: Properties = new java.util.Properties(), secureProperties: Map[String, String] = Map.empty) extends ImpalaDBConnector with WaimakJDBCConnector with Product with Serializable

Impala Database connector that is constructed using the Waimak JDBC template in spark conf

sparkFlowContext

The flow context object containing the SparkSession and FileSystem

database

name of the database to connect to

cluster

the cluster label in the JDBC template string

forceRecreateTables

Force drop+create of tables even if update is called (necessary in cases of schema change)

properties

Key value pairs passed as connection arguments to the DriverManager during connection

secureProperties

Key value set of parameters used to get parameter values for JDBC properties from a secure jceks file at CredentialProviderFactory.CREDENTIAL_PROVIDER_PATH. First value is the key of the parameter in the jceks file and the second parameter is the key of the parameter you want in jdbc properties

Linear Supertypes
Serializable, Serializable, Product, Equals, WaimakJDBCConnector, JDBCConnector, ImpalaDBConnector, HadoopDBConnector, DBConnector, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ImpalaWaimakJDBCConnector
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. WaimakJDBCConnector
  7. JDBCConnector
  8. ImpalaDBConnector
  9. HadoopDBConnector
  10. DBConnector
  11. Logging
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ImpalaWaimakJDBCConnector(sparkFlowContext: SparkFlowContext, database: String, cluster: String = "default", forceRecreateTables: Boolean = false, properties: Properties = new java.util.Properties(), secureProperties: Map[String, String] = Map.empty)

    Permalink

    sparkFlowContext

    The flow context object containing the SparkSession and FileSystem

    database

    name of the database to connect to

    cluster

    the cluster label in the JDBC template string

    forceRecreateTables

    Force drop+create of tables even if update is called (necessary in cases of schema change)

    properties

    Key value pairs passed as connection arguments to the DriverManager during connection

    secureProperties

    Key value set of parameters used to get parameter values for JDBC properties from a secure jceks file at CredentialProviderFactory.CREDENTIAL_PROVIDER_PATH. First value is the key of the parameter in the jceks file and the second parameter is the key of the parameter you want in jdbc properties

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val cluster: String

    Permalink

    the cluster label in the JDBC template string

    the cluster label in the JDBC template string

    Definition Classes
    ImpalaWaimakJDBCConnector → WaimakJDBCConnector
  7. val database: String

    Permalink

    name of the database to connect to

    name of the database to connect to

    Definition Classes
    ImpalaWaimakJDBCConnector → WaimakJDBCConnector
  8. val driverName: String

    Permalink
    Definition Classes
    ImpalaWaimakJDBCConnector → JDBCConnector
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def fileSystem: FileSystem

    Permalink
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. val forceRecreateTables: Boolean

    Permalink

    Force drop+create of tables even if update is called (necessary in cases of schema change)

    Force drop+create of tables even if update is called (necessary in cases of schema change)

    Definition Classes
    ImpalaWaimakJDBCConnector → HadoopDBConnector
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hadoopConfiguration: Configuration

    Permalink
    Definition Classes
    ImpalaWaimakJDBCConnector → JDBCConnector
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  17. def jdbcString: String

    Permalink
    Definition Classes
    WaimakJDBCConnector → JDBCConnector
  18. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  19. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  20. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  21. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  22. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  23. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  24. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  25. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  26. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. val properties: Properties

    Permalink

    Key value pairs passed as connection arguments to the DriverManager during connection

    Key value pairs passed as connection arguments to the DriverManager during connection

    Definition Classes
    ImpalaWaimakJDBCConnector → JDBCConnector
  33. def recreateTableFromParquetDDLs(tableName: String, path: String, partitionColumns: Seq[String]): Seq[String]

    Permalink
    Definition Classes
    HadoopDBConnector
  34. val secureProperties: Map[String, String]

    Permalink

    Key value set of parameters used to get parameter values for JDBC properties from a secure jceks file at CredentialProviderFactory.CREDENTIAL_PROVIDER_PATH.

    Key value set of parameters used to get parameter values for JDBC properties from a secure jceks file at CredentialProviderFactory.CREDENTIAL_PROVIDER_PATH. First value is the key of the parameter in the jceks file and the second parameter is the key of the parameter you want in jdbc properties

    Definition Classes
    ImpalaWaimakJDBCConnector → JDBCConnector
  35. val service: String

    Permalink
    Definition Classes
    ImpalaWaimakJDBCConnector → WaimakJDBCConnector
  36. val sparkConf: SparkConf

    Permalink
    Definition Classes
    ImpalaWaimakJDBCConnector → WaimakJDBCConnector
  37. val sparkFlowContext: SparkFlowContext

    Permalink

    The flow context object containing the SparkSession and FileSystem

  38. def sparkSession: SparkSession

    Permalink
  39. def submitAtomicResultlessQueries(ddls: Seq[String]): Unit

    Permalink
    Definition Classes
    DBConnector
  40. def submitResultlessQuery(ddl: String): Unit

    Permalink
    Definition Classes
    DBConnector
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  42. def updateTableParquetLocationDDLs(tableName: String, path: String, partitionColumns: Seq[String]): Seq[String]

    Permalink
    Definition Classes
    HadoopDBConnector
  43. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from WaimakJDBCConnector

Inherited from JDBCConnector

Inherited from ImpalaDBConnector

Inherited from HadoopDBConnector

Inherited from DBConnector

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped