protected class SQLContext.SparkPlanner
extends org.apache.spark.sql.execution.SparkStrategies
org.apache.spark.sql.execution.SparkStrategies.Aggregation$, org.apache.spark.sql.execution.SparkStrategies.BasicOperators$, org.apache.spark.sql.execution.SparkStrategies.BroadcastNestedLoopJoin$, org.apache.spark.sql.execution.SparkStrategies.CanBroadcast$, org.apache.spark.sql.execution.SparkStrategies.CartesianProduct$, org.apache.spark.sql.execution.SparkStrategies.DDLStrategy$, org.apache.spark.sql.execution.SparkStrategies.EquiJoinSelection$, org.apache.spark.sql.execution.SparkStrategies.HashAggregation$, org.apache.spark.sql.execution.SparkStrategies.InMemoryScans$, org.apache.spark.sql.execution.SparkStrategies.LeftSemiJoin$, org.apache.spark.sql.execution.SparkStrategies.TakeOrderedAndProject$
Constructor and Description |
---|
SQLContext.SparkPlanner() |
Modifier and Type | Method and Description |
---|---|
boolean |
codegenEnabled() |
int |
numPartitions() |
org.apache.spark.sql.execution.SparkPlan |
pruneFilterProject(scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.NamedExpression> projectList,
scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression> filterPredicates,
scala.Function1<scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression>,scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression>> prunePushedDownFilters,
scala.Function1<scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Attribute>,org.apache.spark.sql.execution.SparkPlan> scanBuilder) |
SparkContext |
sparkContext() |
SQLContext |
sqlContext() |
scala.collection.Seq<org.apache.spark.sql.catalyst.planning.GenericStrategy<org.apache.spark.sql.execution.SparkPlan>> |
strategies() |
boolean |
unsafeEnabled() |
public SparkContext sparkContext()
public SQLContext sqlContext()
public boolean codegenEnabled()
public boolean unsafeEnabled()
public int numPartitions()
public scala.collection.Seq<org.apache.spark.sql.catalyst.planning.GenericStrategy<org.apache.spark.sql.execution.SparkPlan>> strategies()
strategies
in class org.apache.spark.sql.catalyst.planning.QueryPlanner<org.apache.spark.sql.execution.SparkPlan>
public org.apache.spark.sql.execution.SparkPlan pruneFilterProject(scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.NamedExpression> projectList, scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression> filterPredicates, scala.Function1<scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression>,scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression>> prunePushedDownFilters, scala.Function1<scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Attribute>,org.apache.spark.sql.execution.SparkPlan> scanBuilder)