Class/Object

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

ColumnFormatRelation

Related Docs: object ColumnFormatRelation | package impl

Permalink

class ColumnFormatRelation extends BaseColumnFormatRelation with ParentRelation

Linear Supertypes
ParentRelation, BaseColumnFormatRelation, RowInsertableRelation, SingleRowInsertableRelation, PartitionedDataSourceScan, JDBCAppendableRelation, Product, Equals, Serializable, Serializable, internal.Logging, IndexableRelation, DestroyRelation, InsertableRelation, PrunedUnsafeFilteredScan, 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. PrunedUnsafeFilteredScan
  17. BaseRelation
  18. AnyRef
  19. Any
  1. Hide All
  2. Show All
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, partitioningColumns: Seq[String], _context: SQLContext)

    Permalink

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. def addDependent(dependent: DependentRelation, catalog: SnappyStoreHiveCatalog): Boolean

    Permalink

    Used by DependentRelations to register with parent

    Used by DependentRelations to register with parent

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

    Permalink
    Definition Classes
    Any
  6. def buildUnsafeScan(requiredColumns: Array[String], filters: Array[Filter]): (RDD[Any], Seq[RDD[InternalRow]])

    Permalink
  7. def cachedBatchAggregate(batch: CachedBatch): Unit

    Permalink
  8. def clone(): AnyRef

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    JDBCAppendableRelation
  11. final val connProperties: ConnectionProperties

    Permalink
    Attributes
    protected
    Definition Classes
    JDBCAppendableRelation
  12. val connectionType: ConnectionType.Value

    Permalink
  13. def createExternalTableForCachedBatches(tableName: String, externalStore: ExternalStore): Unit

    Permalink
  14. def createIndex(indexIdent: QualifiedTableName, tableIdent: QualifiedTableName, indexColumns: Map[String, Option[SortDirection]], options: Map[String, String]): Unit

    Permalink

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

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

    Permalink
    Definition Classes
    JDBCAppendableRelation
  17. def destroy(ifExists: Boolean): Unit

    Permalink

    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
  18. final def dialect: JdbcDialect

    Permalink
    Attributes
    protected
    Definition Classes
    JDBCAppendableRelation
  19. def dropIndex(indexIdent: QualifiedTableName, tableIdent: QualifiedTableName, ifExists: Boolean): Unit

    Permalink

    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
  20. final def eq(arg0: AnyRef): Boolean

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

    Permalink

    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
  22. final lazy val executorConnector: () ⇒ Connection

    Permalink
    Definition Classes
    JDBCAppendableRelation
  23. val externalStore: ExternalStore

    Permalink
    Definition Classes
    JDBCAppendableRelation
  24. def finalize(): Unit

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

    Permalink
  26. final def getClass(): Class[_]

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

    Permalink

    Get the dependent child.

    Get the dependent child.

    Definition Classes
    ColumnFormatRelationParentRelation
  28. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. def insert(rows: Iterator[InternalRow]): Int

    Permalink

    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
  30. def insert(rows: Seq[Row]): Int

    Permalink

    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
  31. def insert(data: DataFrame, mode: SaveMode): Unit

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  36. def log: Logger

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  48. val mode: SaveMode

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

    Permalink
    Definition Classes
    AnyRef
  50. val needConversion: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  53. lazy val numBuckets: Int

    Permalink
  54. lazy val numPartitions: Int

    Permalink
  55. val origOptions: Map[String, String]

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

    Permalink
  57. val provider: String

    Permalink
    Definition Classes
    JDBCAppendableRelation
  58. def recoverDependentsRelation(): Unit

    Permalink

    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. lazy val region: PartitionedRegion

    Permalink
    Attributes
    protected
    Definition Classes
    BaseColumnFormatRelation
  60. def removeDependent(dependent: DependentRelation, catalog: SnappyStoreHiveCatalog): Boolean

    Permalink

    Used by DependentRelations to unregister with parent

    Used by DependentRelations to unregister with parent

    Definition Classes
    ColumnFormatRelationParentRelation
  61. val resolvedName: String

    Permalink
    Definition Classes
    JDBCAppendableRelation
  62. lazy val rowInsertStr: String

    Permalink
    Definition Classes
    BaseColumnFormatRelation
  63. def scanTable(tableName: String, requiredColumns: Array[String], filters: Array[Filter]): (RDD[CachedBatch], Array[String])

    Permalink
  64. val schema: StructType

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

    Permalink
    Definition Classes
    JDBCAppendableRelation
  66. def sizeInBytes: Long

    Permalink
    Definition Classes
    JDBCAppendableRelation → BaseRelation
  67. val sqlContext: SQLContext

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

    Permalink
    Definition Classes
    AnyRef
  69. val table: String

    Permalink
    Definition Classes
    JDBCAppendableRelation
  70. var tableExists: Boolean

    Permalink

    Return true if table already existed when the relation object was created.

    Return true if table already existed when the relation object was created.

    Definition Classes
    JDBCAppendableRelationDestroyRelation
  71. def toString(): String

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

    Permalink

    Truncate the table represented by this relation.

    Truncate the table represented by this relation.

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

    Permalink
    Definition Classes
    BaseRelation
  74. final def wait(): Unit

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

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

    Permalink
    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 internal.Logging

Inherited from IndexableRelation

Inherited from DestroyRelation

Inherited from InsertableRelation

Inherited from PrunedUnsafeFilteredScan

Inherited from BaseRelation

Inherited from AnyRef

Inherited from Any

Ungrouped