| Package | Description |
|---|---|
| org.apache.calcite.plan |
Defines interfaces for constructing rule-based optimizers of
relational expressions.
|
| org.apache.calcite.rel.metadata |
Defines metadata interfaces and utilities for relational
expressions.
|
| org.apache.calcite.rel.rules |
Provides a core set of planner rules.
|
| org.apache.calcite.util |
Provides utility classes.
|
| Modifier and Type | Field and Description |
|---|---|
ImmutableBitSet.Builder |
RelOptUtil.InputFinder.inputBitSet |
| Modifier and Type | Method and Description |
|---|---|
static void |
RelMdUtil.setAggChildKeys(ImmutableBitSet groupKey,
Aggregate aggRel,
ImmutableBitSet.Builder childKey)
Takes a bitmap representing a set of input references and extracts the
ones that reference the group by columns in an aggregate.
|
static void |
RelMdUtil.setLeftRightBitmaps(ImmutableBitSet groupKey,
ImmutableBitSet.Builder leftMask,
ImmutableBitSet.Builder rightMask,
int nFieldsOnLeft)
Separates a bit-mask representing a join into masks representing the left
and right inputs into the join.
|
static void |
RelMdUtil.splitCols(List<RexNode> projExprs,
ImmutableBitSet groupKey,
ImmutableBitSet.Builder baseCols,
ImmutableBitSet.Builder projCols)
Forms two bitmaps by splitting the columns in a bitmap according to
whether or not the column references the child input or is an expression
|
| Modifier and Type | Method and Description |
|---|---|
void |
LoptMultiJoin.getChildFactors(LoptJoinTree joinTree,
ImmutableBitSet.Builder childFactors)
Deprecated.
|
private void |
LoptOptimizeJoinRule.setFactorJoinKeys(LoptMultiJoin multiJoin,
List<RexNode> filters,
ImmutableBitSet joinFactors,
int factorStart,
int nFields,
ImmutableBitSet.Builder joinKeys)
Locates from a list of filters those that correspond to a particular join
tree.
|
private void |
LoptOptimizeJoinRule.setJoinKey(ImmutableBitSet.Builder joinKeys,
ImmutableBitSet.Builder otherJoinKeys,
int ref1,
int ref2,
int firstFieldNum,
int lastFieldNum,
boolean swap)
Sets a join key if only one of the specified input references corresponds
to a specified factor as determined by its field numbers.
|
| Modifier and Type | Class and Description |
|---|---|
private static class |
ImmutableBitSet.Rebuilder
Refinement of
ImmutableBitSet.Builder that remembers its original
ImmutableBitSet and tries to use it
when ImmutableBitSet.Rebuilder.build() is called. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableBitSet.Builder |
ImmutableBitSet.Builder.addAll(ImmutableBitSet bitSet)
Sets all bits in a given bit set.
|
ImmutableBitSet.Builder |
ImmutableBitSet.Builder.addAll(ImmutableIntList integers)
Sets all bits in a given list of
ints. |
ImmutableBitSet.Builder |
ImmutableBitSet.Builder.addAll(Iterable<Integer> integers)
Sets all bits in a given list of bits.
|
static ImmutableBitSet.Builder |
ImmutableBitSet.builder()
Creates an empty Builder.
|
static ImmutableBitSet.Builder |
ImmutableBitSet.builder(ImmutableBitSet bitSet)
Deprecated.
|
ImmutableBitSet.Builder |
ImmutableBitSet.Builder.clear(int bit) |
ImmutableBitSet.Builder |
ImmutableBitSet.rebuild()
Creates a Builder whose initial contents are the same as this
ImmutableBitSet.
|
ImmutableBitSet.Builder |
ImmutableBitSet.Builder.removeAll(ImmutableBitSet bitSet)
Clears all bits in a given bit set.
|
ImmutableBitSet.Builder |
ImmutableBitSet.Builder.set(int bit) |
ImmutableBitSet.Builder |
ImmutableBitSet.Builder.set(int fromIndex,
int toIndex)
Sets a range of bits, from
from to to - 1. |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.