public class HiveRelBuilder
extends org.apache.calcite.tools.RelBuilder
RelBuilder
does not make possible anything that you could not
also accomplish by calling the factory methods of the particular relational
expression. But it makes common tasks more straightforward and concise.
It is not thread-safe.
Modifier and Type | Method and Description |
---|---|
static org.apache.calcite.tools.RelBuilder |
create(org.apache.calcite.tools.FrameworkConfig config)
Creates a RelBuilder.
|
org.apache.calcite.tools.RelBuilder |
empty()
Empty relationship can be expressed in many different ways, e.g.,
filter(cond=false), empty LogicalValues(), etc.
|
org.apache.calcite.tools.RelBuilder |
filter(Iterable<? extends org.apache.calcite.rex.RexNode> predicates) |
static org.apache.calcite.tools.RelBuilderFactory |
proto(org.apache.calcite.plan.Context context)
Creates a
RelBuilderFactory , a partially-created RelBuilder. |
static org.apache.calcite.tools.RelBuilderFactory |
proto(Object... factories)
Creates a
RelBuilderFactory that uses a given set of factories. |
aggregate, aggregate, aggregate, aggregateCall, aggregateCall, alias, and, and, as, avg, build, call, call, cast, cast, cast, clear, convert, count, countStar, desc, distinct, dot, dot, equals, field, field, field, field, field, fields, fields, fields, fields, fields, fields, filter, getAlias, getRexBuilder, getTypeFactory, groupKey, groupKey, groupKey, groupKey, groupKey, groupKey, groupKey, intersect, intersect, isNotNull, isNull, join, join, join, join, join, limit, literal, max, min, minus, not, nullsFirst, nullsLast, or, or, peek, peek, peek, permute, project, project, project, project, push, pushAll, scan, scan, semiJoin, semiJoin, sort, sort, sort, sortLimit, sortLimit, sum, union, union, values, values, values, values
public static org.apache.calcite.tools.RelBuilder create(org.apache.calcite.tools.FrameworkConfig config)
public static org.apache.calcite.tools.RelBuilderFactory proto(org.apache.calcite.plan.Context context)
RelBuilderFactory
, a partially-created RelBuilder.
Just add a RelOptCluster
and a RelOptSchema
public static org.apache.calcite.tools.RelBuilderFactory proto(Object... factories)
RelBuilderFactory
that uses a given set of factories.public org.apache.calcite.tools.RelBuilder filter(Iterable<? extends org.apache.calcite.rex.RexNode> predicates)
filter
in class org.apache.calcite.tools.RelBuilder
public org.apache.calcite.tools.RelBuilder empty()
empty
in class org.apache.calcite.tools.RelBuilder
Copyright © 2017 The Apache Software Foundation. All rights reserved.