| 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.parser |
Provides a SQL parser.
|
| org.apache.calcite.sql.parser.impl |
Contains generated code for the
Calcite SQL parser. |
| 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 |
|---|---|
SqlFunctionCategory |
SqlFunction.getFunctionType() |
static SqlFunctionCategory |
SqlFunctionCategory.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlFunctionCategory[] |
SqlFunctionCategory.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SqlOperatorTable.lookupOperatorOverloads(SqlIdentifier opName,
SqlFunctionCategory category,
SqlSyntax syntax,
List<SqlOperator> operatorList)
Retrieves a list of operators with a given name and syntax.
|
static SqlFunction |
SqlUtil.lookupRoutine(SqlOperatorTable opTab,
SqlIdentifier funcName,
List<RelDataType> argTypes,
SqlFunctionCategory category)
Looks up a (possibly overloaded) routine based on name and argument
types.
|
static List<SqlFunction> |
SqlUtil.lookupSubjectRoutines(SqlOperatorTable opTab,
SqlIdentifier funcName,
List<RelDataType> argTypes,
SqlFunctionCategory category)
Looks up all subject routines matching the given name and argument types.
|
static boolean |
SqlUtil.matchRoutinesByParameterCount(SqlOperatorTable opTab,
SqlIdentifier funcName,
List<RelDataType> argTypes,
SqlFunctionCategory category)
Determine if there is a routine matching the given name and number of
arguments.
|
| Constructor and Description |
|---|
SqlAggFunction(String name,
SqlIdentifier sqlIdentifier,
SqlKind kind,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandTypeChecker operandTypeChecker,
SqlFunctionCategory funcType)
Creates a user-defined SqlAggFunction.
|
SqlAggFunction(String name,
SqlKind kind,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandTypeChecker operandTypeChecker,
SqlFunctionCategory funcType)
Creates a built-in SqlAggFunction.
|
SqlFunction(SqlIdentifier sqlIdentifier,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandTypeChecker operandTypeChecker,
List<RelDataType> paramTypes,
SqlFunctionCategory funcType)
Creates a placeholder SqlFunction for an invocation of a function with a
possibly qualified name.
|
SqlFunction(String name,
SqlIdentifier sqlIdentifier,
SqlKind kind,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandTypeChecker operandTypeChecker,
List<RelDataType> paramTypes,
SqlFunctionCategory category)
Internal constructor.
|
SqlFunction(String name,
SqlKind kind,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandTypeChecker operandTypeChecker,
SqlFunctionCategory category)
Creates a new SqlFunction for a call to a builtin function.
|
SqlUnresolvedFunction(SqlIdentifier sqlIdentifier,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandTypeChecker operandTypeChecker,
List<RelDataType> paramTypes,
SqlFunctionCategory funcType)
Creates a placeholder SqlUnresolvedFunction for an invocation of a function
with a possibly qualified name.
|
| Constructor and Description |
|---|
SqlAbstractGroupFunction(String name,
SqlKind kind,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandTypeChecker operandTypeChecker,
SqlFunctionCategory category)
Creates a SqlAbstractGroupFunction.
|
SqlMonotonicUnaryFunction(String name,
SqlKind kind,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandTypeChecker operandTypeChecker,
SqlFunctionCategory funcType) |
| Modifier and Type | Method and Description |
|---|---|
protected SqlCall |
SqlAbstractParserImpl.createCall(SqlIdentifier funName,
SqlParserPos pos,
SqlFunctionCategory funcType,
SqlLiteral functionQualifier,
SqlNode[] operands)
Creates a call.
|
| Modifier and Type | Method and Description |
|---|---|
SqlNode |
SqlParserImpl.NamedRoutineCall(SqlFunctionCategory routineType,
SqlAbstractParserImpl.ExprContext exprContext) |
| 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) |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.