public class ExplainCommand extends SparkPlan implements LeafNode, Command, scala.Product, scala.Serializable
Note that this command takes in a logical plan, runs the optimizer on the logical plan (but do NOT actually execute it).
:: DeveloperApi ::
Constructor and Description |
---|
ExplainCommand(org.apache.spark.sql.catalyst.plans.logical.LogicalPlan logicalPlan,
scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Attribute> output,
boolean extended,
SQLContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
extended() |
org.apache.spark.sql.catalyst.plans.logical.LogicalPlan |
logicalPlan() |
scala.collection.immutable.List<SQLContext> |
otherCopyArgs() |
scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Attribute> |
output() |
codegenEnabled, execute, executeCollect, makeCopy, outputPartitioning, requiredChildDistribution
expressions, inputSet, missingInput, org$apache$spark$sql$catalyst$plans$QueryPlan$$transformExpressionDown$1, org$apache$spark$sql$catalyst$plans$QueryPlan$$transformExpressionUp$1, outputSet, printSchema, references, schema, schemaString, simpleString, statePrefix, transformAllExpressions, transformExpressions, transformExpressionsDown, transformExpressionsUp
apply, argString, asCode, children, collect, fastEquals, flatMap, foreach, generateTreeString, getNodeNumbered, map, mapChildren, nodeName, numberedTreeString, stringArgs, toString, transform, transformChildrenDown, transformChildrenUp, transformDown, transformUp, treeString, withNewChildren
execute, executeCollect
productArity, productElement, productIterator, productPrefix
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public ExplainCommand(org.apache.spark.sql.catalyst.plans.logical.LogicalPlan logicalPlan, scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Attribute> output, boolean extended, SQLContext context)
public org.apache.spark.sql.catalyst.plans.logical.LogicalPlan logicalPlan()
public scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Attribute> output()
output
in class org.apache.spark.sql.catalyst.plans.QueryPlan<SparkPlan>
public boolean extended()
public scala.collection.immutable.List<SQLContext> otherCopyArgs()