Trait

org.apache.spark.sql.sources

NativeTableRowLevelSecurityRelation

Related Doc: package sources

Permalink

trait NativeTableRowLevelSecurityRelation extends BaseRelation with NativeTableRelation with RowLevelSecurityRelation

Annotations
@DeveloperApi()
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NativeTableRowLevelSecurityRelation
  2. RowLevelSecurityRelation
  3. NativeTableRelation
  4. DestroyRelation
  5. BaseRelation
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val connFactory: () ⇒ Connection

    Permalink
    Attributes
    protected
    Definition Classes
    NativeTableRelation
  2. abstract def connProperties: ConnectionProperties

    Permalink
    Definition Classes
    NativeTableRelation
  3. abstract def createActualTables(connection: Connection): Unit

    Permalink
    Attributes
    protected
  4. abstract 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
    DestroyRelation
  5. abstract def dialect: JdbcDialect

    Permalink
    Attributes
    protected
    Definition Classes
    NativeTableRelation
  6. abstract def isRowTable: Boolean

    Permalink
    Definition Classes
    NativeTableRelation
  7. abstract def resolvedName: String

    Permalink
    Definition Classes
    RowLevelSecurityRelation
  8. abstract def schemaName: String

    Permalink
    Definition Classes
    RowLevelSecurityRelation
  9. abstract def sqlContext: SQLContext

    Permalink
    Definition Classes
    BaseRelation
  10. abstract val table: String

    Permalink

    Name of this table as stored in catalog.

    Name of this table as stored in catalog.

    Definition Classes
    NativeTableRelation
  11. abstract def tableName: String

    Permalink
    Definition Classes
    RowLevelSecurityRelation
  12. abstract def truncate(): Unit

    Permalink

    Truncate the table represented by this relation.

    Truncate the table represented by this relation.

    Definition Classes
    DestroyRelation
  13. abstract def withoutUserSchema: Boolean

    Permalink
    Attributes
    protected

Concrete 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]
  5. var _schema: StructType

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

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def createTable(mode: SaveMode): Unit

    Permalink
  9. def enableOrDisableRowLevelSecurity(tableIdent: TableIdentifier, enableRowLevelSecurity: Boolean): Unit

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

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. 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
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isRowLevelSecurityEnabled: Boolean

    Permalink
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def needConversion: Boolean

    Permalink

    Whether does it need to convert the objects in Row to internal representation, for example: java.lang.String to UTF8String java.lang.Decimal to Decimal

    Whether does it need to convert the objects in Row to internal representation, for example: java.lang.String to UTF8String java.lang.Decimal to Decimal

    If needConversion is false, buildScan() should return an RDD of InternalRow

    Definition Classes
    BaseRelation
    Since

    1.4.0

    Note

    The internal representation is not stable across releases and thus data sources outside of Spark SQL should leave this as true.

  20. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  22. def refreshTableSchema(invalidateCached: Boolean, fetchFromStore: Boolean): Unit

    Permalink
    Attributes
    protected
  23. lazy val region: LocalRegion

    Permalink
  24. def relationInfo: RelationInfo

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

    Permalink
    Attributes
    protected
  26. def schema: StructType

    Permalink
  27. def sizeInBytes: Long

    Permalink

    Returns an estimated size of this relation in bytes.

    Returns an estimated size of this relation in bytes. This information is used by the planner to decide when it is safe to broadcast a relation and can be overridden by sources that know the size ahead of time. By default, the system will assume that tables are too large to broadcast. This method will be called multiple times during query planning and thus should not perform expensive operations for each invocation.

    Definition Classes
    BaseRelation
    Since

    1.3.0

    Note

    It is always better to overestimate size than underestimate, because underestimation could lead to execution plans that are suboptimal (i.e. broadcasting a very large table).

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. def unhandledFilters(filters: Array[Filter]): Array[Filter]

    Permalink

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

    Returns the list of Filters that this datasource may not be able to handle. These returned Filters will be evaluated by Spark SQL after data is output by a scan. By default, this function will return all filters, as it is always safe to double evaluate a Filter. However, specific implementations can override this function to avoid double filtering when they are capable of processing a filter internally.

    Definition Classes
    BaseRelation
    Since

    1.6.0

  31. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from RowLevelSecurityRelation

Inherited from NativeTableRelation

Inherited from DestroyRelation

Inherited from BaseRelation

Inherited from AnyRef

Inherited from Any

Ungrouped