Packages

c

org.apache.spark.sql.execution.command

DescribeQueryCommand

case class DescribeQueryCommand(queryText: String, plan: LogicalPlan) extends DescribeCommandBase with Product with Serializable

Command that looks like

DESCRIBE [QUERY] statement

Parameter 'statement' can be one of the following types : 1. SELECT statements 2. SELECT statements inside set operators (UNION, INTERSECT etc) 3. VALUES statement. 4. TABLE statement. Example : TABLE table_name 5. statements of the form 'FROM table SELECT *' 6. Multi select statements of the following form: select * from (from a select * select *) 7. Common table expressions (CTEs)

Linear Supertypes
Serializable, DescribeCommandBase, LeafRunnableCommand, LeafLike[LogicalPlan], RunnableCommand, Command, LogicalPlan, Logging, QueryPlanConstraints, ConstraintHelper, LogicalPlanDistinctKeys, LogicalPlanStats, AnalysisHelper, QueryPlan[LogicalPlan], SQLConfHelper, TreeNode[LogicalPlan], TreePatternBits, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DescribeQueryCommand
  2. Serializable
  3. DescribeCommandBase
  4. LeafRunnableCommand
  5. LeafLike
  6. RunnableCommand
  7. Command
  8. LogicalPlan
  9. Logging
  10. QueryPlanConstraints
  11. ConstraintHelper
  12. LogicalPlanDistinctKeys
  13. LogicalPlanStats
  14. AnalysisHelper
  15. QueryPlan
  16. SQLConfHelper
  17. TreeNode
  18. TreePatternBits
  19. Product
  20. Equals
  21. AnyRef
  22. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DescribeQueryCommand(queryText: String, plan: LogicalPlan)

