Packages

c

com.coxautodata.waimak.metastore

ImpalaWaimakJDBCConnector

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)

    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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. val cluster: String
    Definition Classes
    ImpalaWaimakJDBCConnector → WaimakJDBCConnector
  7. val context: SparkFlowContext
    Definition Classes
    ImpalaWaimakJDBCConnector → HadoopDBConnector
  8. val database: String
    Definition Classes
    ImpalaWaimakJDBCConnector → WaimakJDBCConnector
  9. val driverName: String
    Definition Classes
    ImpalaWaimakJDBCConnector → JDBCConnector
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def forceRecreateTables: Boolean
    Definition Classes
    HadoopDBConnector
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hadoopConfiguration: Configuration
    Definition Classes
    ImpalaWaimakJDBCConnector → JDBCConnector
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  17. def jdbcString: String
    Definition Classes
    WaimakJDBCConnector → JDBCConnector
  18. def logAndReturn[A](a: A, msg: String, level: Level): A
    Definition Classes
    Logging
  19. def logAndReturn[A](a: A, message: (A) ⇒ String, level: Level): A
    Definition Classes
    Logging
  20. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  27. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. val properties: Properties
    Definition Classes
    ImpalaWaimakJDBCConnector → JDBCConnector
  35. def recreateTableFromParquetDDLs(tableName: String, path: String, partitionColumns: Seq[String]): Seq[String]
    Definition Classes
    HadoopDBConnector
  36. val secureProperties: Map[String, String]
    Definition Classes
    ImpalaWaimakJDBCConnector → JDBCConnector
  37. val service: String
    Definition Classes
    ImpalaWaimakJDBCConnector → WaimakJDBCConnector
  38. val sparkConf: SparkConf
    Definition Classes
    ImpalaWaimakJDBCConnector → WaimakJDBCConnector
  39. def submitAtomicResultlessQueries(ddls: Seq[String]): Unit
    Definition Classes
    DBConnector
  40. def submitResultlessQuery(ddl: String): Unit
    Definition Classes
    DBConnector
  41. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  42. def updateTableParquetLocationDDLs(tableName: String, path: String, partitionColumns: Seq[String]): Seq[String]
    Definition Classes
    HadoopDBConnector
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

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