 
      
    
      if true then aggregation is done partially on local data without shuffling to
               ensure all values where groupingExpressions are equal are present.
expressions that are evaluated to determine grouping.
expressions that are computed for each group.
the input data source.
 
      
    
      An aggregate that needs to be computed for each row in a group.
An aggregate that needs to be computed for each row in a group.
Unbound version of this aggregate, used for result substitution.
A bound copy of this aggregate used to create a new aggregation buffer.
An attribute used to refer to the result of this aggregate in the final output.
 
      
    
       
      
    
       
      
    
       
      
    
      expressions that are computed for each group.
 
      
    
       
      
    
       
      
    
       
      
    
       
      
    
      Specifies whether this operator is capable of processing Java-object-based Rows (i.e.
Specifies whether this operator is capable of processing Java-object-based Rows (i.e. rows that are not UnsafeRows).
 
      
    
      Specifies whether this operator is capable of processing UnsafeRows
Specifies whether this operator is capable of processing UnsafeRows
 
      
    
      the input data source.
the input data source.
 
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
      Overridden by concrete implementations of SparkPlan.
 
      
    
      Overridden by concrete implementations of SparkPlan.
Overridden by concrete implementations of SparkPlan. It is guaranteed to run before any
execute of SparkPlan. This is helpful if we want to set up some state before executing the
query, e.g., BroadcastHashJoin uses it to broadcast asynchronously.
Note: the prepare method has already walked down the tree, so the implementation doesn't need to call children's prepare methods.
 
      
    
       
      
    
      Returns the result of this query as an RDD[InternalRow] by delegating to doExecute after adding query plan information to created RDDs for visualization.
Returns the result of this query as an RDD[InternalRow] by delegating to doExecute after adding query plan information to created RDDs for visualization. Concrete implementations of SparkPlan should override doExecute instead.
 
      
    
      Runs this query returning the result as an array.
Runs this query returning the result as an array.
 
      
    
      Runs this query returning the first n rows as an array.
Runs this query returning the first n rows as an array.
This is modeled after RDD.take but never runs any job locally on the driver.
 
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
      expressions that are evaluated to determine grouping.
 
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
      Overridden make copy also propogates sqlContext to copied plan.
Overridden make copy also propogates sqlContext to copied plan.
 
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
      Creates a row ordering for the given schema, in natural ascending order.
Creates a row ordering for the given schema, in natural ascending order.
 
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
      Specifies how data is ordered in each partition.
Specifies how data is ordered in each partition.
 
      
    
      Specifies how data is partitioned across different nodes in the cluster.
Specifies how data is partitioned across different nodes in the cluster.
 
      
    
       
      
    
      Specifies whether this operator outputs UnsafeRows
Specifies whether this operator outputs UnsafeRows
 
      
    
      if true then aggregation is done partially on local data without shuffling to
               ensure all values where groupingExpressions are equal are present.
 
      
    
      Prepare a SparkPlan for execution.
Prepare a SparkPlan for execution. It's idempotent.
 
      
    
       
      
    
       
      
    
      Specifies any partition requirements on the input data for this operator.
 
      
    
      Specifies sort order for each partition requirements on the input data for this operator.
Specifies sort order for each partition requirements on the input data for this operator.
 
      
    
       
      
    
       
      
    
       
      
    
       
      
    
      A handle to the SQL Context that was used to create this plan.
A handle to the SQL Context that was used to create this plan. Since many operators need access to the sqlContext for RDD operations or configuration this field is automatically populated by the query planning infrastructure.
 
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
      
:: DeveloperApi :: Groups input data by
groupingExpressionsand computes theaggregateExpressionsfor each group.if true then aggregation is done partially on local data without shuffling to ensure all values where
groupingExpressionsare equal are present.expressions that are evaluated to determine grouping.
expressions that are computed for each group.
the input data source.