org.apache.spark.sql.execution.columnar.impl

ColumnFormatRelation

class ColumnFormatRelation extends BaseColumnFormatRelation with ParentRelation

Linear Supertypes
ParentRelation, BaseColumnFormatRelation, RowInsertableRelation, SingleRowInsertableRelation, PartitionedDataSourceScan, JDBCAppendableRelation, Product, Equals, Serializable, Serializable, Logging, IndexableRelation, DestroyRelation, InsertableRelation, PrunedFilteredScan, BaseRelation, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ColumnFormatRelation
  2. ParentRelation
  3. BaseColumnFormatRelation
  4. RowInsertableRelation
  5. SingleRowInsertableRelation
  6. PartitionedDataSourceScan
  7. JDBCAppendableRelation
  8. Product
  9. Equals
  10. Serializable
  11. Serializable
  12. Logging
  13. IndexableRelation
  14. DestroyRelation
  15. InsertableRelation
  16. PrunedFilteredScan
  17. BaseRelation
  18. AnyRef
  19. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ColumnFormatRelation(_table: String, _provider: String, _mode: SaveMode, _userSchema: StructType, schemaExtensions: String, ddlExtensionForShadowTable: String, _origOptions: Map[String, String], _externalStore: ExternalStore, blockMap: Map[InternalDistributedMember, BlockManagerId], partitioningColumns: Seq[String], _context: 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. def addDependent(dependent: DependentRelation, catalog: SnappyStoreHiveCatalog): Boolean

    Used by DependentRelations to register with parent

    Used by DependentRelations to register with parent

    Definition Classes
    ColumnFormatRelationParentRelation
  7. final def asInstanceOf[T0]: T0

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

    Definition Classes
    BaseColumnFormatRelationJDBCAppendableRelation → PrunedFilteredScan
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val columnBatchSize: Int

    Definition Classes
    BaseColumnFormatRelation
  11. final val connFactory: () ⇒ Connection

    Attributes
    protected
    Definition Classes
    JDBCAppendableRelation
  12. final val connProperties: ConnectionProperties

    Attributes
    protected
    Definition Classes
    JDBCAppendableRelation
  13. lazy val connectionType: ConnectionType.Value

    Definition Classes
    BaseColumnFormatRelation
  14. def createActualTable(tableName: String, externalStore: ExternalStore): Unit

    Definition Classes
    BaseColumnFormatRelation
  15. def createExternalTableForCachedBatches(tableName: String, externalStore: ExternalStore): Unit

  16. 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
    ColumnFormatRelationJDBCAppendableRelationIndexableRelation
  17. def createTable(mode: SaveMode): Unit

  18. def createTable(externalStore: ExternalStore, tableStr: String, tableName: String, dropIfExists: Boolean): Unit

    Definition Classes
    JDBCAppendableRelation
  19. 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
    BaseColumnFormatRelationJDBCAppendableRelationDestroyRelation
  20. final def dialect: JdbcDialect

    Attributes
    protected
    Definition Classes
    JDBCAppendableRelation
  21. 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
    ColumnFormatRelationJDBCAppendableRelationIndexableRelation
  22. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. def executeUpdate(sql: String): Int

    Execute a DML SQL and return the number of rows affected.

    Execute a DML SQL and return the number of rows affected.

    Definition Classes
    BaseColumnFormatRelationSingleRowInsertableRelation
  24. final lazy val executorConnector: () ⇒ Connection

    Definition Classes
    JDBCAppendableRelation
  25. val externalStore: ExternalStore

    Definition Classes
    JDBCAppendableRelation
  26. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  29. def getDependents(catalog: SnappyStoreHiveCatalog): Seq[String]

    Get the dependent child.

    Get the dependent child.

    Definition Classes
    ColumnFormatRelationParentRelation
  30. def insert(rows: Iterator[InternalRow]): Int

    Insert a sequence of rows into the table represented by this relation.

    Insert a sequence of rows into the table represented by this relation.

    rows

    the rows to be inserted

    returns

    number of rows inserted

    Definition Classes
    BaseColumnFormatRelation
  31. def insert(rows: Seq[Row]): Int

    Insert a sequence of rows into the table represented by this relation.

    Insert a sequence of rows into the table represented by this relation.

    rows

    the rows to be inserted

    returns

    number of rows inserted

    Definition Classes
    BaseColumnFormatRelationRowInsertableRelation
  32. def insert(data: DataFrame, mode: SaveMode): Unit

    Definition Classes
    BaseColumnFormatRelation
  33. def insert(data: DataFrame, overwrite: Boolean): Unit

    Definition Classes
    BaseColumnFormatRelationJDBCAppendableRelation → InsertableRelation
  34. def insert(rdd: RDD[InternalRow], df: DataFrame, overwrite: Boolean): Unit

    Attributes
    protected
    Definition Classes
    JDBCAppendableRelation
  35. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  36. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  37. def log: Logger

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  44. def logName: String

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  49. val mode: SaveMode

    Definition Classes
    JDBCAppendableRelation
  50. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  51. val needConversion: Boolean

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

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

    Definition Classes
    AnyRef
  54. lazy val numPartitions: Int

  55. val origOptions: Map[String, String]

    Definition Classes
    JDBCAppendableRelation
  56. def partitionColumns: Seq[String]

  57. val provider: String

    Definition Classes
    JDBCAppendableRelation
  58. def recoverDependentsRelation(): Unit

    Recover/Re-create the dependent child relations.

    Recover/Re-create the dependent child relations. This callback is to recreate Dependent relations when the ParentRelation is being created.

    Definition Classes
    ColumnFormatRelationParentRelation
  59. def removeDependent(dependent: DependentRelation, catalog: SnappyStoreHiveCatalog): Boolean

    Used by DependentRelations to unregister with parent

    Used by DependentRelations to unregister with parent

    Definition Classes
    ColumnFormatRelationParentRelation
  60. val rowInsertStr: String

    Definition Classes
    BaseColumnFormatRelation
  61. def scanTable(tableName: String, requiredColumns: Array[String], filters: Array[sources.Filter]): RDD[Row]

  62. def schema: StructType

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

    Definition Classes
    JDBCAppendableRelation
  64. def sizeInBytes: Long

    Definition Classes
    JDBCAppendableRelation → BaseRelation
  65. val sqlContext: SQLContext

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

    Definition Classes
    AnyRef
  67. val table: String

    Definition Classes
    JDBCAppendableRelation
  68. def toString(): String

    Definition Classes
    BaseColumnFormatRelationJDBCAppendableRelation → AnyRef → Any
  69. def truncate(): Unit

    Truncate the table represented by this relation.

    Truncate the table represented by this relation.

    Definition Classes
    BaseColumnFormatRelationJDBCAppendableRelationDestroyRelation
  70. def unhandledFilters(filters: Array[sources.Filter]): Array[sources.Filter]

    Definition Classes
    BaseRelation
  71. val userSchema: StructType

    Definition Classes
    JDBCAppendableRelation
  72. def uuidBatchAggregate(accumulated: ArrayBuffer[UUIDRegionKey], batch: CachedBatch): ArrayBuffer[UUIDRegionKey]

  73. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ParentRelation

Inherited from BaseColumnFormatRelation

Inherited from RowInsertableRelation

Inherited from PartitionedDataSourceScan

Inherited from JDBCAppendableRelation

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