Uses of Interface
org.apache.calcite.sql.type.SqlSingleOperandTypeChecker
-
Packages that use SqlSingleOperandTypeChecker Package Description org.apache.calcite.sql.fun Defines the set of standard SQL row-level functions and operators.org.apache.calcite.sql.type SQL type system. -
-
Uses of SqlSingleOperandTypeChecker in org.apache.calcite.sql.fun
Fields in org.apache.calcite.sql.fun declared as SqlSingleOperandTypeChecker Modifier and Type Field Description private static SqlSingleOperandTypeChecker
SqlItemOperator. ARRAY_OR_MAP
private static SqlSingleOperandTypeChecker
SqlLeadLagAggFunction. OPERAND_TYPES
Methods in org.apache.calcite.sql.fun that return SqlSingleOperandTypeChecker Modifier and Type Method Description private SqlSingleOperandTypeChecker
SqlDotOperator. getChecker(RelDataType operandType)
private SqlSingleOperandTypeChecker
SqlItemOperator. getChecker(RelDataType operandType)
Constructors in org.apache.calcite.sql.fun with parameters of type SqlSingleOperandTypeChecker Constructor Description SqlTrimFunction(java.lang.String name, SqlKind kind, SqlTypeTransformCascade returnTypeInference, SqlSingleOperandTypeChecker operandTypeChecker)
-
Uses of SqlSingleOperandTypeChecker in org.apache.calcite.sql.type
Classes in org.apache.calcite.sql.type that implement SqlSingleOperandTypeChecker Modifier and Type Class Description class
ComparableOperandTypeChecker
Type checking strategy which verifies that types have the required attributes to be used as arguments to comparison operators.class
CompositeSingleOperandTypeChecker
Allows multipleSqlSingleOperandTypeChecker
rules to be combined into one rule.class
FamilyOperandTypeChecker
Operand type-checking strategy which checks operands for inclusion in type families.class
LiteralOperandTypeChecker
Parameter type-checking strategy type must be a literal (whether null is allowed is determined by the constructor).private static class
OperandTypes.PeriodOperandTypeChecker
Operand type checker that accepts period types: PERIOD (DATETIME, DATETIME) PERIOD (DATETIME, INTERVAL) [ROW] (DATETIME, DATETIME) [ROW] (DATETIME, INTERVAL)class
SameOperandTypeChecker
Parameter type-checking strategy where all operand types must be the same.class
SameOperandTypeExceptLastOperandChecker
Parameter type-checking strategy where all operand types except last one must be the same.Fields in org.apache.calcite.sql.type declared as SqlSingleOperandTypeChecker Modifier and Type Field Description static SqlSingleOperandTypeChecker
OperandTypes. ANY
static SqlSingleOperandTypeChecker
OperandTypes. ANY_ANY
static SqlSingleOperandTypeChecker
OperandTypes. ANY_NUMERIC
static SqlSingleOperandTypeChecker
OperandTypes. ARRAY
static SqlSingleOperandTypeChecker
OperandTypes. BINARY
static SqlSingleOperandTypeChecker
OperandTypes. BOOLEAN
static SqlSingleOperandTypeChecker
OperandTypes. BOOLEAN_BOOLEAN
static SqlSingleOperandTypeChecker
OperandTypes. CHARACTER
static SqlSingleOperandTypeChecker
OperandTypes. COLLECTION
Checks that returns whether a value is a multiset or an array.static SqlSingleOperandTypeChecker
OperandTypes. COLLECTION_OR_MAP
static SqlSingleOperandTypeChecker
OperandTypes. DATETIME
static SqlSingleOperandTypeChecker
OperandTypes. DATETIME_INTERVAL
static SqlSingleOperandTypeChecker
OperandTypes. DATETIME_INTERVAL_INTERVAL
static SqlSingleOperandTypeChecker
OperandTypes. DATETIME_INTERVAL_INTERVAL_TIME
static SqlSingleOperandTypeChecker
OperandTypes. DATETIME_INTERVAL_TIME
static SqlSingleOperandTypeChecker
OperandTypes. DIVISION_OPERATOR
Type checking strategy for the "/" operatorstatic SqlSingleOperandTypeChecker
OperandTypes. EXACT_NUMERIC
static SqlSingleOperandTypeChecker
OperandTypes. EXACT_NUMERIC_EXACT_NUMERIC
static SqlSingleOperandTypeChecker
OperandTypes. INTERVAL
static SqlSingleOperandTypeChecker
OperandTypes. INTERVAL_DATETIME
static SqlSingleOperandTypeChecker
OperandTypes. INTERVAL_NUMERIC
static SqlSingleOperandTypeChecker
OperandTypes. INTERVAL_SAME_SAME
Parameter type-checking strategy type must a nullable time interval, nullable time intervalstatic SqlSingleOperandTypeChecker
OperandTypes. INTERVALINTERVAL_INTERVALDATETIME
static SqlSingleOperandTypeChecker
OperandTypes. LITERAL
Operand type-checking strategy type must be a non-NULL literal.static SqlSingleOperandTypeChecker
OperandTypes. MINUS_OPERATOR
static SqlSingleOperandTypeChecker
OperandTypes. MULTIPLY_OPERATOR
Type checking strategy for the "*" operatorstatic SqlSingleOperandTypeChecker
OperandTypes. MULTISET
static SqlSingleOperandTypeChecker
OperandTypes. NILADIC
Operand type-checking strategy for an operator which takes no operands.static SqlSingleOperandTypeChecker
OperandTypes. NULLABLE_LITERAL
Operand type-checking strategy where type must be a literal or NULL.static SqlSingleOperandTypeChecker
OperandTypes. NUMERIC
static SqlSingleOperandTypeChecker
OperandTypes. NUMERIC_INTEGER
static SqlSingleOperandTypeChecker
OperandTypes. NUMERIC_INTERVAL
static SqlSingleOperandTypeChecker
OperandTypes. NUMERIC_NUMERIC
static SqlSingleOperandTypeChecker
OperandTypes. NUMERIC_OPTIONAL_INTEGER
static SqlSingleOperandTypeChecker
OperandTypes. NUMERIC_OR_INTERVAL
static SqlSingleOperandTypeChecker
OperandTypes. NUMERIC_OR_STRING
static SqlSingleOperandTypeChecker
OperandTypes. PERIOD
static SqlSingleOperandTypeChecker
OperandTypes. PERIOD_OR_DATETIME
static SqlSingleOperandTypeChecker
OperandTypes. PLUS_OPERATOR
static SqlSingleOperandTypeChecker
OperandTypes. POSITIVE_INTEGER_LITERAL
Operand type-checking strategy type must be a positive integer non-NULL literal.static SqlSingleOperandTypeChecker
OperandTypes. RECORD_COLLECTION
Checker that returns whether a value is a multiset of records or an array of records.static SqlSingleOperandTypeChecker
OperandTypes. SAME_SAME
Operand type-checking strategy where two operands must both be in the same type family.static SqlSingleOperandTypeChecker
OperandTypes. SAME_SAME_INTEGER
static SqlSingleOperandTypeChecker
OperandTypes. SAME_SAME_SAME
Operand type-checking strategy where three operands must all be in the same type family.static SqlSingleOperandTypeChecker
OperandTypes. SCALAR_OR_RECORD_COLLECTION
Checker that returns whether a value is a collection (multiset or array) of scalar or record values.static SqlSingleOperandTypeChecker
OperandTypes. SCALAR_OR_RECORD_COLLECTION_OR_MAP
static SqlSingleOperandTypeChecker
OperandTypes. STRING
static SqlSingleOperandTypeChecker
OperandTypes. STRING_SAME_SAME
Operand type-checking strategy where two operands must both be in the same string type family.static SqlSingleOperandTypeChecker
OperandTypes. STRING_SAME_SAME_INTEGER
Operand type-checking strategy where two operands must both be in the same string type family and last type is INTEGER.static SqlSingleOperandTypeChecker
OperandTypes. STRING_SAME_SAME_SAME
Operand type-checking strategy where three operands must all be in the same string type family.static SqlSingleOperandTypeChecker
OperandTypes. STRING_STRING_INTEGER
static SqlSingleOperandTypeChecker
OperandTypes. STRING_STRING_INTEGER_INTEGER
Methods in org.apache.calcite.sql.type that return SqlSingleOperandTypeChecker Modifier and Type Method Description static SqlSingleOperandTypeChecker
OperandTypes. and(SqlSingleOperandTypeChecker... rules)
Creates a single-operand checker that passes if all of the rules pass.static SqlSingleOperandTypeChecker
OperandTypes. or(SqlSingleOperandTypeChecker... rules)
Creates a single-operand checker that passes if any one of the rules passes.Methods in org.apache.calcite.sql.type that return types with arguments of type SqlSingleOperandTypeChecker Modifier and Type Method Description com.google.common.collect.ImmutableList<? extends SqlSingleOperandTypeChecker>
CompositeSingleOperandTypeChecker. getRules()
Methods in org.apache.calcite.sql.type with parameters of type SqlSingleOperandTypeChecker Modifier and Type Method Description static SqlSingleOperandTypeChecker
OperandTypes. and(SqlSingleOperandTypeChecker... rules)
Creates a single-operand checker that passes if all of the rules pass.static SqlSingleOperandTypeChecker
OperandTypes. or(SqlSingleOperandTypeChecker... rules)
Creates a single-operand checker that passes if any one of the rules passes.static SqlOperandTypeChecker
OperandTypes. repeat(SqlOperandCountRange range, SqlSingleOperandTypeChecker... rules)
Creates a checker that passes if all of the rules pass for each operand, using a given operand count strategy.static SqlOperandTypeChecker
OperandTypes. sequence(java.lang.String allowedSignatures, SqlSingleOperandTypeChecker... rules)
Creates an operand checker from a sequence of single-operand checkers.Constructor parameters in org.apache.calcite.sql.type with type arguments of type SqlSingleOperandTypeChecker Constructor Description CompositeSingleOperandTypeChecker(CompositeOperandTypeChecker.Composition composition, com.google.common.collect.ImmutableList<? extends SqlSingleOperandTypeChecker> allowedRules, java.lang.String allowedSignatures)
Package private.
-