| Package | Description |
|---|---|
| org.apache.calcite.adapter.clone |
Provides utility classes.
|
| org.apache.calcite.adapter.elasticsearch |
Base classes for a query provider based on an Elasticsearch DB.
|
| org.apache.calcite.adapter.enumerable |
Query optimizer rules for Java calling convention.
|
| org.apache.calcite.adapter.jdbc |
Query provider based on a JDBC data source.
|
| org.apache.calcite.interpreter |
Provides an implementation of relational expressions using an interpreter.
|
| org.apache.calcite.jdbc |
JDBC driver for Calcite.
|
| org.apache.calcite.plan |
Defines interfaces for constructing rule-based optimizers of
relational expressions.
|
| org.apache.calcite.prepare |
Preparation of queries (parsing, planning and implementation).
|
| org.apache.calcite.rel |
Defines relational expressions.
|
| org.apache.calcite.rel.core |
Defines core relational expressions.
|
| org.apache.calcite.rel.externalize |
Facilities to externalize
RelNodes to and from
XML and JSON format. |
| org.apache.calcite.rel.logical |
Defines logical 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.rex |
Provides a language for representing row-expressions.
|
| org.apache.calcite.schema |
Schema SPI.
|
| org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
| org.apache.calcite.tools |
Provides utility classes.
|
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.collect.ImmutableList<RelCollation> |
ArrayTable.Content.collations |
| Modifier and Type | Method and Description |
|---|---|
static <T> Table |
CloneSchema.createCloneTable(JavaTypeFactory typeFactory,
RelProtoDataType protoRowType,
List<RelCollation> collations,
List<org.apache.calcite.avatica.ColumnMetaData.Rep> repList,
Enumerable<T> source) |
| Constructor and Description |
|---|
Content(List<? extends ArrayTable.Column> columns,
int size,
Iterable<? extends RelCollation> collations) |
| Modifier and Type | Method and Description |
|---|---|
Sort |
ElasticsearchSort.copy(RelTraitSet traitSet,
RelNode relNode,
RelCollation relCollation,
RexNode offset,
RexNode fetch) |
| Constructor and Description |
|---|
ElasticsearchSort(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
RelCollation collation,
RexNode offset,
RexNode fetch) |
| Modifier and Type | Method and Description |
|---|---|
EnumerableSort |
EnumerableSort.copy(RelTraitSet traitSet,
RelNode newInput,
RelCollation newCollation,
RexNode offset,
RexNode fetch) |
static EnumerableSort |
EnumerableSort.create(RelNode child,
RelCollation collation,
RexNode offset,
RexNode fetch)
Creates an EnumerableSort.
|
Expression |
PhysType.generateComparator(RelCollation collation)
Returns a comparator.
|
Expression |
PhysTypeImpl.generateComparator(RelCollation collation) |
| Constructor and Description |
|---|
EnumerableSort(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RelCollation collation,
RexNode offset,
RexNode fetch)
Creates an EnumerableSort.
|
| Constructor and Description |
|---|
EnumerableCalc(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RexProgram program,
List<RelCollation> collationList)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
JdbcRules.JdbcSort |
JdbcRules.JdbcSort.copy(RelTraitSet traitSet,
RelNode newInput,
RelCollation newCollation,
RexNode offset,
RexNode fetch) |
| Constructor and Description |
|---|
JdbcSort(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RelCollation collation,
RexNode offset,
RexNode fetch) |
| Modifier and Type | Method and Description |
|---|---|
Bindables.BindableSort |
Bindables.BindableSort.copy(RelTraitSet traitSet,
RelNode newInput,
RelCollation newCollation,
RexNode offset,
RexNode fetch) |
| Constructor and Description |
|---|
BindableSort(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RelCollation collation,
RexNode offset,
RexNode fetch) |
| Modifier and Type | Field and Description |
|---|---|
private List<RelCollation> |
CalcitePrepare.CalciteSignature.collationList |
| Modifier and Type | Method and Description |
|---|---|
List<RelCollation> |
CalcitePrepare.CalciteSignature.getCollationList() |
| Constructor and Description |
|---|
CalciteSignature(String sql,
List<org.apache.calcite.avatica.AvaticaParameter> parameterList,
Map<String,Object> internalParameters,
RelDataType rowType,
List<org.apache.calcite.avatica.ColumnMetaData> columns,
org.apache.calcite.avatica.Meta.CursorFactory cursorFactory,
CalciteSchema rootSchema,
List<RelCollation> collationList,
long maxRowCount,
Bindable<T> bindable)
Deprecated.
|
CalciteSignature(String sql,
List<org.apache.calcite.avatica.AvaticaParameter> parameterList,
Map<String,Object> internalParameters,
RelDataType rowType,
List<org.apache.calcite.avatica.ColumnMetaData> columns,
org.apache.calcite.avatica.Meta.CursorFactory cursorFactory,
CalciteSchema rootSchema,
List<RelCollation> collationList,
long maxRowCount,
Bindable<T> bindable,
org.apache.calcite.avatica.Meta.StatementType statementType) |
| Modifier and Type | Method and Description |
|---|---|
List<RelCollation> |
RelOptTable.getCollationList()
Returns a description of the physical ordering (or orderings) of the rows
returned from this table.
|
List<RelCollation> |
RelOptAbstractTable.getCollationList() |
| Modifier and Type | Field and Description |
|---|---|
protected List<RelCollation> |
Prepare.PreparedResultImpl.collations |
| Modifier and Type | Method and Description |
|---|---|
List<RelCollation> |
RelOptTableImpl.getCollationList() |
| Constructor and Description |
|---|
PreparedResultImpl(RelDataType rowType,
RelDataType parameterRowType,
List<List<String>> fieldOrigins,
List<RelCollation> collations,
RelNode rootRel,
TableModify.Operation tableModOp,
boolean isDml) |
| Modifier and Type | Class and Description |
|---|---|
class |
RelCollationImpl
Simple implementation of
RelCollation. |
| Modifier and Type | Field and Description |
|---|---|
RelCollation |
RelRoot.collation |
static RelCollation |
RelCollations.EMPTY
A collation indicating that a relation is not sorted.
|
static RelCollation |
RelCollationImpl.EMPTY
Deprecated.
|
static RelCollation |
RelCollations.PRESERVE
Deprecated.
|
static RelCollation |
RelCollationImpl.PRESERVE
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
RelCollation |
RelInput.getCollation() |
RelCollation |
RelCollationTraitDef.getDefault() |
static RelCollation |
RelCollations.of(int fieldIndex)
Creates a collation containing one field.
|
static RelCollation |
RelCollations.of(List<RelFieldCollation> fieldCollations) |
static RelCollation |
RelCollationImpl.of(List<RelFieldCollation> fieldCollations)
Deprecated.
|
static RelCollation |
RelCollations.of(RelFieldCollation... fieldCollations) |
static RelCollation |
RelCollationImpl.of(RelFieldCollation... fieldCollations)
Deprecated.
|
static RelCollation |
RelCollations.shift(RelCollation collation,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
static List<RelCollation> |
RelCollations.createSingleton(int fieldIndex)
Creates a list containing one collation containing one field.
|
static List<RelCollation> |
RelCollationImpl.createSingleton(int fieldIndex)
Deprecated.
|
List<RelCollation> |
AbstractRelNode.getCollationList()
Deprecated.
|
List<RelCollation> |
RelNode.getCollationList()
Deprecated.
|
Class<RelCollation> |
RelCollationTraitDef.getTraitClass() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RelCollationTraitDef.canConvert(RelOptPlanner planner,
RelCollation fromTrait,
RelCollation toTrait) |
boolean |
RelCollationTraitDef.canConvert(RelOptPlanner planner,
RelCollation fromTrait,
RelCollation toTrait,
RelNode fromRel) |
static boolean |
RelCollations.contains(RelCollation collation,
Iterable<Integer> keys)
Returns whether a collation indicates that the collection is sorted on
a given list of keys.
|
private static boolean |
RelCollations.contains(RelCollation collation,
List<Integer> keys) |
RelNode |
RelCollationTraitDef.convert(RelOptPlanner planner,
RelNode rel,
RelCollation toCollation,
boolean allowInfiniteCostConverters) |
static List<Integer> |
RelCollations.ordinals(RelCollation collation)
Returns the indexes of the field collations in a given collation.
|
static List<Integer> |
RelCollationImpl.ordinals(RelCollation collation)
Deprecated.
|
static RelCollation |
RelCollations.shift(RelCollation collation,
int offset) |
RelRoot |
RelRoot.withCollation(RelCollation collation) |
| 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.
|
static boolean |
RelCollations.equal(List<RelCollation> collationList1,
List<RelCollation> collationList2) |
static boolean |
RelCollations.equal(List<RelCollation> collationList1,
List<RelCollation> collationList2) |
static boolean |
RelCollationImpl.equal(List<RelCollation> collationList1,
List<RelCollation> collationList2)
Deprecated.
|
static boolean |
RelCollationImpl.equal(List<RelCollation> collationList1,
List<RelCollation> collationList2)
Deprecated.
|
static boolean |
RelCollations.isValid(RelDataType rowType,
List<RelCollation> collationList,
boolean fail)
Checks that a collection of collations is valid.
|
static boolean |
RelCollationImpl.isValid(RelDataType rowType,
List<RelCollation> collationList,
boolean fail)
Deprecated.
|
| Constructor and Description |
|---|
RelRoot(RelNode rel,
RelDataType validatedRowType,
SqlKind kind,
List<Pair<Integer,String>> fields,
RelCollation collation)
Creates a RelRoot.
|
| Modifier and Type | Field and Description |
|---|---|
protected RelCollation |
SortExchange.collation |
RelCollation |
Sort.collation |
protected RelCollation |
Match.orderKeys |
RelCollation |
Window.Group.orderKeys |
| Modifier and Type | Method and Description |
|---|---|
RelCollation |
Window.Group.collation() |
RelCollation |
SortExchange.getCollation()
Returns the array of
RelFieldCollations
asked for by the sort specification, from most significant to least
significant. |
RelCollation |
Sort.getCollation()
Returns the array of
RelFieldCollations asked for by the sort
specification, from most significant to least significant. |
static RelCollation |
Window.getCollation(List<RexFieldCollation> collations) |
RelCollation |
Match.getOrderKeys() |
| Modifier and Type | Method and Description |
|---|---|
List<RelCollation> |
TableScan.getCollationList() |
List<RelCollation> |
Sort.getCollationList() |
| Modifier and Type | Method and Description |
|---|---|
abstract Match |
Match.copy(RelNode input,
RelDataType rowType,
RexNode pattern,
boolean strictStart,
boolean strictEnd,
Map<String,RexNode> patternDefinitions,
Map<String,RexNode> measures,
RexNode after,
Map<String,? extends SortedSet<String>> subsets,
boolean allRows,
List<RexNode> partitionKeys,
RelCollation orderKeys,
RexNode interval) |
Sort |
Sort.copy(RelTraitSet traitSet,
RelNode newInput,
RelCollation newCollation) |
abstract Sort |
Sort.copy(RelTraitSet traitSet,
RelNode newInput,
RelCollation newCollation,
RexNode offset,
RexNode fetch) |
abstract SortExchange |
SortExchange.copy(RelTraitSet traitSet,
RelNode newInput,
RelDistribution newDistribution,
RelCollation newCollation) |
RelNode |
RelFactories.MatchFactory.createMatch(RelNode input,
RexNode pattern,
RelDataType rowType,
boolean strictStart,
boolean strictEnd,
Map<String,RexNode> patternDefinitions,
Map<String,RexNode> measures,
RexNode after,
Map<String,? extends SortedSet<String>> subsets,
boolean allRows,
List<RexNode> partitionKeys,
RelCollation orderKeys,
RexNode interval)
Creates a
Match. |
RelNode |
RelFactories.MatchFactoryImpl.createMatch(RelNode input,
RexNode pattern,
RelDataType rowType,
boolean strictStart,
boolean strictEnd,
Map<String,RexNode> patternDefinitions,
Map<String,RexNode> measures,
RexNode after,
Map<String,? extends SortedSet<String>> subsets,
boolean allRows,
List<RexNode> partitionKeys,
RelCollation orderKeys,
RexNode interval) |
RelNode |
RelFactories.SortFactory.createSort(RelNode input,
RelCollation collation,
RexNode offset,
RexNode fetch)
Creates a sort.
|
RelNode |
RelFactories.SortFactoryImpl.createSort(RelNode input,
RelCollation collation,
RexNode offset,
RexNode fetch) |
RelNode |
RelFactories.SortFactory.createSort(RelTraitSet traits,
RelNode input,
RelCollation collation,
RexNode offset,
RexNode fetch)
Deprecated.
|
RelNode |
RelFactories.SortFactoryImpl.createSort(RelTraitSet traits,
RelNode input,
RelCollation collation,
RexNode offset,
RexNode fetch)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Calc |
Calc.copy(RelTraitSet traitSet,
RelNode child,
RexProgram program,
List<RelCollation> collationList)
Deprecated.
|
| Constructor and Description |
|---|
Group(ImmutableBitSet keys,
boolean isRows,
RexWindowBound lowerBound,
RexWindowBound upperBound,
RelCollation orderKeys,
List<Window.RexWinAggCall> aggCalls) |
Match(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RelDataType rowType,
RexNode pattern,
boolean strictStart,
boolean strictEnd,
Map<String,RexNode> patternDefinitions,
Map<String,RexNode> measures,
RexNode after,
Map<String,? extends SortedSet<String>> subsets,
boolean allRows,
List<RexNode> partitionKeys,
RelCollation orderKeys,
RexNode interval)
Creates a Match.
|
Sort(RelOptCluster cluster,
RelTraitSet traits,
RelNode child,
RelCollation collation)
Creates a Sort.
|
Sort(RelOptCluster cluster,
RelTraitSet traits,
RelNode child,
RelCollation collation,
RexNode offset,
RexNode fetch)
Creates a Sort.
|
SortExchange(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RelDistribution distribution,
RelCollation collation)
Creates a SortExchange.
|
| Constructor and Description |
|---|
Calc(RelOptCluster cluster,
RelTraitSet traits,
RelNode child,
RexProgram program,
List<RelCollation> collationList)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
RelCollation |
RelJson.toCollation(List<Map<String,Object>> jsonFieldCollations) |
| Modifier and Type | Field and Description |
|---|---|
private RelCollation |
LogicalWindow.WindowKey.orderKeys |
| Modifier and Type | Method and Description |
|---|---|
Match |
LogicalMatch.copy(RelNode input,
RelDataType rowType,
RexNode pattern,
boolean strictStart,
boolean strictEnd,
Map<String,RexNode> patternDefinitions,
Map<String,RexNode> measures,
RexNode after,
Map<String,? extends SortedSet<String>> subsets,
boolean allRows,
List<RexNode> partitionKeys,
RelCollation orderKeys,
RexNode interval) |
Sort |
LogicalSort.copy(RelTraitSet traitSet,
RelNode newInput,
RelCollation newCollation,
RexNode offset,
RexNode fetch) |
static LogicalSort |
LogicalSort.create(RelNode input,
RelCollation collation,
RexNode offset,
RexNode fetch)
Creates a LogicalSort.
|
static LogicalMatch |
LogicalMatch.create(RelNode input,
RelDataType rowType,
RexNode pattern,
boolean strictStart,
boolean strictEnd,
Map<String,RexNode> patternDefinitions,
Map<String,RexNode> measures,
RexNode after,
Map<String,? extends SortedSet<String>> subsets,
boolean allRows,
List<RexNode> partitionKeys,
RelCollation orderKeys,
RexNode interval)
Creates a LogicalMatch.
|
| Constructor and Description |
|---|
LogicalMatch(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RelDataType rowType,
RexNode pattern,
boolean strictStart,
boolean strictEnd,
Map<String,RexNode> patternDefinitions,
Map<String,RexNode> measures,
RexNode after,
Map<String,? extends SortedSet<String>> subsets,
boolean allRows,
List<RexNode> partitionKeys,
RelCollation orderKeys,
RexNode interval)
Creates a LogicalMatch.
|
LogicalSort(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RelCollation collation,
RexNode offset,
RexNode fetch) |
WindowKey(ImmutableBitSet groupSet,
RelCollation orderKeys,
boolean isRows,
RexWindowBound lowerBound,
RexWindowBound upperBound) |
| Constructor and Description |
|---|
LogicalCalc(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
RexProgram program,
List<RelCollation> collationList)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static List<RelCollation> |
RelMdCollation.calc(RelMetadataQuery mq,
RelNode input,
RexProgram program)
Helper method to determine a
Calc's collation. |
com.google.common.collect.ImmutableList<RelCollation> |
BuiltInMetadata.Collation.collations()
Determines which columns are sorted.
|
com.google.common.collect.ImmutableList<RelCollation> |
RelMdCollation.collations(Calc calc,
RelMetadataQuery mq) |
com.google.common.collect.ImmutableList<RelCollation> |
RelMdCollation.collations(EnumerableMergeJoin join,
RelMetadataQuery mq) |
com.google.common.collect.ImmutableList<RelCollation> |
RelMdCollation.collations(Filter rel,
RelMetadataQuery mq) |
com.google.common.collect.ImmutableList<RelCollation> |
RelMdCollation.collations(HepRelVertex rel,
RelMetadataQuery mq) |
com.google.common.collect.ImmutableList<RelCollation> |
RelMdCollation.collations(Project project,
RelMetadataQuery mq) |
com.google.common.collect.ImmutableList<RelCollation> |
RelMetadataQuery.collations(RelNode rel)
Returns the
BuiltInMetadata.Collation.collations()
statistic. |
com.google.common.collect.ImmutableList<RelCollation> |
RelMdCollation.collations(RelNode rel,
RelMetadataQuery mq)
Catch-all implementation for
BuiltInMetadata.Collation.collations(),
invoked using reflection, for any relational expression not
handled by a more specific method. |
com.google.common.collect.ImmutableList<RelCollation> |
BuiltInMetadata.Collation.Handler.collations(RelNode r,
RelMetadataQuery mq) |
com.google.common.collect.ImmutableList<RelCollation> |
RelMdCollation.collations(RelSubset rel,
RelMetadataQuery mq) |
com.google.common.collect.ImmutableList<RelCollation> |
RelMdCollation.collations(SortExchange sort,
RelMetadataQuery mq) |
com.google.common.collect.ImmutableList<RelCollation> |
RelMdCollation.collations(Sort sort,
RelMetadataQuery mq) |
com.google.common.collect.ImmutableList<RelCollation> |
RelMdCollation.collations(TableScan scan,
RelMetadataQuery mq) |
com.google.common.collect.ImmutableList<RelCollation> |
RelMdCollation.collations(Values values,
RelMetadataQuery mq) |
com.google.common.collect.ImmutableList<RelCollation> |
RelMdCollation.collations(Window rel,
RelMetadataQuery mq) |
static List<RelCollation> |
RelMdCollation.filter(RelMetadataQuery mq,
RelNode input)
Helper method to determine a
Filter's collation. |
static List<RelCollation> |
RelMdCollation.limit(RelMetadataQuery mq,
RelNode input)
Helper method to determine a
limit's collation.
|
static List<RelCollation> |
RelMdCollation.mergeJoin(RelMetadataQuery mq,
RelNode left,
RelNode right,
ImmutableIntList leftKeys,
ImmutableIntList rightKeys)
Helper method to determine a
Join's collation assuming that it
uses a merge-join algorithm. |
static List<RelCollation> |
RelMdCollation.project(RelMetadataQuery mq,
RelNode input,
List<? extends RexNode> projects)
Helper method to determine a
Project's collation. |
static List<RelCollation> |
RelMdCollation.sort(RelCollation collation)
Helper method to determine a
Sort's collation. |
static List<RelCollation> |
RelMdCollation.table(RelOptTable table)
Helper method to determine a
TableScan's collation. |
static List<RelCollation> |
RelMdCollation.values(RelMetadataQuery mq,
RelDataType rowType,
com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<RexLiteral>> tuples)
Helper method to determine a
Values's collation. |
static List<RelCollation> |
RelMdCollation.window(RelMetadataQuery mq,
RelNode input,
com.google.common.collect.ImmutableList<Window.Group> groups)
Helper method to determine a
Window's collation. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
RelMdUtil.checkInputForCollationAndLimit(RelMetadataQuery mq,
RelNode input,
RelCollation collation,
RexNode offset,
RexNode fetch)
Returns whether a relational expression is already sorted and has fewer
rows than the sum of offset and limit.
|
static List<RelCollation> |
RelMdCollation.sort(RelCollation collation)
Helper method to determine a
Sort's collation. |
| Modifier and Type | Field and Description |
|---|---|
RelCollation |
MutableSort.collation |
| Modifier and Type | Method and Description |
|---|---|
static MutableSort |
MutableSort.of(MutableRel input,
RelCollation collation,
RexNode offset,
RexNode fetch)
Creates a MutableSort.
|
| Constructor and Description |
|---|
MutableSort(MutableRel input,
RelCollation collation,
RexNode offset,
RexNode fetch) |
| Modifier and Type | Field and Description |
|---|---|
private List<RelCollation> |
RexCallBinding.inputCollations |
| Modifier and Type | Method and Description |
|---|---|
static RelCollation |
RexUtil.apply(Mappings.TargetMapping mapping,
RelCollation collation)
Applies a mapping to a collation.
|
| Modifier and Type | Method and Description |
|---|---|
static List<RelCollation> |
RexUtil.apply(Mappings.TargetMapping mapping,
List<RelCollation> collationList)
Applies a mapping to a collation list.
|
List<RelCollation> |
RexProgram.getCollations(List<RelCollation> inputCollations)
Given a list of collations which hold for the input to this program,
returns a list of collations which hold for its output.
|
| Modifier and Type | Method and Description |
|---|---|
static RelCollation |
RexUtil.apply(Mappings.TargetMapping mapping,
RelCollation collation)
Applies a mapping to a collation.
|
| Modifier and Type | Method and Description |
|---|---|
static List<RelCollation> |
RexUtil.apply(Mappings.TargetMapping mapping,
List<RelCollation> collationList)
Applies a mapping to a collation list.
|
static RexCallBinding |
RexCallBinding.create(RelDataTypeFactory typeFactory,
RexCall call,
List<RelCollation> inputCollations)
Creates a binding of the appropriate type.
|
static void |
RexProgram.deduceCollations(List<RelCollation> outputCollations,
int sourceCount,
List<RexLocalRef> refs,
List<RelCollation> inputCollations)
Given a list of expressions and a description of which are ordered,
populates a list of collations, sorted in natural order.
|
static void |
RexProgram.deduceCollations(List<RelCollation> outputCollations,
int sourceCount,
List<RexLocalRef> refs,
List<RelCollation> inputCollations)
Given a list of expressions and a description of which are ordered,
populates a list of collations, sorted in natural order.
|
List<RelCollation> |
RexProgram.getCollations(List<RelCollation> inputCollations)
Given a list of collations which hold for the input to this program,
returns a list of collations which hold for its output.
|
| Constructor and Description |
|---|
RexCallBinding(RelDataTypeFactory typeFactory,
SqlOperator sqlOperator,
List<? extends RexNode> operands,
List<RelCollation> inputCollations) |
RexCastCallBinding(RelDataTypeFactory typeFactory,
SqlOperator sqlOperator,
List<? extends RexNode> operands,
RelDataType type,
List<RelCollation> inputCollations) |
| Modifier and Type | Method and Description |
|---|---|
List<RelCollation> |
Statistic.getCollations()
Returns the collections of columns on which this table is sorted.
|
| Modifier and Type | Method and Description |
|---|---|
static Statistic |
Statistics.of(double rowCount,
List<ImmutableBitSet> keys,
List<RelCollation> collations)
Returns a statistic with a given row count, set of unique keys,
and collations.
|
static Statistic |
Statistics.of(Double rowCount,
List<ImmutableBitSet> keys,
List<RelReferentialConstraint> referentialConstraints,
List<RelCollation> collations)
Returns a statistic with a given row count, set of unique keys,
referential constraints, and collations.
|
| Modifier and Type | Method and Description |
|---|---|
private RelCollation |
SqlToRelConverter.requiredCollation(RelNode r) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SqlToRelConverter.convertOrder(SqlSelect select,
SqlToRelConverter.Blackboard bb,
RelCollation collation,
List<SqlNode> orderExprList,
SqlNode offset,
SqlNode fetch)
Converts a query's ORDER BY clause, if any.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<RexNode> |
RelBuilder.fields(RelCollation collation)
Returns references to fields for a given collation.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.