Packages

case class TableDesc(fieldName: String, fieldExtractor: String, columnDesc: Option[ColumnDesc] = None, actionTypeDesc: Option[ActionTypeDesc] = None, tableTypeDesc: Option[TableTypeDesc] = None, catalogDesc: Option[CatalogDesc] = None, isInput: Boolean = false, setCurrentDatabaseIfMissing: Boolean = false) extends Descriptor with Product with Serializable

Table Descriptor

fieldName

the field name or method name of this table field

fieldExtractor

the key of a TableExtractor instance

columnDesc

optional ColumnDesc instance if columns field are specified

actionTypeDesc

optional ActionTypeDesc indicates the action type

tableTypeDesc

optional TableTypeDesc indicates the table type

catalogDesc

optional CatalogDesc instance if a catalog field is specified, the catalog will respect the one resolved from fieldExtractor first

isInput

read or write

setCurrentDatabaseIfMissing

whether to use current database if the database field is missing

Linear Supertypes
Serializable, Serializable, Product, Equals, Descriptor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TableDesc
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Descriptor
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TableDesc(fieldName: String, fieldExtractor: String, columnDesc: Option[ColumnDesc] = None, actionTypeDesc: Option[ActionTypeDesc] = None, tableTypeDesc: Option[TableTypeDesc] = None, catalogDesc: Option[CatalogDesc] = None, isInput: Boolean = false, setCurrentDatabaseIfMissing: Boolean = false)

    fieldName

    the field name or method name of this table field

    fieldExtractor

    the key of a TableExtractor instance

    columnDesc

    optional ColumnDesc instance if columns field are specified

    actionTypeDesc

    optional ActionTypeDesc indicates the action type

    tableTypeDesc

    optional TableTypeDesc indicates the table type

    catalogDesc

    optional CatalogDesc instance if a catalog field is specified, the catalog will respect the one resolved from fieldExtractor first

    isInput

    read or write

    setCurrentDatabaseIfMissing

    whether to use current database if the database field is missing

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val actionTypeDesc: Option[ActionTypeDesc]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val catalogDesc: Option[CatalogDesc]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. val columnDesc: Option[ColumnDesc]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def error(v: AnyRef, e: Throwable): String
    Definition Classes
    Descriptor
  11. def extract(v: AnyRef, spark: SparkSession): Option[Table]
  12. def extract(v: AnyRef): Option[Table]

    Apply the field Extractor to the field value to extract key information we want to represents a table, column list, etc.

    Apply the field Extractor to the field value to extract key information we want to represents a table, column list, etc.

    Definition Classes
    TableDescDescriptor
  13. val fieldExtractor: String

    The key that points the Extractor to for the field, which extracts key information we want to represents a table, column list, etc.

    The key that points the Extractor to for the field, which extracts key information we want to represents a table, column list, etc.

    Definition Classes
    TableDescDescriptor
  14. val fieldName: String

    Describes the field name, such as a table field name in the spark logical plan.

    Describes the field name, such as a table field name in the spark logical plan.

    returns

    the database object field name

    Definition Classes
    TableDescDescriptor
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. val isInput: Boolean
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. val setCurrentDatabaseIfMissing: Boolean
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. val tableTypeDesc: Option[TableTypeDesc]
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Descriptor

Inherited from AnyRef

Inherited from Any

Ungrouped