Packages

case class Table(identifier: TableIdentifier, specifiedSchema: Option[StructType], partitionCols: Option[Seq[String]], normalizedPath: Option[String], properties: Map[String, String] = Map.empty, comment: Option[String], baseOrigin: QueryOrigin, isStreamingTable: Boolean, format: Option[String]) extends TableInput with Output with Product with Serializable

A table representing a materialized dataset in a DataflowGraph.

identifier

The identifier of this table within the graph.

specifiedSchema

The user-specified schema for this table.

partitionCols

What columns the table should be partitioned by when materialized.

normalizedPath

Normalized storage location for the table based on the user-specified table path (if not defined, we will normalize a managed storage path for it).

properties

Table Properties to set in table metadata.

comment

User-specified comment that can be placed on the table.

isStreamingTable

if the table is a streaming table, as defined by the source code.

Source
elements.scala
Linear Supertypes
Serializable, Product, Equals, Output, TableInput, Input, GraphElement, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Table
  2. Serializable
  3. Product
  4. Equals
  5. Output
  6. TableInput
  7. Input
  8. GraphElement
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Table(identifier: TableIdentifier, specifiedSchema: Option[StructType], partitionCols: Option[Seq[String]], normalizedPath: Option[String], properties: Map[String, String] = Map.empty, comment: Option[String], baseOrigin: QueryOrigin, isStreamingTable: Boolean, format: Option[String])

    identifier

    The identifier of this table within the graph.

    specifiedSchema

    The user-specified schema for this table.

    partitionCols

    What columns the table should be partitioned by when materialized.

    normalizedPath

    Normalized storage location for the table based on the user-specified table path (if not defined, we will normalize a managed storage path for it).

    properties

    Table Properties to set in table metadata.

    comment

    User-specified comment that can be placed on the table.

    isStreamingTable

    if the table is a streaming table, as defined by the source code.

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val baseOrigin: QueryOrigin
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. val comment: Option[String]
  8. def datasetType: DatasetType

    Get the DatasetType of the table

  9. def displayName: String

    Returns a user-visible name for the element.

    Returns a user-visible name for the element.

    Definition Classes
    GraphElement
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. val format: Option[String]
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. val identifier: TableIdentifier

    Returns the unique identifier for this GraphElement.

    Returns the unique identifier for this GraphElement.

    Definition Classes
    TableGraphElement
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val isStreamingTable: Boolean
  16. def load(readOptions: InputReadOptions): classic.DataFrame

    Returns a DataFrame that is a result of loading data from this Input.

    Returns a DataFrame that is a result of loading data from this Input.

    readOptions

    Type of input. Used to determine streaming/batch

    returns

    Streaming or batch DataFrame of this Input's data.

    Definition Classes
    TableInput
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def normalized: Boolean

    Return whether the storage location for this Output has been normalized.

    Return whether the storage location for this Output has been normalized.

    Definition Classes
    Output
  19. val normalizedPath: Option[String]

    Normalized storage location used for storing materializations for this Output.

    Normalized storage location used for storing materializations for this Output. If None, it means this Output has not been normalized yet.

    Definition Classes
    TableOutput
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  22. val origin: QueryOrigin

    Contains provenance to tie back this GraphElement to the user code that defined it.

    Contains provenance to tie back this GraphElement to the user code that defined it.

    This must be set when a GraphElement is directly created by some user code. Subsequently, this initial origin must be propagated as is without modification. If this GraphElement is copied or converted to a different type, then this origin must be copied as is.

    Definition Classes
    TableGraphElement
  23. val partitionCols: Option[Seq[String]]
  24. def path: String

    Returns the normalized storage location to this Table.

    Returns the normalized storage location to this Table.

    Definition Classes
    TableOutput
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. val properties: Map[String, String]
  27. def spark: classic.SparkSession
    Attributes
    protected
    Definition Classes
    GraphElement
  28. val specifiedSchema: Option[StructType]

    The user-specified schema for this table.

    The user-specified schema for this table.

    Definition Classes
    TableTableInput
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Output

Inherited from TableInput

Inherited from Input

Inherited from GraphElement

Inherited from AnyRef

Inherited from Any

Ungrouped