| 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.util |
Utility classes for the SQL object model, parsing, and validation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CalciteCatalogReader.lookupOperatorOverloads(SqlIdentifier opName,
SqlFunctionCategory category,
SqlSyntax syntax,
List<SqlOperator> operatorList) |
| Modifier and Type | Method and Description |
|---|---|
SqlSyntax |
SqlOrderBy.Operator.getSyntax() |
SqlSyntax |
SqlPrefixOperator.getSyntax() |
abstract SqlSyntax |
SqlOperator.getSyntax()
Returns the syntactic type of this operator, never null.
|
SqlSyntax |
SqlBinaryOperator.getSyntax() |
SqlSyntax |
SqlWindow.SqlWindowOperator.getSyntax() |
SqlSyntax |
SqlPostfixOperator.getSyntax() |
SqlSyntax |
SqlInternalOperator.getSyntax() |
SqlSyntax |
SqlInfixOperator.getSyntax() |
SqlSyntax |
SqlSpecialOperator.getSyntax() |
SqlSyntax |
SqlSelectOperator.getSyntax() |
SqlSyntax |
SqlMatchRecognize.SqlMatchRecognizeOperator.getSyntax() |
SqlSyntax |
SqlFunction.getSyntax() |
SqlSyntax |
SqlJoin.SqlJoinOperator.getSyntax() |
static SqlSyntax |
SqlSyntax.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlSyntax[] |
SqlSyntax.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
private static Iterator<SqlOperator> |
SqlUtil.filterRoutinesByParameterType(SqlSyntax syntax,
Iterator<SqlOperator> routines,
List<RelDataType> argTypes,
List<String> argNames) |
private static Iterator<SqlOperator> |
SqlUtil.filterRoutinesByTypePrecedence(SqlSyntax sqlSyntax,
Iterator<SqlOperator> routines,
List<RelDataType> argTypes) |
void |
SqlOperatorTable.lookupOperatorOverloads(SqlIdentifier opName,
SqlFunctionCategory category,
SqlSyntax syntax,
List<SqlOperator> operatorList)
Retrieves a list of operators with a given name and syntax.
|
static SqlOperator |
SqlUtil.lookupRoutine(SqlOperatorTable opTab,
SqlIdentifier funcName,
List<RelDataType> argTypes,
List<String> argNames,
SqlFunctionCategory category,
SqlSyntax syntax,
SqlKind sqlKind)
Looks up a (possibly overloaded) routine based on name and argument
types.
|
static Iterator<SqlOperator> |
SqlUtil.lookupSubjectRoutines(SqlOperatorTable opTab,
SqlIdentifier funcName,
List<RelDataType> argTypes,
List<String> argNames,
SqlSyntax sqlSyntax,
SqlKind sqlKind,
SqlFunctionCategory category)
Looks up all subject routines matching the given name and argument types.
|
private static Iterator<SqlOperator> |
SqlUtil.lookupSubjectRoutinesByName(SqlOperatorTable opTab,
SqlIdentifier funcName,
SqlSyntax syntax,
SqlFunctionCategory category) |
| Modifier and Type | Method and Description |
|---|---|
SqlSyntax |
SqlRandIntegerFunction.getSyntax() |
SqlSyntax |
SqlCaseOperator.getSyntax() |
SqlSyntax |
SqlCastFunction.getSyntax() |
SqlSyntax |
SqlRowOperator.getSyntax() |
SqlSyntax |
SqlDatetimeSubtractionOperator.getSyntax() |
SqlSyntax |
SqlBaseContextVariable.getSyntax() |
SqlSyntax |
SqlRandFunction.getSyntax() |
SqlSyntax |
SqlCurrentDateFunction.getSyntax() |
SqlSyntax |
SqlCountAggFunction.getSyntax() |
SqlSyntax |
SqlAbstractTimeFunction.getSyntax() |
| Modifier and Type | Method and Description |
|---|---|
private static SqlSyntax |
ReflectiveSqlOperatorTable.Key.normalize(SqlSyntax syntax) |
| Modifier and Type | Method and Description |
|---|---|
void |
ReflectiveSqlOperatorTable.lookupOperatorOverloads(SqlIdentifier opName,
SqlFunctionCategory category,
SqlSyntax syntax,
List<SqlOperator> operatorList) |
void |
ChainedSqlOperatorTable.lookupOperatorOverloads(SqlIdentifier opName,
SqlFunctionCategory category,
SqlSyntax syntax,
List<SqlOperator> operatorList) |
void |
ListSqlOperatorTable.lookupOperatorOverloads(SqlIdentifier opName,
SqlFunctionCategory category,
SqlSyntax syntax,
List<SqlOperator> operatorList) |
private static SqlSyntax |
ReflectiveSqlOperatorTable.Key.normalize(SqlSyntax syntax) |
| Constructor and Description |
|---|
Key(String name,
SqlSyntax syntax) |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.