org.apache.spark.sql.execution.columnar

JDBCAppendableRelation

case class JDBCAppendableRelation(table: String, provider: String, mode: SaveMode, userSchema: StructType, origOptions: Map[String, String], externalStore: ExternalStore, sqlContext: SQLContext) extends BaseRelation with PrunedFilteredScan with InsertableRelation with DestroyRelation with IndexableRelation with Logging with Serializable with Product

A LogicalPlan implementation for an external column table whose contents are retrieved using a JDBC URL or DataSource.

Self Type
JDBCAppendableRelation
Linear Supertypes
Product, Equals, Serializable, Serializable, Logging, IndexableRelation, DestroyRelation, InsertableRelation, PrunedFilteredScan, BaseRelation, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JDBCAppendableRelation
  2. Product
  3. Equals
  4. Serializable
  5. Serializable
  6. Logging
  7. IndexableRelation
  8. DestroyRelation
  9. InsertableRelation
  10. PrunedFilteredScan
  11. BaseRelation
  12. AnyRef
  13. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JDBCAppendableRelation(table: String, provider: String, mode: SaveMode, userSchema: StructType, origOptions: Map[String, String], externalStore: ExternalStore, sqlContext: SQLContext)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def buildScan(requiredColumns: Array[String], filters: Array[sources.Filter]): RDD[Row]

    Definition Classes
    JDBCAppendableRelation → PrunedFilteredScan
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final val connFactory: () ⇒ Connection

    Attributes
    protected
  10. final val connProperties: ConnectionProperties

    Attributes
    protected
  11. def createExternalTableForCachedBatches(tableName: String, externalStore: ExternalStore): Unit

    Attributes
    protected
  12. def createIndex(indexIdent: QualifiedTableName, tableIdent: QualifiedTableName, indexColumns: Map[String, Option[SortDirection]], options: Map[String, String]): Unit

    Create an index on a table.

    Create an index on a table.

    indexIdent

    Index Identifier which goes in the catalog

    tableIdent

    Table identifier on which the index is created.

    indexColumns

    Columns on which the index has to be created with the direction of sorting. Direction can be specified as None.

    options

    Options for indexes. For e.g. column table index - ("COLOCATE_WITH"->"CUSTOMER"). row table index - ("INDEX_TYPE"->"GLOBAL HASH") or ("INDEX_TYPE"->"UNIQUE")

    Definition Classes
    JDBCAppendableRelationIndexableRelation
  13. def createTable(externalStore: ExternalStore, tableStr: String, tableName: String, dropIfExists: Boolean): Unit

  14. def createTable(mode: SaveMode): Unit

  15. def destroy(ifExists: Boolean): Unit

    Destroy and cleanup this relation.

    Destroy and cleanup this relation. It may include, but not limited to, dropping the external table that this relation represents.

    Definition Classes
    JDBCAppendableRelationDestroyRelation
  16. final def dialect: JdbcDialect

    Attributes
    protected
  17. def dropIndex(indexIdent: QualifiedTableName, tableIdent: QualifiedTableName, ifExists: Boolean): Unit

    Drops an index on this table

    Drops an index on this table

    indexIdent

    Index identifier

    tableIdent

    Table identifier

    ifExists

    Drop if exists

    Definition Classes
    JDBCAppendableRelationIndexableRelation
  18. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final lazy val executorConnector: () ⇒ Connection

  20. val externalStore: ExternalStore

  21. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def flushRowBuffer(): Unit

  23. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  24. def insert(rdd: RDD[InternalRow], df: DataFrame, overwrite: Boolean): Unit

    Attributes
    protected
  25. def insert(df: DataFrame, overwrite: Boolean = true): Unit

    Definition Classes
    JDBCAppendableRelation → InsertableRelation
  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  28. def log: Logger

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  35. def logName: String

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  40. val mode: SaveMode

  41. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  42. val needConversion: Boolean

    Definition Classes
    JDBCAppendableRelation → BaseRelation
  43. final def notify(): Unit

    Definition Classes
    AnyRef
  44. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  45. val origOptions: Map[String, String]

  46. val provider: String

  47. def scanTable(tableName: String, requiredColumns: Array[String], filters: Array[sources.Filter]): RDD[Row]

  48. def schema: StructType

    Definition Classes
    JDBCAppendableRelation → BaseRelation
  49. val schemaFields: Map[String, StructField]

  50. def sizeInBytes: Long

    Definition Classes
    JDBCAppendableRelation → BaseRelation
  51. val sqlContext: SQLContext

    Definition Classes
    JDBCAppendableRelation → BaseRelation
  52. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  53. val table: String

  54. def truncate(): Unit

    Truncate the table represented by this relation.

    Truncate the table represented by this relation.

    Definition Classes
    JDBCAppendableRelationDestroyRelation
  55. def unhandledFilters(filters: Array[sources.Filter]): Array[sources.Filter]

    Definition Classes
    BaseRelation
  56. val userSchema: StructType

  57. def uuidBatchAggregate(accumulated: ArrayBuffer[UUIDRegionKey], batch: CachedBatch): ArrayBuffer[UUIDRegionKey]

  58. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from Serializable

Inherited from Logging

Inherited from IndexableRelation

Inherited from DestroyRelation

Inherited from InsertableRelation

Inherited from PrunedFilteredScan

Inherited from BaseRelation

Inherited from AnyRef

Inherited from Any

Ungrouped