Class PersistedView
Object
org.apache.spark.sql.pipelines.graph.PersistedView
- All Implemented Interfaces:
Serializable
,GraphElement
,View
,scala.Equals
,scala.Product
Representing a persisted
View
in a DataflowGraph
.
param: identifier The identifier of this view within the graph. param: properties Properties of the view param: comment when defining a view
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPersistedView
(org.apache.spark.sql.catalyst.TableIdentifier identifier, scala.collection.immutable.Map<String, String> properties, scala.Option<String> comment, QueryOrigin origin) -
Method Summary
Modifier and TypeMethodDescriptionabstract static R
apply
(T1 v1, T2 v2, T3 v3, T4 v4) scala.Option<String>
comment()
User-specified comment that can be placed on theView
.org.apache.spark.sql.catalyst.TableIdentifier
Returns the unique identifier for thisView
.origin()
Contains provenance to tie back this GraphElement to the user code that defined it.Properties of this viewstatic String
toString()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface org.apache.spark.sql.pipelines.graph.GraphElement
displayName, spark
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
PersistedView
public PersistedView(org.apache.spark.sql.catalyst.TableIdentifier identifier, scala.collection.immutable.Map<String, String> properties, scala.Option<String> comment, QueryOrigin origin)
-
-
Method Details
-
apply
public abstract static R apply(T1 v1, T2 v2, T3 v3, T4 v4) -
toString
-
identifier
public org.apache.spark.sql.catalyst.TableIdentifier identifier()Description copied from interface:View
Returns the unique identifier for thisView
.- Specified by:
identifier
in interfaceGraphElement
- Specified by:
identifier
in interfaceView
-
properties
Description copied from interface:View
Properties of this view- Specified by:
properties
in interfaceView
-
comment
Description copied from interface:View
User-specified comment that can be placed on theView
. -
origin
Description copied from interface:GraphElement
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 thisGraphElement
is copied or converted to a different type, then this origin must be copied as is.- Specified by:
origin
in interfaceGraphElement
- Returns:
- (undocumented)
-