Value Members

  1. lazy val allAttributes: AttributeSeq
    Definition Classes
    QueryPlan
  2. def analyzed: Boolean
    Definition Classes
    AnalysisHelper
  3. def apply(number: Int): TreeNode[_]
    Definition Classes
    TreeNode
  4. def argString(maxFields: Int): String
    Definition Classes
    TreeNode
  5. def asCode: String
    Definition Classes
    TreeNode
  6. final lazy val canonicalized: LogicalPlan
    Definition Classes
    QueryPlan
    Annotations
    @transient()
  7. final def children: Seq[LogicalPlan]
    Definition Classes
    LeafLike
  8. def childrenResolved: Boolean
    Definition Classes
    LogicalPlan
  9. def clone(): LogicalPlan
    Definition Classes
    AnalysisHelper → TreeNode → AnyRef
  10. def collect[B](pf: PartialFunction[LogicalPlan, B]): Seq[B]
    Definition Classes
    TreeNode
  11. def collectFirst[B](pf: PartialFunction[LogicalPlan, B]): Option[B]
    Definition Classes
    TreeNode
  12. def collectLeaves(): Seq[LogicalPlan]
    Definition Classes
    TreeNode
  13. def collectWithSubqueries[B](f: PartialFunction[LogicalPlan, B]): Seq[B]
    Definition Classes
    QueryPlan
  14. def conf: SQLConf
    Definition Classes
    SQLConfHelper
  15. lazy val constraints: ExpressionSet
    Definition Classes
    QueryPlanConstraints
  16. def constructIsNotNullConstraints(constraints: ExpressionSet, output: Seq[Attribute]): ExpressionSet
    Definition Classes
    ConstraintHelper
  17. final def containsAllPatterns(patterns: TreePattern*): Boolean
    Definition Classes
    TreePatternBits
  18. final def containsAnyPattern(patterns: TreePattern*): Boolean
    Definition Classes
    TreePatternBits
  19. lazy val containsChild: Set[TreeNode[_]]
    Definition Classes
    TreeNode
  20. final def containsPattern(t: TreePattern): Boolean
    Definition Classes
    TreePatternBits
    Annotations
    @inline()
  21. def copyTagsFrom(other: LogicalPlan): Unit
    Definition Classes
    TreeNode
  22. lazy val deterministic: Boolean
    Definition Classes
    QueryPlan
  23. lazy val distinctKeys: Set[ExpressionSet]
    Definition Classes
    LogicalPlanDistinctKeys
  24. def exists(f: (LogicalPlan) => Boolean): Boolean
    Definition Classes
    TreeNode
  25. final def expressions: Seq[Expression]
    Definition Classes
    QueryPlan
  26. def fastEquals(other: TreeNode[_]): Boolean
    Definition Classes
    TreeNode
  27. def find(f: (LogicalPlan) => Boolean): Option[LogicalPlan]
    Definition Classes
    TreeNode
  28. def flatMap[A](f: (LogicalPlan) => TraversableOnce[A]): Seq[A]
    Definition Classes
    TreeNode
  29. def foreach(f: (LogicalPlan) => Unit): Unit
    Definition Classes
    TreeNode
  30. def foreachUp(f: (LogicalPlan) => Unit): Unit
    Definition Classes
    TreeNode
  31. def generateTreeString(depth: Int, lastChildren: Seq[Boolean], append: (String) => Unit, verbose: Boolean, prefix: String, addSuffix: Boolean, maxFields: Int, printNodeId: Boolean, indent: Int): Unit
    Definition Classes
    TreeNode
  32. def getTagValue[T](tag: TreeNodeTag[T]): Option[T]
    Definition Classes
    TreeNode
  33. def hashCode(): Int
    Definition Classes
    TreeNode → AnyRef → Any
  34. def inferAdditionalConstraints(constraints: ExpressionSet): ExpressionSet
    Definition Classes
    ConstraintHelper
  35. def innerChildren: Seq[QueryPlan[_]]
    Definition Classes
    QueryPlan → TreeNode
  36. def inputSet: AttributeSet
    Definition Classes
    QueryPlan
  37. final def invalidateStatsCache(): Unit
    Definition Classes
    LogicalPlanStats
  38. def isStreaming: Boolean
    Definition Classes
    LogicalPlan
  39. def makeCopy(newArgs: Array[AnyRef]): LogicalPlan
    Definition Classes
    TreeNode
  40. def map[A](f: (LogicalPlan) => A): Seq[A]
    Definition Classes
    TreeNode
  41. final def mapChildren(f: (LogicalPlan) => LogicalPlan): LogicalPlan
    Definition Classes
    LeafLike
  42. def mapExpressions(f: (Expression) => Expression): DescribeQueryCommand.this.type
    Definition Classes
    QueryPlan
  43. def maxRows: Option[Long]
    Definition Classes
    LogicalPlan
  44. def maxRowsPerPartition: Option[Long]
    Definition Classes
    LogicalPlan
  45. def metadataOutput: Seq[Attribute]
    Definition Classes
    LogicalPlan
  46. lazy val metrics: Map[String, SQLMetric]
    Definition Classes
    RunnableCommand
  47. final def missingInput: AttributeSet
    Definition Classes
    QueryPlan
  48. def nodeName: String
    Definition Classes
    TreeNode
  49. final val nodePatterns: Seq[TreePattern]
    Definition Classes
    Command → TreeNode
  50. def numberedTreeString: String
    Definition Classes
    TreeNode
  51. val origin: Origin
    Definition Classes
    TreeNode
  52. val output: Seq[AttributeReference]
    Definition Classes
    DescribeQueryCommand → Command → QueryPlan
  53. def outputOrdering: Seq[SortOrder]
    Definition Classes
    LogicalPlan
  54. lazy val outputSet: AttributeSet
    Definition Classes
    QueryPlan
    Annotations
    @transient()
  55. def p(number: Int): LogicalPlan
    Definition Classes
    TreeNode
  56. val plan: LogicalPlan
  57. def prettyJson: String
    Definition Classes
    TreeNode
  58. def printSchema(): Unit
    Definition Classes
    QueryPlan
  59. def producedAttributes: AttributeSet
    Definition Classes
    Command → QueryPlan
  60. def productElementNames: Iterator[String]
    Definition Classes
    Product
  61. val queryText: String
  62. lazy val references: AttributeSet
    Definition Classes
    QueryPlan
    Annotations
    @transient()
  63. def refresh(): Unit
    Definition Classes
    LogicalPlan
  64. def resolve(nameParts: Seq[String], resolver: Resolver): Option[NamedExpression]
    Definition Classes
    LogicalPlan
  65. def resolve(schema: StructType, resolver: Resolver): Seq[Attribute]
    Definition Classes
    LogicalPlan
  66. def resolveChildren(nameParts: Seq[String], resolver: Resolver): Option[NamedExpression]
    Definition Classes
    LogicalPlan
  67. def resolveExpressions(r: PartialFunction[Expression, Expression]): LogicalPlan
    Definition Classes
    AnalysisHelper
  68. def resolveExpressionsWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): LogicalPlan
    Definition Classes
    AnalysisHelper
  69. def resolveOperators(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    AnalysisHelper
  70. def resolveOperatorsDown(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    AnalysisHelper
  71. def resolveOperatorsDownWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    AnalysisHelper
  72. def resolveOperatorsUp(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    AnalysisHelper
  73. def resolveOperatorsUpWithNewOutput(rule: PartialFunction[LogicalPlan, (LogicalPlan, Seq[(Attribute, Attribute)])]): LogicalPlan
    Definition Classes
    AnalysisHelper
  74. def resolveOperatorsUpWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    AnalysisHelper
  75. def resolveOperatorsWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    AnalysisHelper
  76. def resolveQuoted(name: String, resolver: Resolver): Option[NamedExpression]
    Definition Classes
    LogicalPlan
  77. lazy val resolved: Boolean
    Definition Classes
    LogicalPlan
  78. def rewriteAttrs(attrMap: AttributeMap[Attribute]): LogicalPlan
    Definition Classes
    QueryPlan
  79. def run(sparkSession: SparkSession): Seq[Row]
  80. def sameOutput(other: LogicalPlan): Boolean
    Definition Classes
    LogicalPlan
  81. final def sameResult(other: LogicalPlan): Boolean
    Definition Classes
    QueryPlan
  82. lazy val schema: StructType
    Definition Classes
    QueryPlan
  83. def schemaString: String
    Definition Classes
    QueryPlan
  84. final def semanticHash(): Int
    Definition Classes
    QueryPlan
  85. def setTagValue[T](tag: TreeNodeTag[T], value: T): Unit
    Definition Classes
    TreeNode
  86. def simpleString(maxFields: Int): String
    Definition Classes
    DescribeQueryCommand → QueryPlan → TreeNode
  87. def simpleStringWithNodeId(): String
    Definition Classes
    QueryPlan → TreeNode
  88. def stats: Statistics
    Definition Classes
    Command → LogicalPlanStats
  89. lazy val subqueries: Seq[LogicalPlan]
    Definition Classes
    QueryPlan
    Annotations
    @transient()
  90. def subqueriesAll: Seq[LogicalPlan]
    Definition Classes
    QueryPlan
  91. def toJSON: String
    Definition Classes
    TreeNode
  92. def toString(): String
    Definition Classes
    TreeNode → AnyRef → Any
  93. def transform(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    TreeNode
  94. def transformAllExpressions(rule: PartialFunction[Expression, Expression]): DescribeQueryCommand.this.type
    Definition Classes
    QueryPlan
  95. def transformAllExpressionsWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): DescribeQueryCommand.this.type
    Definition Classes
    AnalysisHelper → QueryPlan
  96. def transformDown(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    TreeNode
  97. def transformDownWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    AnalysisHelper → TreeNode
  98. def transformDownWithSubqueries(f: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    QueryPlan
  99. def transformDownWithSubqueriesAndPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(f: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    QueryPlan
  100. def transformExpressions(rule: PartialFunction[Expression, Expression]): DescribeQueryCommand.this.type
    Definition Classes
    QueryPlan
  101. def transformExpressionsDown(rule: PartialFunction[Expression, Expression]): DescribeQueryCommand.this.type
    Definition Classes
    QueryPlan
  102. def transformExpressionsDownWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): DescribeQueryCommand.this.type
    Definition Classes
    QueryPlan
  103. def transformExpressionsUp(rule: PartialFunction[Expression, Expression]): DescribeQueryCommand.this.type
    Definition Classes
    QueryPlan
  104. def transformExpressionsUpWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): DescribeQueryCommand.this.type
    Definition Classes
    QueryPlan
  105. def transformExpressionsWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): DescribeQueryCommand.this.type
    Definition Classes
    QueryPlan
  106. def transformUp(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    TreeNode
  107. def transformUpWithBeforeAndAfterRuleOnChildren(cond: (LogicalPlan) => Boolean, ruleId: RuleId)(rule: PartialFunction[(LogicalPlan, LogicalPlan), LogicalPlan]): LogicalPlan
    Definition Classes
    TreeNode
  108. def transformUpWithNewOutput(rule: PartialFunction[LogicalPlan, (LogicalPlan, Seq[(Attribute, Attribute)])], skipCond: (LogicalPlan) => Boolean, canGetOutput: (LogicalPlan) => Boolean): LogicalPlan
    Definition Classes
    AnalysisHelper → QueryPlan
  109. def transformUpWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    AnalysisHelper → TreeNode
  110. def transformUpWithSubqueries(f: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    QueryPlan
  111. def transformWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    TreeNode
  112. def transformWithSubqueries(f: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    QueryPlan
  113. lazy val treePatternBits: BitSet
    Definition Classes
    QueryPlan → TreeNode → TreePatternBits
  114. def treeString(append: (String) => Unit, verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean): Unit
    Definition Classes
    TreeNode
  115. final def treeString(verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean): String
    Definition Classes
    TreeNode
  116. final def treeString: String
    Definition Classes
    TreeNode
  117. def unsetTagValue[T](tag: TreeNodeTag[T]): Unit
    Definition Classes
    TreeNode
  118. def updateOuterReferencesInSubquery(plan: LogicalPlan, attrMap: AttributeMap[Attribute]): LogicalPlan
    Definition Classes
    AnalysisHelper → QueryPlan
  119. def verboseString(maxFields: Int): String
    Definition Classes
    QueryPlan → TreeNode
  120. def verboseStringWithOperatorId(): String
    Definition Classes
    QueryPlan
  121. def verboseStringWithSuffix(maxFields: Int): String
    Definition Classes
    LogicalPlan → TreeNode
  122. final def withNewChildren(newChildren: Seq[LogicalPlan]): LogicalPlan
    Definition Classes
    TreeNode
  123. final def withNewChildrenInternal(newChildren: IndexedSeq[LogicalPlan]): LogicalPlan
    Definition Classes
    LeafLike