| Package | Description |
|---|---|
| org.apache.calcite.prepare |
Preparation of queries (parsing, planning and implementation).
|
| 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 |
SqlAsOperator.getMonotonicity(SqlCall call,
SqlValidatorScope scope) |
SqlMonotonicity |
SqlBinaryOperator.getMonotonicity(SqlCall call,
SqlValidatorScope scope) |
SqlMonotonicity |
SqlPrefixOperator.getMonotonicity(SqlCall call,
SqlValidatorScope scope) |
SqlMonotonicity |
SqlOperator.getMonotonicity(SqlCall call,
SqlValidatorScope scope)
Returns whether this operator is monotonic.
|
SqlMonotonicity |
SqlDataTypeSpec.getMonotonicity(SqlValidatorScope scope) |
SqlMonotonicity |
SqlDynamicParam.getMonotonicity(SqlValidatorScope scope) |
SqlMonotonicity |
SqlCall.getMonotonicity(SqlValidatorScope scope) |
SqlMonotonicity |
SqlIdentifier.getMonotonicity(SqlValidatorScope scope) |
SqlMonotonicity |
SqlNode.getMonotonicity(SqlValidatorScope scope)
Returns whether expression is always ascending, descending or constant.
|
SqlMonotonicity |
SqlLiteral.getMonotonicity(SqlValidatorScope scope) |
| Modifier and Type | Method and Description |
|---|---|
SqlMonotonicity |
SqlSubstringFunction.getMonotonicity(SqlCall call,
SqlValidatorScope scope) |
SqlMonotonicity |
SqlFloorFunction.getMonotonicity(SqlCall call,
SqlValidatorScope scope) |
SqlMonotonicity |
SqlCurrentDateFunction.getMonotonicity(SqlCall call,
SqlValidatorScope scope) |
SqlMonotonicity |
SqlAbstractTimeFunction.getMonotonicity(SqlCall call,
SqlValidatorScope scope) |
SqlMonotonicity |
SqlDatetimeSubtractionOperator.getMonotonicity(SqlCall call,
SqlValidatorScope scope) |
SqlMonotonicity |
SqlStringContextVariable.getMonotonicity(SqlCall call,
SqlValidatorScope scope) |
SqlMonotonicity |
SqlMonotonicBinaryOperator.getMonotonicity(SqlCall call,
SqlValidatorScope scope) |
SqlMonotonicity |
SqlCastFunction.getMonotonicity(SqlCall call,
SqlValidatorScope scope) |
SqlMonotonicity |
SqlMonotonicUnaryFunction.getMonotonicity(SqlCall call,
SqlValidatorScope scope) |
| Modifier and Type | Method and Description |
|---|---|
SqlMonotonicity |
SqlValidatorScope.getMonotonicity(SqlNode expr)
Returns whether an expression is monotonic in this scope.
|
SqlMonotonicity |
DelegatingScope.getMonotonicity(SqlNode expr) |
SqlMonotonicity |
SelectScope.getMonotonicity(SqlNode expr) |
SqlMonotonicity |
OverScope.getMonotonicity(SqlNode expr) |
SqlMonotonicity |
SqlValidatorNamespace.getMonotonicity(String columnName)
Returns whether and how a given column is sorted.
|
SqlMonotonicity |
SqlValidatorTable.getMonotonicity(String columnName)
Returns whether a given column is monotonic.
|
SqlMonotonicity |
IdentifierNamespace.getMonotonicity(String columnName) |
SqlMonotonicity |
DelegatingNamespace.getMonotonicity(String columnName) |
SqlMonotonicity |
SetopNamespace.getMonotonicity(String columnName) |
SqlMonotonicity |
SelectNamespace.getMonotonicity(String columnName) |
SqlMonotonicity |
DelegatingSqlValidatorTable.getMonotonicity(String columnName) |
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>> |
SqlValidatorNamespace.getMonotonicExprs()
Returns a list of expressions which are monotonic in this namespace.
|
List<Pair<SqlNode,SqlMonotonicity>> |
IdentifierNamespace.getMonotonicExprs() |
List<Pair<SqlNode,SqlMonotonicity>> |
DelegatingNamespace.getMonotonicExprs() |
| 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–2015 The Apache Software Foundation. All rights reserved.