| Package | Description |
|---|---|
| org.apache.calcite.adapter.enumerable |
Query optimizer rules for Java calling convention.
|
| org.apache.calcite.interpreter |
Provides an implementation of relational expressions using an interpreter.
|
| org.apache.calcite.rel |
Defines relational expressions.
|
| org.apache.calcite.rel.core |
Defines core 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.schema.impl |
Utilities to help implement Calcite's SPIs.
|
| org.apache.calcite.util |
Provides utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumerableMergeJoin |
EnumerableMergeJoin.create(RelNode left,
RelNode right,
RexLiteral condition,
ImmutableIntList leftKeys,
ImmutableIntList rightKeys,
JoinRelType joinType) |
static EnumerableJoin |
EnumerableJoin.create(RelNode left,
RelNode right,
RexNode condition,
ImmutableIntList leftKeys,
ImmutableIntList rightKeys,
JoinRelType joinType,
Set<String> variablesStopped)
Creates an EnumerableJoin.
|
| Modifier and Type | Field and Description |
|---|---|
ImmutableIntList |
Bindables.BindableTableScan.projects |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
RelCollations.contains(List<RelCollation> collations,
ImmutableIntList keys)
Returns whether one of a list of collations indicates that the collection
is sorted on the given list of keys.
|
| Modifier and Type | Field and Description |
|---|---|
ImmutableIntList |
EquiJoin.leftKeys |
ImmutableIntList |
JoinInfo.leftKeys |
ImmutableIntList |
EquiJoin.rightKeys |
ImmutableIntList |
JoinInfo.rightKeys |
| Modifier and Type | Method and Description |
|---|---|
ImmutableIntList |
EquiJoin.getLeftKeys() |
static ImmutableIntList |
Window.getProjectOrdinals(List<RexNode> exprs) |
ImmutableIntList |
EquiJoin.getRightKeys() |
ImmutableIntList |
TableScan.identity()
Returns an identity projection.
|
static ImmutableIntList |
TableScan.identity(RelOptTable table)
Returns an identity projection for the given table.
|
| Modifier and Type | Method and Description |
|---|---|
List<ImmutableIntList> |
JoinInfo.keys() |
| Modifier and Type | Method and Description |
|---|---|
static JoinInfo |
JoinInfo.of(ImmutableIntList leftKeys,
ImmutableIntList rightKeys)
Creates an equi-join.
|
| Constructor and Description |
|---|
EquiJoin(RelOptCluster cluster,
RelTraitSet traits,
RelNode left,
RelNode right,
RexNode condition,
ImmutableIntList leftKeys,
ImmutableIntList rightKeys,
JoinRelType joinType,
Set<String> variablesStopped)
Creates an EquiJoin.
|
JoinInfo(ImmutableIntList leftKeys,
ImmutableIntList rightKeys)
Creates a JoinInfo.
|
SemiJoin(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode left,
RelNode right,
RexNode condition,
ImmutableIntList leftKeys,
ImmutableIntList rightKeys)
Creates a SemiJoin.
|
| Modifier and Type | Method and Description |
|---|---|
static List<RelCollation> |
RelMdCollation.mergeJoin(RelNode left,
RelNode right,
ImmutableIntList leftKeys,
ImmutableIntList rightKeys)
Helper method to determine a
Join's collation assuming that it
uses a merge-join algorithm. |
| Modifier and Type | Field and Description |
|---|---|
com.google.common.collect.ImmutableMap<Integer,ImmutableIntList> |
MultiJoin.joinFieldRefCountsMap |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMap<Integer,ImmutableIntList> |
MultiJoin.getJoinFieldRefCountsMap() |
| Constructor and Description |
|---|
EquiJoin(RelOptCluster cluster,
RelTraitSet traits,
RelNode left,
RelNode right,
RexNode condition,
ImmutableIntList leftKeys,
ImmutableIntList rightKeys,
JoinRelType joinType,
Set<String> variablesStopped)
Deprecated.
|
| Constructor and Description |
|---|
MultiJoin(RelOptCluster cluster,
List<RelNode> inputs,
RexNode joinFilter,
RelDataType rowType,
boolean isFullOuterJoin,
List<RexNode> outerJoinConditions,
List<JoinRelType> joinTypes,
List<ImmutableBitSet> projFields,
com.google.common.collect.ImmutableMap<Integer,ImmutableIntList> joinFieldRefCountsMap,
RexNode postJoinFilter)
Constructs a MultiJoin.
|
| Modifier and Type | Field and Description |
|---|---|
ImmutableIntList |
StarTable.fieldCounts
Number of fields in each table's row type.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableIntList |
IntList.asImmutable() |
static ImmutableIntList |
ImmutableIntList.copyOf(Iterable<? extends Number> list)
Creates an ImmutableIntList from an iterable of
Number. |
static ImmutableIntList |
ImmutableIntList.copyOf(Iterator<? extends Number> list)
Creates an ImmutableIntList from an iterator of
Number. |
static ImmutableIntList |
ImmutableIntList.copyOf(Number... numbers)
Creates an ImmutableIntList from an array of
Number. |
static ImmutableIntList |
ImmutableIntList.identity(int count)
Returns the identity list [0, ..., count - 1].
|
static ImmutableIntList |
ImmutableIntList.of()
Returns an empty ImmutableIntList.
|
static ImmutableIntList |
ImmutableIntList.of(int... ints)
Creates an ImmutableIntList from an array of
int. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableBitSet.Builder |
ImmutableBitSet.Builder.addAll(ImmutableIntList integers)
Sets all bits in a given list of
ints. |
static ImmutableBitSet |
ImmutableBitSet.of(ImmutableIntList bits)
Creates an ImmutableBitSet with given bits set.
|
static BitSet |
BitSets.of(ImmutableIntList bits)
Creates a BitSet with given bits set.
|
static void |
BitSets.populate(BitSet bitSet,
ImmutableIntList list)
Populates a
BitSet from an
ImmutableIntList. |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.