Class Table
- All Implemented Interfaces:
- Serializable,- Dataset,- GraphElement,- Input,- Output,- TableInput,- scala.Equals,- scala.Product
DataflowGraph.
 param: identifier The identifier of this table within the graph. param: specifiedSchema The user-specified schema for this table. param: partitionCols What columns the table should be partitioned by when materialized. param: 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). param: properties Table Properties to set in table metadata. param: comment User-specified comment that can be placed on the table. param: isStreamingTable if the table is a streaming table, as defined by the source code.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionTable(org.apache.spark.sql.catalyst.TableIdentifier identifier, scala.Option<StructType> specifiedSchema, scala.Option<scala.collection.immutable.Seq<String>> partitionCols, scala.Option<String> normalizedPath, scala.collection.immutable.Map<String, String> properties, scala.Option<String> comment, QueryOrigin origin, boolean isStreamingTable, scala.Option<String> format) 
- 
Method SummaryModifier and TypeMethodDescriptionabstract static Rapply(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9) scala.Option<String>comment()Get the DatasetType of the tablescala.Option<String>format()org.apache.spark.sql.catalyst.TableIdentifierReturns the unique identifier for thisGraphElement.booleanorg.apache.spark.sql.classic.Dataset<Row>load(InputReadOptions readOptions) Returns a DataFrame that is a result of loading data from thisInput.scala.Option<String>Normalized storage location used for storing materializations for thisOutput.origin()Contains provenance to tie back this GraphElement to the user code that defined it.scala.Option<scala.collection.immutable.Seq<String>>path()Returns the normalized storage location to thisTable.scala.Option<StructType>The user-specified schema for this table.static StringtoString()Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.spark.sql.pipelines.graph.DatasetnormalizedMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface org.apache.spark.sql.pipelines.graph.GraphElementdisplayName, sparkMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefix
- 
Constructor Details- 
Tablepublic Table(org.apache.spark.sql.catalyst.TableIdentifier identifier, scala.Option<StructType> specifiedSchema, scala.Option<scala.collection.immutable.Seq<String>> partitionCols, scala.Option<String> normalizedPath, scala.collection.immutable.Map<String, String> properties, scala.Option<String> comment, QueryOrigin origin, boolean isStreamingTable, scala.Option<String> format) 
 
- 
- 
Method Details- 
applypublic abstract static R apply(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9) 
- 
toString
- 
identifierpublic org.apache.spark.sql.catalyst.TableIdentifier identifier()Description copied from interface:GraphElementReturns the unique identifier for thisGraphElement.- Specified by:
- identifierin interface- GraphElement
 
- 
specifiedSchemaDescription copied from interface:TableInputThe user-specified schema for this table.- Specified by:
- specifiedSchemain interface- TableInput
 
- 
partitionCols
- 
normalizedPathDescription copied from interface:DatasetNormalized storage location used for storing materializations for thisOutput. If None, it means thisOutputhas not been normalized yet.- Specified by:
- normalizedPathin interface- Dataset
- Returns:
- (undocumented)
 
- 
properties
- 
comment
- 
originDescription copied from interface:GraphElementContains provenance to tie back this GraphElement to the user code that defined it.This must be set when a GraphElementis directly created by some user code. Subsequently, this initial origin must be propagated as is without modification. If thisGraphElementis copied or converted to a different type, then this origin must be copied as is.- Specified by:
- originin interface- GraphElement
- Returns:
- (undocumented)
 
- 
isStreamingTablepublic boolean isStreamingTable()
- 
format
- 
loadDescription copied from interface:InputReturns a DataFrame that is a result of loading data from thisInput.
- 
pathReturns the normalized storage location to thisTable.
- 
datasetTypeGet the DatasetType of the table- Returns:
- (undocumented)
 
 
-