public class FindLimit0Visitor
extends org.apache.calcite.rel.RelShuttleImpl
| Modifier and Type | Class and Description |
|---|---|
static class |
FindLimit0Visitor.RelDataTypeReader
Reader for column names and types.
|
| Modifier and Type | Method and Description |
|---|---|
static DrillRel |
addLimitOnTopOfLeafNodes(DrillRel rel) |
static boolean |
containsLimit0(org.apache.calcite.rel.RelNode rel)
Check if the root portion of the tree contains LIMIT(0).
|
static DrillRel |
getDirectScanRelIfFullySchemaed(org.apache.calcite.rel.RelNode rel)
If all field types of the given node are
recognized types and honored by execution, then this
method returns the tree: DrillDirectScanRel(field types). |
org.apache.calcite.rel.RelNode |
visit(org.apache.calcite.rel.logical.LogicalAggregate aggregate) |
org.apache.calcite.rel.RelNode |
visit(org.apache.calcite.rel.logical.LogicalIntersect intersect) |
org.apache.calcite.rel.RelNode |
visit(org.apache.calcite.rel.logical.LogicalJoin join) |
org.apache.calcite.rel.RelNode |
visit(org.apache.calcite.rel.logical.LogicalMinus minus) |
org.apache.calcite.rel.RelNode |
visit(org.apache.calcite.rel.logical.LogicalSort sort) |
org.apache.calcite.rel.RelNode |
visit(org.apache.calcite.rel.logical.LogicalUnion union) |
org.apache.calcite.rel.RelNode |
visit(org.apache.calcite.rel.RelNode other) |
public static DrillRel getDirectScanRelIfFullySchemaed(org.apache.calcite.rel.RelNode rel)
recognized types and honored by execution, then this
method returns the tree: DrillDirectScanRel(field types). Otherwise, the method returns null.rel - calcite logical rel treepublic static boolean containsLimit0(org.apache.calcite.rel.RelNode rel)
rel - rel node treepublic org.apache.calcite.rel.RelNode visit(org.apache.calcite.rel.logical.LogicalSort sort)
visit in interface org.apache.calcite.rel.RelShuttlevisit in class org.apache.calcite.rel.RelShuttleImplpublic org.apache.calcite.rel.RelNode visit(org.apache.calcite.rel.RelNode other)
visit in interface org.apache.calcite.rel.RelShuttlevisit in class org.apache.calcite.rel.RelShuttleImplpublic org.apache.calcite.rel.RelNode visit(org.apache.calcite.rel.logical.LogicalAggregate aggregate)
visit in interface org.apache.calcite.rel.RelShuttlevisit in class org.apache.calcite.rel.RelShuttleImplpublic org.apache.calcite.rel.RelNode visit(org.apache.calcite.rel.logical.LogicalIntersect intersect)
visit in interface org.apache.calcite.rel.RelShuttlevisit in class org.apache.calcite.rel.RelShuttleImplpublic org.apache.calcite.rel.RelNode visit(org.apache.calcite.rel.logical.LogicalJoin join)
visit in interface org.apache.calcite.rel.RelShuttlevisit in class org.apache.calcite.rel.RelShuttleImplpublic org.apache.calcite.rel.RelNode visit(org.apache.calcite.rel.logical.LogicalMinus minus)
visit in interface org.apache.calcite.rel.RelShuttlevisit in class org.apache.calcite.rel.RelShuttleImplpublic org.apache.calcite.rel.RelNode visit(org.apache.calcite.rel.logical.LogicalUnion union)
visit in interface org.apache.calcite.rel.RelShuttlevisit in class org.apache.calcite.rel.RelShuttleImplCopyright © 2021 The Apache Software Foundation. All rights reserved.