| Package | Description |
|---|---|
| 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 | Method and Description |
|---|---|
private void |
SqlWindow.validateFrameBoundary(SqlNode bound,
boolean isRows,
SqlTypeFamily orderTypeFam,
SqlValidator validator,
SqlValidatorScope scope) |
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.collect.SetMultimap<SqlTypeFamily,SqlTypeFamily> |
SqlCastFunction.nonMonotonicCasts
Map of all casts that do not preserve monotonicity.
|
private com.google.common.collect.SetMultimap<SqlTypeFamily,SqlTypeFamily> |
SqlCastFunction.nonMonotonicCasts
Map of all casts that do not preserve monotonicity.
|
| Modifier and Type | Field and Description |
|---|---|
private SqlTypeFamily |
SqlTypeName.family |
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.collect.ImmutableList<SqlTypeFamily> |
FamilyOperandTypeChecker.families |
private static Map<Integer,SqlTypeFamily> |
SqlTypeFamily.JDBC_TYPE_TO_FAMILY |
| Modifier and Type | Method and Description |
|---|---|
SqlTypeFamily |
SqlTypeName.getFamily()
Gets the SqlTypeFamily containing this SqlTypeName.
|
static SqlTypeFamily |
SqlTypeFamily.getFamilyForJdbcType(int jdbcType)
Gets the primary family containing a JDBC type.
|
static SqlTypeFamily |
SqlTypeFamily.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlTypeFamily[] |
SqlTypeFamily.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static FamilyOperandTypeChecker |
OperandTypes.family(SqlTypeFamily... families)
Creates a checker that passes if each operand is a member of a
corresponding family.
|
| Modifier and Type | Method and Description |
|---|---|
static FamilyOperandTypeChecker |
OperandTypes.family(List<SqlTypeFamily> families)
Creates a checker that passes if each operand is a member of a
corresponding family.
|
static FamilyOperandTypeChecker |
OperandTypes.family(List<SqlTypeFamily> families,
com.google.common.base.Predicate<Integer> optional)
Creates a checker that passes if each operand is a member of a
corresponding family, and allows specified parameters to be optional.
|
| Constructor and Description |
|---|
SqlTypeName(int signatures,
boolean special,
int jdbcType,
SqlTypeFamily family) |
| Constructor and Description |
|---|
FamilyOperandTypeChecker(List<SqlTypeFamily> families,
com.google.common.base.Predicate<Integer> optional)
Package private.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.