| 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(String alias)
Assigns an alias to this group key.
|
RelBuilder.GroupKey |
RelBuilder.GroupKeyImpl.alias(String alias) |
private RelBuilder.GroupKey |
RelBuilder.groupKey_(ImmutableBitSet groupSet,
boolean indicator,
com.google.common.collect.ImmutableList<ImmutableBitSet> groupSets) |
RelBuilder.GroupKey |
RelBuilder.groupKey()
Creates an empty group key.
|
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)
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(Iterable<? extends RexNode> nodes)
Creates a group key.
|
RelBuilder.GroupKey |
RelBuilder.groupKey(Iterable<? extends RexNode> nodes,
boolean indicator,
Iterable<? extends 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(String... fieldNames)
Creates a group key of fields identified by name.
|
| Modifier and Type | Method and Description |
|---|---|
RelBuilder |
RelBuilder.aggregate(RelBuilder.GroupKey groupKey,
Iterable<RelBuilder.AggCall> aggCalls)
Creates an
Aggregate with a list of
calls. |
RelBuilder |
RelBuilder.aggregate(RelBuilder.GroupKey groupKey,
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,
Iterable<? extends RelBuilder.GroupKey> groupKeys) |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.