Class TemporaryView
Object
org.apache.spark.sql.pipelines.graph.TemporaryView
- All Implemented Interfaces:
Serializable,GraphElement,View,scala.Equals,scala.Product
Representing a temporary
View in a DataflowGraph.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTemporaryView(org.apache.spark.sql.catalyst.TableIdentifier identifier, scala.collection.immutable.Map<String, String> properties, scala.Option<String> sqlText, scala.Option<String> comment, QueryOrigin origin) -
Method Summary
Modifier and TypeMethodDescriptionabstract static Rapply(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5) scala.Option<String>comment()User-specified comment that can be placed on theView.org.apache.spark.sql.catalyst.TableIdentifierReturns the unique identifier for thisView.origin()Contains provenance to tie back this GraphElement to the user code that defined it.Properties of this viewscala.Option<String>sqlText()(SQL-specific) The raw query that defines theView.static StringtoString()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface org.apache.spark.sql.pipelines.graph.GraphElement
displayName, sparkMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
TemporaryView
public TemporaryView(org.apache.spark.sql.catalyst.TableIdentifier identifier, scala.collection.immutable.Map<String, String> properties, scala.Option<String> sqlText, scala.Option<String> comment, QueryOrigin origin)
-
-
Method Details
-
apply
public abstract static R apply(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5) -
toString
-
identifier
public org.apache.spark.sql.catalyst.TableIdentifier identifier()Description copied from interface:ViewReturns the unique identifier for thisView.- Specified by:
identifierin interfaceGraphElement- Specified by:
identifierin interfaceView
-
properties
Description copied from interface:ViewProperties of this view- Specified by:
propertiesin interfaceView
-
sqlText
Description copied from interface:View(SQL-specific) The raw query that defines theView. -
comment
Description copied from interface:ViewUser-specified comment that can be placed on theView. -
origin
Description 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 interfaceGraphElement- Returns:
- (undocumented)
-