Uses of Class
org.apache.calcite.util.ImmutableIntList
-
Packages that use ImmutableIntList 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.jdbc JDBC driver for Calcite.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.mutable Defines mutable relational expressions.org.apache.calcite.rel.rules Provides a core set of planner rules.org.apache.calcite.schema Schema SPI.org.apache.calcite.schema.impl Utilities to help implement Calcite's SPIs.org.apache.calcite.sql.validate SQL validation.org.apache.calcite.util Provides utility classes. -
-
Uses of ImmutableIntList in org.apache.calcite.adapter.enumerable
Methods in org.apache.calcite.adapter.enumerable with parameters of type ImmutableIntList Modifier and Type Method Description static EnumerableJoin
EnumerableJoin. create(RelNode left, RelNode right, RexNode condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys, java.util.Set<CorrelationId> variablesSet, JoinRelType joinType)
Creates an EnumerableJoin.static EnumerableJoin
EnumerableJoin. create(RelNode left, RelNode right, RexNode condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys, JoinRelType joinType, java.util.Set<java.lang.String> variablesStopped)
Deprecated.static EnumerableMergeJoin
EnumerableMergeJoin. create(RelNode left, RelNode right, RexLiteral condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys, JoinRelType joinType)
static EnumerableSemiJoin
EnumerableSemiJoin. create(RelNode left, RelNode right, RexNode condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys)
Creates an EnumerableSemiJoin.Constructors in org.apache.calcite.adapter.enumerable with parameters of type ImmutableIntList Constructor Description EnumerableJoin(RelOptCluster cluster, RelTraitSet traits, RelNode left, RelNode right, RexNode condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys, java.util.Set<CorrelationId> variablesSet, JoinRelType joinType)
Creates an EnumerableJoin.EnumerableJoin(RelOptCluster cluster, RelTraitSet traits, RelNode left, RelNode right, RexNode condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys, JoinRelType joinType, java.util.Set<java.lang.String> variablesStopped)
Deprecated.EnumerableMergeJoin(RelOptCluster cluster, RelTraitSet traits, RelNode left, RelNode right, RexNode condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys, java.util.Set<CorrelationId> variablesSet, JoinRelType joinType)
EnumerableMergeJoin(RelOptCluster cluster, RelTraitSet traits, RelNode left, RelNode right, RexNode condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys, JoinRelType joinType, java.util.Set<java.lang.String> variablesStopped)
Deprecated.EnumerableSemiJoin(RelOptCluster cluster, RelTraitSet traits, RelNode left, RelNode right, RexNode condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys)
Creates an EnumerableSemiJoin. -
Uses of ImmutableIntList in org.apache.calcite.interpreter
Fields in org.apache.calcite.interpreter declared as ImmutableIntList Modifier and Type Field Description ImmutableIntList
Bindables.BindableTableScan. projects
Methods in org.apache.calcite.interpreter with parameters of type ImmutableIntList Modifier and Type Method Description (package private) static TableScanNode
TableScanNode. create(Compiler compiler, TableScan rel, com.google.common.collect.ImmutableList<RexNode> filters, ImmutableIntList projects)
Creates a TableScanNode.private static TableScanNode
TableScanNode. createEnumerable(Compiler compiler, TableScan rel, Enumerable<Row> enumerable, ImmutableIntList acceptedProjects, java.util.List<RexNode> rejectedFilters, ImmutableIntList rejectedProjects)
private static TableScanNode
TableScanNode. createFilterable(Compiler compiler, TableScan rel, com.google.common.collect.ImmutableList<RexNode> filters, ImmutableIntList projects, FilterableTable filterableTable)
private static TableScanNode
TableScanNode. createProjectableFilterable(Compiler compiler, TableScan rel, com.google.common.collect.ImmutableList<RexNode> filters, ImmutableIntList projects, ProjectableFilterableTable pfTable)
private static TableScanNode
TableScanNode. createQueryable(Compiler compiler, TableScan rel, com.google.common.collect.ImmutableList<RexNode> filters, ImmutableIntList projects, QueryableTable queryableTable)
private static TableScanNode
TableScanNode. createScannable(Compiler compiler, TableScan rel, com.google.common.collect.ImmutableList<RexNode> filters, ImmutableIntList projects, ScannableTable scannableTable)
Constructors in org.apache.calcite.interpreter with parameters of type ImmutableIntList Constructor Description BindableTableScan(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, com.google.common.collect.ImmutableList<RexNode> filters, ImmutableIntList projects)
Creates a BindableTableScan. -
Uses of ImmutableIntList in org.apache.calcite.jdbc
Fields in org.apache.calcite.jdbc declared as ImmutableIntList Modifier and Type Field Description ImmutableIntList
CalcitePrepare.AnalyzeViewResult. columnMapping
Constructors in org.apache.calcite.jdbc with parameters of type ImmutableIntList Constructor Description AnalyzeViewResult(CalcitePrepareImpl prepare, SqlValidator validator, java.lang.String sql, SqlNode sqlNode, RelDataType rowType, RelRoot root, Table table, com.google.common.collect.ImmutableList<java.lang.String> tablePath, RexNode constraint, ImmutableIntList columnMapping, boolean modifiable)
-
Uses of ImmutableIntList in org.apache.calcite.rel
Fields in org.apache.calcite.rel declared as ImmutableIntList Modifier and Type Field Description private static ImmutableIntList
RelDistributions. EMPTY
private ImmutableIntList
RelDistributions.RelDistributionImpl. keys
Methods in org.apache.calcite.rel with parameters of type ImmutableIntList Modifier and Type Method Description static boolean
RelCollations. contains(java.util.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.Constructors in org.apache.calcite.rel with parameters of type ImmutableIntList Constructor Description RelDistributionImpl(RelDistribution.Type type, ImmutableIntList keys)
-
Uses of ImmutableIntList in org.apache.calcite.rel.core
Fields in org.apache.calcite.rel.core declared as ImmutableIntList Modifier and Type Field Description ImmutableIntList
EquiJoin. leftKeys
ImmutableIntList
JoinInfo. leftKeys
ImmutableIntList
EquiJoin. rightKeys
ImmutableIntList
JoinInfo. rightKeys
Methods in org.apache.calcite.rel.core that return ImmutableIntList Modifier and Type Method Description ImmutableIntList
EquiJoin. getLeftKeys()
static ImmutableIntList
Window. getProjectOrdinals(java.util.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.Methods in org.apache.calcite.rel.core that return types with arguments of type ImmutableIntList Modifier and Type Method Description java.util.List<ImmutableIntList>
JoinInfo. keys()
Methods in org.apache.calcite.rel.core with parameters of type ImmutableIntList Modifier and Type Method Description static SemiJoin
SemiJoin. create(RelNode left, RelNode right, RexNode condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys)
Creates a SemiJoin.static JoinInfo
JoinInfo. of(ImmutableIntList leftKeys, ImmutableIntList rightKeys)
Creates an equi-join.Constructors in org.apache.calcite.rel.core with parameters of type ImmutableIntList Constructor Description EquiJoin(RelOptCluster cluster, RelTraitSet traits, RelNode left, RelNode right, RexNode condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys, java.util.Set<CorrelationId> variablesSet, JoinRelType joinType)
Creates an EquiJoin.EquiJoin(RelOptCluster cluster, RelTraitSet traits, RelNode left, RelNode right, RexNode condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys, JoinRelType joinType, java.util.Set<java.lang.String> variablesStopped)
Deprecated.EquiJoinInfo(ImmutableIntList leftKeys, ImmutableIntList rightKeys)
JoinInfo(ImmutableIntList leftKeys, ImmutableIntList rightKeys)
Creates a JoinInfo.NonEquiJoinInfo(ImmutableIntList leftKeys, ImmutableIntList rightKeys, RexNode remaining)
SemiJoin(RelOptCluster cluster, RelTraitSet traitSet, RelNode left, RelNode right, RexNode condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys)
Creates a SemiJoin. -
Uses of ImmutableIntList in org.apache.calcite.rel.metadata
Methods in org.apache.calcite.rel.metadata with parameters of type ImmutableIntList Modifier and Type Method Description static java.util.List<RelCollation>
RelMdCollation. mergeJoin(RelMetadataQuery mq, RelNode left, RelNode right, ImmutableIntList leftKeys, ImmutableIntList rightKeys)
Helper method to determine aJoin
's collation assuming that it uses a merge-join algorithm. -
Uses of ImmutableIntList in org.apache.calcite.rel.mutable
Fields in org.apache.calcite.rel.mutable declared as ImmutableIntList Modifier and Type Field Description ImmutableIntList
MutableSemiJoin. leftKeys
ImmutableIntList
MutableSemiJoin. rightKeys
Methods in org.apache.calcite.rel.mutable with parameters of type ImmutableIntList Modifier and Type Method Description static MutableSemiJoin
MutableSemiJoin. of(RelDataType rowType, MutableRel left, MutableRel right, RexNode condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys)
Creates a MutableSemiJoin.Constructors in org.apache.calcite.rel.mutable with parameters of type ImmutableIntList Constructor Description MutableSemiJoin(RelDataType rowType, MutableRel left, MutableRel right, RexNode condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys)
-
Uses of ImmutableIntList in org.apache.calcite.rel.rules
Fields in org.apache.calcite.rel.rules with type parameters of type ImmutableIntList Modifier and Type Field Description com.google.common.collect.ImmutableMap<java.lang.Integer,ImmutableIntList>
MultiJoin. joinFieldRefCountsMap
Methods in org.apache.calcite.rel.rules that return types with arguments of type ImmutableIntList Modifier and Type Method Description private com.google.common.collect.ImmutableMap<java.lang.Integer,ImmutableIntList>
JoinToMultiJoinRule. addOnJoinFieldRefCounts(java.util.List<RelNode> multiJoinInputs, int nTotalFields, RexNode joinCondition, java.util.List<int[]> origJoinFieldRefCounts)
Adds on to the existing join condition reference counts the references from the new join condition.com.google.common.collect.ImmutableMap<java.lang.Integer,ImmutableIntList>
MultiJoin. getJoinFieldRefCountsMap()
Methods in org.apache.calcite.rel.rules with parameters of type ImmutableIntList Modifier and Type Method Description private LoptJoinTree
LoptOptimizeJoinRule. createReplacementJoin(RelBuilder relBuilder, LoptMultiJoin multiJoin, LoptSemiJoinOptimizer semiJoinOpt, LoptJoinTree currJoinTree, int leftIdx, int factorToAdd, ImmutableIntList newKeys, java.lang.Integer[] replacementKeys, java.util.List<RexNode> filtersToAdd)
Creates a replacement join, projecting either dummy columns or replacement keys from the factor that doesn't actually need to be joined.private RexNode
AggregateReduceFunctionsRule. getRegrCountRexNode(Aggregate oldAggRel, AggregateCall oldCall, java.util.List<AggregateCall> newCalls, java.util.Map<AggregateCall,RexNode> aggCallMapping, ImmutableIntList argOrdinals, com.google.common.collect.ImmutableList<RelDataType> operandTypes, int filterArg)
Constructors in org.apache.calcite.rel.rules with parameters of type ImmutableIntList Constructor Description EquiJoin(RelOptCluster cluster, RelTraitSet traits, RelNode left, RelNode right, RexNode condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys, JoinRelType joinType, java.util.Set<java.lang.String> variablesStopped)
Deprecated.Constructor parameters in org.apache.calcite.rel.rules with type arguments of type ImmutableIntList Constructor Description MultiJoin(RelOptCluster cluster, java.util.List<RelNode> inputs, RexNode joinFilter, RelDataType rowType, boolean isFullOuterJoin, java.util.List<RexNode> outerJoinConditions, java.util.List<JoinRelType> joinTypes, java.util.List<ImmutableBitSet> projFields, com.google.common.collect.ImmutableMap<java.lang.Integer,ImmutableIntList> joinFieldRefCountsMap, RexNode postJoinFilter)
Constructs a MultiJoin. -
Uses of ImmutableIntList in org.apache.calcite.schema
Methods in org.apache.calcite.schema that return ImmutableIntList Modifier and Type Method Description ImmutableIntList
ModifiableView. getColumnMapping()
Returns the column mapping onto another table. -
Uses of ImmutableIntList in org.apache.calcite.schema.impl
Fields in org.apache.calcite.schema.impl declared as ImmutableIntList Modifier and Type Field Description private ImmutableIntList
ModifiableViewTable. columnMapping
ImmutableIntList
StarTable. fieldCounts
Number of fields in each table's row type.Methods in org.apache.calcite.schema.impl that return ImmutableIntList Modifier and Type Method Description ImmutableIntList
ModifiableViewTable. getColumnMapping()
private static ImmutableIntList
ModifiableViewTable. getNewColumnMapping(Table underlying, ImmutableIntList oldColumnMapping, java.util.List<RelDataTypeField> extendedColumns, RelDataTypeFactory typeFactory)
Creates a mapping from the view index to the index in the underlying table.Methods in org.apache.calcite.schema.impl with parameters of type ImmutableIntList Modifier and Type Method Description protected ModifiableViewTable
ModifiableViewTable. extend(Table extendedTable, RelProtoDataType protoRowType, ImmutableIntList newColumnMapping)
private static ImmutableIntList
ModifiableViewTable. getNewColumnMapping(Table underlying, ImmutableIntList oldColumnMapping, java.util.List<RelDataTypeField> extendedColumns, RelDataTypeFactory typeFactory)
Creates a mapping from the view index to the index in the underlying table.Constructors in org.apache.calcite.schema.impl with parameters of type ImmutableIntList Constructor Description ModifiableViewTable(java.lang.reflect.Type elementType, RelProtoDataType rowType, java.lang.String viewSql, java.util.List<java.lang.String> schemaPath, java.util.List<java.lang.String> viewPath, Table table, Path tablePath, RexNode constraint, ImmutableIntList columnMapping)
Creates a ModifiableViewTable. -
Uses of ImmutableIntList in org.apache.calcite.sql.validate
Fields in org.apache.calcite.sql.validate with type parameters of type ImmutableIntList Modifier and Type Field Description (package private) java.util.List<ImmutableIntList>
SqlValidatorImpl.Permute. sources
-
Uses of ImmutableIntList in org.apache.calcite.util
Subclasses of ImmutableIntList in org.apache.calcite.util Modifier and Type Class Description private static class
ImmutableIntList.EmptyImmutableIntList
Special sub-class ofImmutableIntList
that is always empty and has only one instance.Fields in org.apache.calcite.util declared as ImmutableIntList Modifier and Type Field Description private static ImmutableIntList
ImmutableIntList. EMPTY
Methods in org.apache.calcite.util that return ImmutableIntList Modifier and Type Method Description ImmutableIntList
ImmutableIntList. append(int element)
Returns a copy of this list with one element added.ImmutableIntList
ImmutableIntList. append(java.lang.Integer e)
ImmutableIntList
ImmutableIntList. appendAll(java.lang.Iterable<java.lang.Integer> list)
Returns a copy of this list with all of the given integers added.ImmutableIntList
IntList. asImmutable()
Deprecated.private static ImmutableIntList
ImmutableIntList. copyFromCollection(java.util.Collection<? extends java.lang.Number> list)
static ImmutableIntList
ImmutableIntList. copyOf(java.lang.Iterable<? extends java.lang.Number> list)
Creates an ImmutableIntList from an iterable ofNumber
.static ImmutableIntList
ImmutableIntList. copyOf(java.lang.Number... numbers)
Creates an ImmutableIntList from an array ofNumber
.static ImmutableIntList
ImmutableIntList. copyOf(java.util.Iterator<? extends java.lang.Number> list)
Creates an ImmutableIntList from an iterator ofNumber
.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 ofint
.Methods in org.apache.calcite.util with parameters of type ImmutableIntList Modifier and Type Method Description ImmutableBitSet.Builder
ImmutableBitSet.Builder. addAll(ImmutableIntList integers)
Sets all bits in a given list ofint
s.static java.util.BitSet
BitSets. of(ImmutableIntList bits)
Creates a BitSet with given bits set.static ImmutableBitSet
ImmutableBitSet. of(ImmutableIntList bits)
Creates an ImmutableBitSet with given bits set.static void
BitSets. populate(java.util.BitSet bitSet, ImmutableIntList list)
Populates aBitSet
from anImmutableIntList
.
-