Class

com.coxautodata.waimak.metastore

ImpalaWaimakJDBCConnector

Related Doc: package metastore

Permalink

case class ImpalaWaimakJDBCConnector(context: SparkFlowContext, database: String, cluster: String = "default", 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

context

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

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(context: SparkFlowContext, database: String, cluster: String = "default", properties: Properties = new java.util.Properties(), secureProperties: Map[String, String] = Map.empty)

    Permalink

    context

    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

    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 context: SparkFlowContext

    Permalink

    The flow context object containing the SparkSession and FileSystem

    The flow context object containing the SparkSession and FileSystem

    Definition Classes
    ImpalaWaimakJDBCConnector → HadoopDBConnector
  8. val database: String

    Permalink

    name of the database to connect to

    name of the database to connect to

    Definition Classes
    ImpalaWaimakJDBCConnector → WaimakJDBCConnector
  9. val driverName: String

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

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

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

    Permalink
    Definition Classes
    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 logAndReturn[A](a: A, msg: String, level: Level): A

    Permalink
    Definition Classes
    Logging
  19. def logAndReturn[A](a: A, message: (A) ⇒ String, level: Level): A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  34. 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
  35. def recreateTableFromParquetDDLs(tableName: String, path: String, partitionColumns: Seq[String]): Seq[String]

    Permalink
    Definition Classes
    HadoopDBConnector
  36. 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
  37. val service: String

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

    Permalink
    Definition Classes
    ImpalaWaimakJDBCConnector → WaimakJDBCConnector
  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