Class PlannerExternalQueryOperation
- java.lang.Object
-
- org.apache.flink.table.calcite.bridge.PlannerExternalQueryOperation
-
- All Implemented Interfaces:
Operation
,QueryOperation
@Internal public class PlannerExternalQueryOperation extends Object implements QueryOperation
Wrapper for valid logical plans and resolved schema generated by Planner. It's mainly used by pluggable dialect which will generate Calcite RelNode in planning phase.
-
-
Constructor Summary
Constructors Constructor Description PlannerExternalQueryOperation(org.apache.calcite.rel.RelNode relNode, ResolvedSchema resolvedSchema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(QueryOperationVisitor<T> visitor)
String
asSummaryString()
Returns a string that summarizes this operation for printing to a console.org.apache.calcite.rel.RelNode
getCalciteTree()
List<QueryOperation>
getChildren()
ResolvedSchema
getResolvedSchema()
Resolved schema of this operation.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.table.operations.QueryOperation
asSerializableString
-
-
-
-
Constructor Detail
-
PlannerExternalQueryOperation
public PlannerExternalQueryOperation(org.apache.calcite.rel.RelNode relNode, ResolvedSchema resolvedSchema)
-
-
Method Detail
-
getCalciteTree
public org.apache.calcite.rel.RelNode getCalciteTree()
-
getResolvedSchema
public ResolvedSchema getResolvedSchema()
Description copied from interface:QueryOperation
Resolved schema of this operation.- Specified by:
getResolvedSchema
in interfaceQueryOperation
-
getChildren
public List<QueryOperation> getChildren()
- Specified by:
getChildren
in interfaceQueryOperation
-
accept
public <T> T accept(QueryOperationVisitor<T> visitor)
- Specified by:
accept
in interfaceQueryOperation
-
asSummaryString
public String asSummaryString()
Description copied from interface:Operation
Returns a string that summarizes this operation for printing to a console. An implementation might skip very specific properties.- Specified by:
asSummaryString
in interfaceOperation
- Returns:
- summary string of this operation for debugging purposes
-
-