Package org.apache.drill.exec.planner
Class DrillRelBuilder
java.lang.Object
org.apache.calcite.tools.RelBuilder
org.apache.drill.exec.planner.DrillRelBuilder
public class DrillRelBuilder
extends org.apache.calcite.tools.RelBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.calcite.tools.RelBuilder
org.apache.calcite.tools.RelBuilder.AggCall, org.apache.calcite.tools.RelBuilder.Config, org.apache.calcite.tools.RelBuilder.GroupKey, org.apache.calcite.tools.RelBuilder.OverCall
-
Field Summary
Fields inherited from class org.apache.calcite.tools.RelBuilder
cluster, relOptSchema
-
Constructor Summary
ModifierConstructorDescriptionprotected
DrillRelBuilder
(org.apache.calcite.plan.Context context, org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelOptSchema relOptSchema) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.tools.RelBuilder
empty()
Original methodRelBuilder.empty()
returns empty values rel.static org.apache.calcite.tools.RelBuilderFactory
Creates aRelBuilderFactory
that uses a given set of factories.static org.apache.calcite.tools.RelBuilderFactory
proto
(org.apache.calcite.plan.Context context) Creates aRelBuilderFactory
, a partially-created DrillRelBuilder.Methods inherited from class org.apache.calcite.tools.RelBuilder
adoptConvention, aggregate, aggregate, aggregate, aggregateCall, aggregateCall, aggregateCall, aggregateCall, aggregateCall, aggregateCall, aggregateCall, aggregateCall, aggregateCall, alias, all, and, and, antiJoin, antiJoin, arrayQuery, as, avg, avg, between, build, call, call, cast, cast, cast, clear, convert, correlate, correlate, count, count, count, count, countStar, create, currentRow, cursor, desc, distinct, dot, dot, equals, exchange, exists, field, field, field, field, field, field, field, fields, fields, fields, fields, fields, fields, fields, filter, filter, filter, filter, following, functionScan, functionScan, getCluster, getRelOptSchema, getRexBuilder, getScanFactory, getTypeFactory, greaterThan, greaterThanOrEqual, groupKey, groupKey, groupKey, groupKey, groupKey, groupKey, groupKey, groupKey, groupKey, groupKey, hints, hints, in, in, in, in, intersect, intersect, isDistinctFrom, isNotDistinctFrom, isNotNull, isNull, join, join, join, join, join, lessThan, lessThanOrEqual, let, limit, literal, mapQuery, match, max, max, min, min, minus, minus, multisetQuery, not, notEquals, nullsFirst, nullsLast, or, or, patternAlter, patternAlter, patternConcat, patternConcat, patternExclude, patternField, patternPermute, patternPermute, patternQuantify, patternQuantify, peek, peek, peek, permute, pivot, preceding, project, project, project, project, project, projectExcept, projectExcept, projectNamed, projectNamed, projectPlus, projectPlus, push, pushAll, rename, repeatUnion, repeatUnion, scalarQuery, scan, scan, semiJoin, semiJoin, size, snapshot, some, sort, sort, sort, sort, sortExchange, sortLimit, sortLimit, sortLimit, sum, sum, toString, transform, transientScan, transientScan, unboundedFollowing, unboundedPreceding, uncollect, union, union, unique, unpivot, values, values, values, values, variable, with, withPredicates, withSimplifier
-
Field Details
-
DISABLE_MERGE_PROJECT
public static final int DISABLE_MERGE_PROJECT- See Also:
-
-
Constructor Details
-
DrillRelBuilder
protected DrillRelBuilder(org.apache.calcite.plan.Context context, org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelOptSchema relOptSchema)
-
-
Method Details
-
empty
public org.apache.calcite.tools.RelBuilder empty()Original methodRelBuilder.empty()
returns empty values rel. In the order to preserve data row types, filter with false predicate is created.- Overrides:
empty
in classorg.apache.calcite.tools.RelBuilder
-
proto
public static org.apache.calcite.tools.RelBuilderFactory proto(org.apache.calcite.plan.Context context) Creates aRelBuilderFactory
, a partially-created DrillRelBuilder. Just add aRelOptCluster
and aRelOptSchema
-
proto
Creates aRelBuilderFactory
that uses a given set of factories.
-