Class/Object

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

ColumnFormatRelation

Related Docs: object ColumnFormatRelation | package impl

Permalink

class ColumnFormatRelation extends BaseColumnFormatRelation with BulkPutRelation

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ColumnFormatRelation
  2. BulkPutRelation
  3. BaseColumnFormatRelation
  4. MutableRelation
  5. RowInsertableRelation
  6. PartitionedDataSourceScan
  7. JDBCAppendableRelation
  8. Product
  9. Equals
  10. Serializable
  11. Serializable
  12. NativeTableRowLevelSecurityRelation
  13. RowLevelSecurityRelation
  14. Logging
  15. IndexableRelation
  16. PlanInsertableRelation
  17. NativeTableRelation
  18. DestroyRelation
  19. InsertableRelation
  20. PrunedUnsafeFilteredScan
  21. BaseRelation
  22. AnyRef
  23. 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: CaseInsensitiveMutableHashMap[String], _externalStore: ExternalStore, _partitioningColumns: Seq[String], _context: SQLContext, _relationInfo: (RelationInfo, Option[LocalRegion]) = null)

    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. var _relationInfoAndRegion: (RelationInfo, Option[LocalRegion])

    Permalink
    Attributes
    protected[this]
    Definition Classes
    NativeTableRowLevelSecurityRelation
  5. var _schema: StructType

    Permalink
    Attributes
    protected[this]
    Definition Classes
    NativeTableRowLevelSecurityRelation
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def buildRowBufferRDD(partitionEvaluator: () ⇒ Array[Partition], requiredColumns: Array[String], filters: Array[Expression], useResultSet: Boolean, projection: Array[Int]): RDD[Any]

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

    Permalink
  9. def buildUnsafeScanForSampledRelation(requiredColumns: Array[String], filters: Array[Expression]): (RDD[Any], RDD[Any], Seq[RDD[InternalRow]])

    Permalink
    Definition Classes
    BaseColumnFormatRelation
  10. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    JDBCAppendableRelation → Equals
  11. def clone(): AnyRef

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

    Permalink
  13. final def connProperties: ConnectionProperties

    Permalink
  14. val connectionType: ConnectionType.Value

    Permalink
  15. def createActualTables(conn: Connection): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    BaseColumnFormatRelationNativeTableRowLevelSecurityRelation
  16. def createIndex(indexIdent: TableIdentifier, tableIdent: TableIdentifier, indexColumns: Seq[(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
  17. def createTable(conn: Connection, tableStr: String, tableName: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    JDBCAppendableRelation
  18. def createTable(mode: SaveMode): Unit

    Permalink
  19. val ddlExtensionForShadowTable: String

    Permalink
    Definition Classes
    BaseColumnFormatRelation
  20. var delayRollover: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    JDBCAppendableRelation
  21. 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
    BaseColumnFormatRelationDestroyRelation
  22. final def dialect: JdbcDialect

    Permalink
    Attributes
    protected
    Definition Classes
    JDBCAppendableRelationNativeTableRelation
  23. def dropIndex(indexIdent: TableIdentifier, tableIdent: TableIdentifier, 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
  24. def enableOrDisableRowLevelSecurity(tableIdent: TableIdentifier, enableRowLevelSecurity: Boolean): Unit

    Permalink
  25. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    JDBCAppendableRelation → Equals → AnyRef → Any
  27. def executeUpdate(sql: String, defaultSchema: 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
    NativeTableRelation
  28. val externalStore: ExternalStore

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

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

    Permalink
  31. def getBasicInsertPlan(relation: LogicalRelation, child: SparkPlan): SparkPlan

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

    Permalink
    Definition Classes
    AnyRef → Any
  33. def getColocatedTable: Option[String]

    Permalink
  34. def getColumnBatchParams: (Int, Int, String)

    Permalink
    Definition Classes
    JDBCAppendableRelation
  35. def getColumnBatchStatistics(schema: Seq[AttributeReference]): PartitionStatistics

    Permalink
    Definition Classes
    BaseColumnFormatRelation
  36. def getCompressionCodec: String

    Permalink
    Definition Classes
    JDBCAppendableRelation
  37. def getDeletePlan(relation: LogicalRelation, child: SparkPlan, keyColumns: Seq[Attribute]): SparkPlan

    Permalink

    Get a spark plan to delete rows the relation.

    Get a spark plan to delete rows the relation. The result of SparkPlan execution should be a count of number of updated rows.

    Definition Classes
    BaseColumnFormatRelationMutableRelation
  38. def getInsertPlan(relation: LogicalRelation, child: SparkPlan): SparkPlan

    Permalink

    Get a spark plan for insert.

    Get a spark plan for insert. The result of SparkPlan execution should be a count of number of inserted rows.

    Definition Classes
    PlanInsertableRelation
  39. def getKeyColumns: Seq[String]

    Permalink

    Get the "key" columns for the table that need to be projected out by UPDATE and DELETE operations for affecting the selected rows.

    Get the "key" columns for the table that need to be projected out by UPDATE and DELETE operations for affecting the selected rows.

    Definition Classes
    BaseColumnFormatRelationMutableRelation
  40. def getPrimaryKeyColumns(session: SnappySession): Seq[String]

    Permalink

    Get key columns of the column table

    Get key columns of the column table

    Definition Classes
    BaseColumnFormatRelationMutableRelation
  41. def getPutKeys(session: SnappySession): Option[Seq[String]]

    Permalink
    Definition Classes
    ColumnFormatRelationBulkPutRelation
  42. def getPutPlan(insertPlan: SparkPlan, updatePlan: SparkPlan): SparkPlan

    Permalink

    Get a spark plan for puts.

    Get a spark plan for puts. If the row is already present, it gets updated otherwise it gets inserted into the table represented by this relation. The result of SparkPlan execution should be a count of number of rows put.

    Definition Classes
    ColumnFormatRelationBulkPutRelation
  43. def getUpdatePlan(relation: LogicalRelation, child: SparkPlan, updateColumns: Seq[Attribute], updateExpressions: Seq[Expression], keyColumns: Seq[Attribute]): SparkPlan

    Permalink

    Get a spark plan to update rows in the relation.

    Get a spark plan to update rows in the relation. The result of SparkPlan execution should be a count of number of updated rows.

    Definition Classes
    BaseColumnFormatRelationMutableRelation
  44. def hashCode(): Int

    Permalink
    Definition Classes
    JDBCAppendableRelation → AnyRef → Any
  45. def initializeLogIfNecessary(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  46. 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
  47. def insert(data: DataFrame, overwrite: Boolean): Unit

    Permalink
    Definition Classes
    JDBCAppendableRelation → InsertableRelation
  48. final def isDebugEnabled: Boolean

    Permalink
    Definition Classes
    Logging
  49. final def isInfoEnabled: Boolean

    Permalink
    Definition Classes
    Logging
  50. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  51. def isPartitioned: Boolean

    Permalink
  52. def isRowLevelSecurityEnabled: Boolean

    Permalink
  53. final def isRowTable: Boolean

    Permalink
  54. final def isTraceEnabled: Boolean

    Permalink
    Definition Classes
    Logging
  55. final var levelFlags: Int

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

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

    Permalink
    Definition Classes
    Logging
  58. def logDebug(msg: ⇒ String): Unit

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

    Permalink
    Definition Classes
    Logging
  60. def logError(msg: ⇒ String): Unit

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

    Permalink
    Definition Classes
    Logging
  62. def logInfo(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  63. def logName: String

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

    Permalink
    Definition Classes
    Logging
  65. def logTrace(msg: ⇒ String): Unit

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

    Permalink
    Definition Classes
    Logging
  67. def logWarning(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  68. final var log_: Logger

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

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

    Permalink
    Definition Classes
    AnyRef
  71. val needConversion: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  74. def numBuckets: Int

    Permalink
  75. val origOptions: CaseInsensitiveMutableHashMap[String]

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

    Permalink

    Get the partitioning columns for the table, if any.

    Get the partitioning columns for the table, if any.

    Definition Classes
    BaseColumnFormatRelationMutableRelationPartitionedDataSourceScan
  77. val partitioningColumns: Seq[String]

    Permalink
    Definition Classes
    BaseColumnFormatRelation
  78. val provider: String

    Permalink
    Definition Classes
    JDBCAppendableRelation
  79. def refreshTableSchema(invalidateCached: Boolean, fetchFromStore: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    NativeTableRowLevelSecurityRelation
  80. lazy val region: LocalRegion

    Permalink
  81. def relationInfo: RelationInfo

    Permalink
  82. def relationInfoAndRegion: (RelationInfo, Option[LocalRegion])

    Permalink
    Attributes
    protected
    Definition Classes
    NativeTableRowLevelSecurityRelation
  83. def resetLogger(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  84. final def resolvedName: String

    Permalink
  85. lazy val rowInsertStr: String

    Permalink
    Definition Classes
    BaseColumnFormatRelation
  86. def scanTable(tableName: String, requiredColumns: Array[String], filters: Array[Expression], _ignore: () ⇒ Int): (RDD[Any], Array[Int])

    Permalink
  87. def schema: StructType

    Permalink
    Definition Classes
    NativeTableRowLevelSecurityRelation → BaseRelation
  88. val schemaExtensions: String

    Permalink
    Definition Classes
    BaseColumnFormatRelation
  89. lazy val schemaName: String

    Permalink
  90. def sizeInBytes: Long

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

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

    Permalink
    Definition Classes
    AnyRef
  93. val table: String

    Permalink

    Name of this table as stored in catalog.

    Name of this table as stored in catalog.

    Definition Classes
    JDBCAppendableRelationNativeTableRelation
  94. lazy val tableName: String

    Permalink
  95. def toString(): String

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

    Permalink

    Truncate the table represented by this relation.

    Truncate the table represented by this relation.

    Definition Classes
    BaseColumnFormatRelationDestroyRelation
  97. def unhandledFilters(filters: Seq[Expression]): Seq[Expression]

    Permalink

    Returns the list of Expressions that this datasource may not be able to handle.

    Returns the list of Expressions that this datasource may not be able to handle. By default, this function will return all filters, as it is always safe to double evaluate an Expression.

    Definition Classes
    BaseColumnFormatRelationPrunedUnsafeFilteredScan
  98. def unhandledFilters(filters: Array[Filter]): Array[Filter]

    Permalink
    Definition Classes
    BaseRelation
  99. val userSchema: StructType

    Permalink
    Definition Classes
    JDBCAppendableRelation
  100. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  103. def withKeyColumns(relation: LogicalRelation, keyColumns: Seq[String]): LogicalRelation

    Permalink

    If required inject the key columns in the original relation.

    If required inject the key columns in the original relation.

    Definition Classes
    ColumnFormatRelationMutableRelation
  104. def withTableWriteLock(f: () ⇒ SparkPlan): SparkPlan

    Permalink
    Definition Classes
    BaseColumnFormatRelation
  105. def withoutUserSchema: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    BaseColumnFormatRelationNativeTableRowLevelSecurityRelation

Inherited from BulkPutRelation

Inherited from BaseColumnFormatRelation

Inherited from MutableRelation

Inherited from RowInsertableRelation

Inherited from PartitionedDataSourceScan

Inherited from JDBCAppendableRelation

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from Serializable

Inherited from RowLevelSecurityRelation

Inherited from Logging

Inherited from IndexableRelation

Inherited from PlanInsertableRelation

Inherited from NativeTableRelation

Inherited from DestroyRelation

Inherited from InsertableRelation

Inherited from PrunedUnsafeFilteredScan

Inherited from BaseRelation

Inherited from AnyRef

Inherited from Any

Ungrouped