Package | Description |
---|---|
org.apache.calcite.tools |
Provides utility classes.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
RelBuilder.GroupKeyImpl
Implementation of
RelBuilder.GroupKey . |
Modifier and Type | Method and Description |
---|---|
RelBuilder.GroupKey |
RelBuilder.GroupKey.alias(java.lang.String alias)
Assigns an alias to this group key.
|
RelBuilder.GroupKey |
RelBuilder.GroupKeyImpl.alias(java.lang.String alias) |
private RelBuilder.GroupKey |
RelBuilder.groupKey_(ImmutableBitSet groupSet,
com.google.common.collect.ImmutableList<ImmutableBitSet> groupSets) |
private RelBuilder.GroupKey |
RelBuilder.groupKey_(java.lang.Iterable<? extends RexNode> nodes,
java.lang.Iterable<? extends java.lang.Iterable<? extends RexNode>> nodeLists) |
RelBuilder.GroupKey |
RelBuilder.groupKey()
Creates an empty group key.
|
RelBuilder.GroupKey |
RelBuilder.groupKey(ImmutableBitSet groupSet)
Creates a group key, identified by field positions
in the underlying relational expression.
|
RelBuilder.GroupKey |
RelBuilder.groupKey(ImmutableBitSet groupSet,
boolean indicator,
com.google.common.collect.ImmutableList<ImmutableBitSet> groupSets)
Deprecated.
|
RelBuilder.GroupKey |
RelBuilder.groupKey(ImmutableBitSet groupSet,
com.google.common.collect.ImmutableList<ImmutableBitSet> groupSets)
|
RelBuilder.GroupKey |
RelBuilder.groupKey(ImmutableBitSet groupSet,
java.lang.Iterable<? extends ImmutableBitSet> groupSets)
Creates a group key with grouping sets, both identified by field positions
in the underlying relational expression.
|
RelBuilder.GroupKey |
RelBuilder.groupKey(int... fieldOrdinals)
Creates a group key of fields identified by ordinal.
|
RelBuilder.GroupKey |
RelBuilder.groupKey(java.lang.Iterable<? extends RexNode> nodes)
Creates a group key.
|
RelBuilder.GroupKey |
RelBuilder.groupKey(java.lang.Iterable<? extends RexNode> nodes,
boolean indicator,
java.lang.Iterable<? extends java.lang.Iterable<? extends RexNode>> nodeLists)
Deprecated.
Now that indicator is deprecated, use
RelBuilder.groupKey(Iterable, Iterable) , which has the same behavior as
calling this method with indicator = false . |
RelBuilder.GroupKey |
RelBuilder.groupKey(java.lang.Iterable<? extends RexNode> nodes,
java.lang.Iterable<? extends java.lang.Iterable<? extends RexNode>> nodeLists)
Creates a group key with grouping sets.
|
RelBuilder.GroupKey |
RelBuilder.groupKey(RexNode... nodes)
Creates a group key.
|
RelBuilder.GroupKey |
RelBuilder.groupKey(java.lang.String... fieldNames)
Creates a group key of fields identified by name.
|
Modifier and Type | Method and Description |
---|---|
RelBuilder |
RelBuilder.aggregate(RelBuilder.GroupKey groupKey,
java.lang.Iterable<RelBuilder.AggCall> aggCalls)
Creates an
Aggregate with a list of
calls. |
RelBuilder |
RelBuilder.aggregate(RelBuilder.GroupKey groupKey,
java.util.List<AggregateCall> aggregateCalls) |
RelBuilder |
RelBuilder.aggregate(RelBuilder.GroupKey groupKey,
RelBuilder.AggCall... aggCalls)
Creates an
Aggregate with an array of
calls. |
PigRelBuilder |
PigRelBuilder.group(PigRelBuilder.GroupOption option,
PigRelBuilder.Partitioner partitioner,
int parallel,
RelBuilder.GroupKey... groupKeys)
Groups the data in one or more relations.
|
Modifier and Type | Method and Description |
---|---|
PigRelBuilder |
PigRelBuilder.group(PigRelBuilder.GroupOption option,
PigRelBuilder.Partitioner partitioner,
int parallel,
java.lang.Iterable<? extends RelBuilder.GroupKey> groupKeys) |
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.