Class PersistedView

Object
org.apache.spark.sql.pipelines.graph.PersistedView
All Implemented Interfaces:
Serializable, GraphElement, View, scala.Equals, scala.Product

public class PersistedView extends Object implements View, scala.Product, Serializable
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

    Constructors
    Constructor
    Description
    PersistedView(org.apache.spark.sql.catalyst.TableIdentifier identifier, scala.collection.immutable.Map<String,String> properties, scala.Option<String> comment, QueryOrigin origin)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract static R
    apply(T1 v1, T2 v2, T3 v3, T4 v4)
     
    scala.Option<String>
    User-specified comment that can be placed on the View.
    org.apache.spark.sql.catalyst.TableIdentifier
    Returns the unique identifier for this View.
    Contains provenance to tie back this GraphElement to the user code that defined it.
    scala.collection.immutable.Map<String,String>
    Properties of this view
    static String
     

    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

      public static String toString()
    • identifier

      public org.apache.spark.sql.catalyst.TableIdentifier identifier()
      Description copied from interface: View
      Returns the unique identifier for this View.
      Specified by:
      identifier in interface GraphElement
      Specified by:
      identifier in interface View
    • properties

      public scala.collection.immutable.Map<String,String> properties()
      Description copied from interface: View
      Properties of this view
      Specified by:
      properties in interface View
    • comment

      public scala.Option<String> comment()
      Description copied from interface: View
      User-specified comment that can be placed on the View.
      Specified by:
      comment in interface View
    • origin

      public QueryOrigin 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 this GraphElement is copied or converted to a different type, then this origin must be copied as is.

      Specified by:
      origin in interface GraphElement
      Returns:
      (undocumented)