| Package | Description |
|---|---|
| org.apache.calcite.rel.core |
Defines core relational expressions.
|
| org.apache.calcite.rex |
Provides a language for representing row-expressions.
|
| org.apache.calcite.schema.impl |
Utilities to help implement Calcite's SPIs.
|
| 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.type |
SQL type system.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Aggregate.AggCallBinding
Implementation of the
SqlOperatorBinding interface for an
aggregate call applied to a set of operands in the
context of a LogicalAggregate. |
| Modifier and Type | Class and Description |
|---|---|
class |
RexCallBinding
RexCallBinding implements SqlOperatorBinding by
referring to an underlying collection of RexNode operands. |
private static class |
RexCallBinding.RexCastCallBinding
To be compatible with
SqlCall, CAST needs to pretend that it
has two arguments, the second of which is the target type. |
| Modifier and Type | Method and Description |
|---|---|
RelDataType |
ScalarFunctionImpl.getReturnType(RelDataTypeFactory typeFactory,
SqlOperatorBinding opBinding) |
| Modifier and Type | Class and Description |
|---|---|
class |
ExplicitOperatorBinding
ExplicitOperatorBinding implements SqlOperatorBinding
via an underlying array of known operand types. |
class |
SqlCallBinding
SqlCallBinding implements SqlOperatorBinding by
analyzing to the operands of a SqlCall with a SqlValidator. |
| Modifier and Type | Field and Description |
|---|---|
private SqlOperatorBinding |
ExplicitOperatorBinding.delegate |
| Modifier and Type | Method and Description |
|---|---|
SqlMonotonicity |
SqlPrefixOperator.getMonotonicity(SqlOperatorBinding call) |
SqlMonotonicity |
SqlOperator.getMonotonicity(SqlOperatorBinding call)
Returns whether a call to this operator is monotonic.
|
SqlMonotonicity |
SqlBinaryOperator.getMonotonicity(SqlOperatorBinding call) |
SqlMonotonicity |
SqlAsOperator.getMonotonicity(SqlOperatorBinding call) |
SqlMonotonicity |
SqlGroupedWindowFunction.getMonotonicity(SqlOperatorBinding call) |
RelDataType |
SqlOperator.inferReturnType(SqlOperatorBinding opBinding)
Infers the return type of an invocation of this operator; only called
after the number and types of operands have already been validated.
|
RelDataType |
SqlUnnestOperator.inferReturnType(SqlOperatorBinding opBinding) |
RelDataType |
SqlJdbcFunctionCall.inferReturnType(SqlOperatorBinding opBinding) |
RelDataType |
SqlUnresolvedFunction.inferReturnType(SqlOperatorBinding opBinding)
Infers the return type of an invocation of this operator; only called
after the number and types of operands have already been validated.
|
| Constructor and Description |
|---|
ExplicitOperatorBinding(SqlOperatorBinding delegate,
List<RelDataType> types) |
ExplicitOperatorBinding(SqlOperatorBinding delegate,
RelDataTypeFactory typeFactory,
SqlOperator operator,
List<RelDataType> types) |
| Modifier and Type | Method and Description |
|---|---|
private void |
TableFunctionReturnTypeInference.addOutputColumn(List<String> expandedFieldNames,
List<RelDataType> expandedOutputTypes,
int iInputColumn,
int iCursor,
SqlOperatorBinding opBinding,
RelDataTypeField cursorField) |
boolean |
SameOperandTypeChecker.checkOperandTypes(SqlOperatorBinding operatorBinding)
Similar functionality to
SameOperandTypeChecker.checkOperandTypes(SqlCallBinding, boolean), but not part of the
interface, and cannot throw an error. |
boolean |
ComparableOperandTypeChecker.checkOperandTypes(SqlOperatorBinding callBinding)
Similar functionality to
ComparableOperandTypeChecker.checkOperandTypes(SqlCallBinding, boolean), but not part of the
interface, and cannot throw an error. |
protected boolean |
SameOperandTypeExceptLastOperandChecker.checkOperandTypesImpl(SqlOperatorBinding operatorBinding,
boolean throwOnFailure,
SqlCallBinding callBinding) |
protected boolean |
SameOperandTypeChecker.checkOperandTypesImpl(SqlOperatorBinding operatorBinding,
boolean throwOnFailure,
SqlCallBinding callBinding) |
RelDataType |
CursorReturnTypeInference.inferReturnType(SqlOperatorBinding opBinding) |
RelDataType |
TableFunctionReturnTypeInference.inferReturnType(SqlOperatorBinding opBinding) |
RelDataType |
SqlReturnTypeInference.inferReturnType(SqlOperatorBinding opBinding)
Infers the return type of a call to an
SqlOperator. |
RelDataType |
SqlTypeTransformCascade.inferReturnType(SqlOperatorBinding opBinding) |
RelDataType |
ExplicitReturnTypeInference.inferReturnType(SqlOperatorBinding opBinding) |
RelDataType |
SqlReturnTypeInferenceChain.inferReturnType(SqlOperatorBinding opBinding) |
RelDataType |
MatchReturnTypeInference.inferReturnType(SqlOperatorBinding opBinding) |
RelDataType |
OrdinalReturnTypeInference.inferReturnType(SqlOperatorBinding opBinding) |
RelDataType |
SqlTypeTransform.transformType(SqlOperatorBinding opBinding,
RelDataType typeToTransform)
Transforms a type.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.