| Package | Description |
|---|---|
| org.apache.calcite.prepare |
Preparation of queries (parsing, planning and implementation).
|
| org.apache.calcite.rel |
Defines relational expressions.
|
| org.apache.calcite.rex |
Provides a language for representing row-expressions.
|
| org.apache.calcite.sql |
Provides a SQL parser and object model.
|
| org.apache.calcite.sql.fun |
Defines the set of standard SQL row-level functions and
operators.
|
| org.apache.calcite.sql.validate |
SQL validation.
|
| org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
| Modifier and Type | Method and Description |
|---|---|
SqlMonotonicity |
RelOptTableImpl.getMonotonicity(String columnName) |
| Modifier and Type | Method and Description |
|---|---|
SqlMonotonicity |
RelFieldCollation.Direction.monotonicity()
Converts the direction to a
SqlMonotonicity. |
| Modifier and Type | Method and Description |
|---|---|
static RelFieldCollation.Direction |
RelFieldCollation.Direction.of(SqlMonotonicity monotonicity)
Converts a
SqlMonotonicity to a direction. |
| Modifier and Type | Method and Description |
|---|---|
SqlMonotonicity |
RexCallBinding.getOperandMonotonicity(int ordinal) |
| Modifier and Type | Method and Description |
|---|---|
SqlMonotonicity |
SqlCastFunction.getMonotonicity(SqlOperatorBinding call) |
SqlMonotonicity |
SqlExtractFunction.getMonotonicity(SqlOperatorBinding call) |
SqlMonotonicity |
SqlDatetimeSubtractionOperator.getMonotonicity(SqlOperatorBinding call) |
SqlMonotonicity |
SqlFloorFunction.getMonotonicity(SqlOperatorBinding call) |
SqlMonotonicity |
SqlBaseContextVariable.getMonotonicity(SqlOperatorBinding call) |
SqlMonotonicity |
SqlMonotonicBinaryOperator.getMonotonicity(SqlOperatorBinding call) |
SqlMonotonicity |
SqlCurrentDateFunction.getMonotonicity(SqlOperatorBinding call) |
SqlMonotonicity |
SqlMonotonicUnaryFunction.getMonotonicity(SqlOperatorBinding call) |
SqlMonotonicity |
SqlAbstractTimeFunction.getMonotonicity(SqlOperatorBinding call) |
SqlMonotonicity |
SqlSubstringFunction.getMonotonicity(SqlOperatorBinding call) |
| Modifier and Type | Field and Description |
|---|---|
private List<Pair<SqlNode,SqlMonotonicity>> |
IdentifierNamespace.monotonicExprs
List of monotonic expressions.
|
| Modifier and Type | Method and Description |
|---|---|
private SqlMonotonicity |
SetopNamespace.combine(SqlMonotonicity m0,
SqlMonotonicity m1) |
SqlMonotonicity |
SelectScope.getMonotonicity(SqlNode expr) |
SqlMonotonicity |
SqlValidatorScope.getMonotonicity(SqlNode expr)
Returns whether an expression is monotonic in this scope.
|
SqlMonotonicity |
EmptyScope.getMonotonicity(SqlNode expr) |
SqlMonotonicity |
DelegatingScope.getMonotonicity(SqlNode expr) |
SqlMonotonicity |
OverScope.getMonotonicity(SqlNode expr) |
SqlMonotonicity |
SetopNamespace.getMonotonicity(String columnName) |
SqlMonotonicity |
AbstractNamespace.getMonotonicity(String columnName) |
SqlMonotonicity |
DelegatingNamespace.getMonotonicity(String columnName) |
SqlMonotonicity |
SqlValidatorNamespace.getMonotonicity(String columnName)
Returns whether and how a given column is sorted.
|
SqlMonotonicity |
DelegatingSqlValidatorTable.getMonotonicity(String columnName) |
SqlMonotonicity |
TableNamespace.getMonotonicity(String columnName) |
SqlMonotonicity |
IdentifierNamespace.getMonotonicity(String columnName) |
SqlMonotonicity |
SelectNamespace.getMonotonicity(String columnName) |
SqlMonotonicity |
SqlValidatorTable.getMonotonicity(String columnName)
Returns whether a given column is monotonic.
|
SqlMonotonicity |
SqlMonotonicity.reverse()
Returns the reverse monotonicity.
|
SqlMonotonicity |
SqlMonotonicity.unstrict()
If this is a strict monotonicity (StrictlyIncreasing, StrictlyDecreasing)
returns the non-strict equivalent (Increasing, Decreasing).
|
static SqlMonotonicity |
SqlMonotonicity.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlMonotonicity[] |
SqlMonotonicity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
List<Pair<SqlNode,SqlMonotonicity>> |
AbstractNamespace.getMonotonicExprs() |
List<Pair<SqlNode,SqlMonotonicity>> |
DelegatingNamespace.getMonotonicExprs() |
List<Pair<SqlNode,SqlMonotonicity>> |
SqlValidatorNamespace.getMonotonicExprs()
Returns a list of expressions which are monotonic in this namespace.
|
List<Pair<SqlNode,SqlMonotonicity>> |
IdentifierNamespace.getMonotonicExprs() |
| Modifier and Type | Method and Description |
|---|---|
private SqlMonotonicity |
SetopNamespace.combine(SqlMonotonicity m0,
SqlMonotonicity m1) |
| Modifier and Type | Field and Description |
|---|---|
private List<SqlMonotonicity> |
SqlToRelConverter.Blackboard.columnMonotonicities |
| Modifier and Type | Method and Description |
|---|---|
List<SqlMonotonicity> |
SqlToRelConverter.Blackboard.getColumnMonotonicities() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SqlToRelConverter.extraSelectItems(SqlToRelConverter.Blackboard bb,
SqlSelect select,
List<RexNode> exprList,
List<String> nameList,
Collection<String> aliasList,
List<SqlMonotonicity> columnMonotonicityList)
Adds extra select items.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.