CreateTable

wvlet.airframe.sql.model.LogicalPlan$.CreateTable
case class CreateTable(table: QName, ifNotExists: Boolean, tableElems: Seq[TableElement], nodeLocation: Option[NodeLocation]) extends DDL

Attributes

Graph
Supertypes
trait Serializable
trait DDL
trait LeafPlan
trait SQLSig
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def sig(config: QuerySignatureConfig): String

Attributes

Definition Classes

Inherited methods

Return child expressions associated to this LogicalPlan node

Return child expressions associated to this LogicalPlan node

Attributes

Returns:

child expressions of this node

Inherited from:
LogicalPlan
override def children: Seq[LogicalPlan]

All child nodes of this plan node

All child nodes of this plan node

Attributes

Definition Classes
Inherited from:
LeafPlan
def collectExpressions(cond: PartialFunction[Expression, Boolean]): List[Expression]

Collect from all input expressions and report matching expressions

Collect from all input expressions and report matching expressions

Attributes

Inherited from:
LogicalPlan
override def inputAttributes: Seq[Attribute]

Attributes

Definition Classes
Inherited from:
LeafPlan

List all input expressions to the plan

List all input expressions to the plan

Attributes

Inherited from:
LogicalPlan

Attributes

Inherited from:
LogicalPlan
def modelName: String

Attributes

Inherited from:
LogicalPlan
override def outputAttributes: Seq[Attribute]

Attributes

Definition Classes
Inherited from:
DDL
def pp: String

Attributes

Inherited from:
LogicalPlan
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def resolvedChildren: Boolean

Attributes

Inherited from:
LogicalPlan
def transform(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan

Iterate through LogicalPlans and apply matching rules for transformation. The transformation will be applied to the current node as well.

Iterate through LogicalPlans and apply matching rules for transformation. The transformation will be applied to the current node as well.

Attributes

Inherited from:
LogicalPlan

Transform only child expressions

Transform only child expressions

Attributes

Inherited from:
LogicalPlan

Transform child node only once

Transform child node only once

Attributes

Inherited from:
LogicalPlan

Apply transformOnce for all child nodes.

Apply transformOnce for all child nodes.

Attributes

Inherited from:
LogicalPlan

Recursively transform all nested expressions

Recursively transform all nested expressions

Attributes

Inherited from:
LogicalPlan
def transformOnce(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan

Traverse the tree until finding the nodes matching the pattern. All nodes found from the root will be transformed, and no further recursive match will occur from the transformed nodes.

Traverse the tree until finding the nodes matching the pattern. All nodes found from the root will be transformed, and no further recursive match will occur from the transformed nodes.

If you want to continue the transformation for the child nodes, use transformChildren or transformChildrenOnce inside the rule.

Attributes

Inherited from:
LogicalPlan
def transformUp(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan

Attributes

Inherited from:
LogicalPlan

Depth-first transformation of expression

Depth-first transformation of expression

Attributes

Inherited from:
LogicalPlan
def traverse[U](rule: PartialFunction[LogicalPlan, U]): Unit

Recursively traverse plan nodes and apply the given function to LogicalPlan nodes

Recursively traverse plan nodes and apply the given function to LogicalPlan nodes

Attributes

Inherited from:
LogicalPlan
def traverseChildren[U](rule: PartialFunction[LogicalPlan, U]): Unit

Recursively traverse the child plan nodes and apply the given function to LogicalPlan nodes

Recursively traverse the child plan nodes and apply the given function to LogicalPlan nodes

Attributes

Inherited from:
LogicalPlan
def traverseChildrenOnce[U](rule: PartialFunction[LogicalPlan, U]): Unit

Recursively traverse the child plan nodes until the rule matches.

Recursively traverse the child plan nodes until the rule matches.

Attributes

Inherited from:
LogicalPlan
def traverseExpressions[U](rule: PartialFunction[Expression, U]): Unit

Attributes

Inherited from:
LogicalPlan
def traverseOnce[U](rule: PartialFunction[LogicalPlan, U]): Unit

Recursively traverse the plan nodes until the rule matches.

Recursively traverse the plan nodes until the rule matches.

Attributes

Inherited from:
LogicalPlan

Attributes

Inherited from:
LogicalPlan

Inherited fields

lazy val resolved: Boolean

Attributes

Inherited from:
LogicalPlan