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
    Modifier and Type
    Field
    Description
    static final int
     

    Fields inherited from class org.apache.calcite.tools.RelBuilder

    cluster, relOptSchema
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    DrillRelBuilder(org.apache.calcite.plan.Context context, org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelOptSchema relOptSchema)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.calcite.tools.RelBuilder
    Original method RelBuilder.empty() returns empty values rel.
    static org.apache.calcite.tools.RelBuilderFactory
    proto(Object... factories)
    Creates a RelBuilderFactory that uses a given set of factories.
    static org.apache.calcite.tools.RelBuilderFactory
    proto(org.apache.calcite.plan.Context context)
    Creates a RelBuilderFactory, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • 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 method RelBuilder.empty() returns empty values rel. In the order to preserve data row types, filter with false predicate is created.
      Overrides:
      empty in class org.apache.calcite.tools.RelBuilder
    • proto

      public static org.apache.calcite.tools.RelBuilderFactory proto(org.apache.calcite.plan.Context context)
      Creates a RelBuilderFactory, a partially-created DrillRelBuilder. Just add a RelOptCluster and a RelOptSchema
    • proto

      public static org.apache.calcite.tools.RelBuilderFactory proto(Object... factories)
      Creates a RelBuilderFactory that uses a given set of factories.