Uses of Class
org.apache.calcite.sql.SqlFunctionCategory
-
Packages that use SqlFunctionCategory 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.util Utility classes for the SQL object model, parsing, and validation.org.apache.calcite.sql.validate SQL validation. -
-
Uses of SqlFunctionCategory in org.apache.calcite.prepare
Methods in org.apache.calcite.prepare with parameters of type SqlFunctionCategory Modifier and Type Method Description void
CalciteCatalogReader. lookupOperatorOverloads(SqlIdentifier opName, SqlFunctionCategory category, SqlSyntax syntax, java.util.List<SqlOperator> operatorList)
-
Uses of SqlFunctionCategory in org.apache.calcite.sql
Fields in org.apache.calcite.sql declared as SqlFunctionCategory Modifier and Type Field Description private SqlFunctionCategory
SqlFunction. category
Methods in org.apache.calcite.sql that return SqlFunctionCategory Modifier and Type Method Description SqlFunctionCategory
SqlFunction. getFunctionType()
static SqlFunctionCategory
SqlFunctionCategory. valueOf(java.lang.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.Methods in org.apache.calcite.sql with parameters of type SqlFunctionCategory Modifier and Type Method Description void
SqlOperatorTable. lookupOperatorOverloads(SqlIdentifier opName, SqlFunctionCategory category, SqlSyntax syntax, java.util.List<SqlOperator> operatorList)
Retrieves a list of operators with a given name and syntax.static SqlOperator
SqlUtil. lookupRoutine(SqlOperatorTable opTab, SqlIdentifier funcName, java.util.List<RelDataType> argTypes, java.util.List<java.lang.String> argNames, SqlFunctionCategory category, SqlSyntax syntax, SqlKind sqlKind)
Looks up a (possibly overloaded) routine based on name and argument types.static java.util.Iterator<SqlOperator>
SqlUtil. lookupSubjectRoutines(SqlOperatorTable opTab, SqlIdentifier funcName, java.util.List<RelDataType> argTypes, java.util.List<java.lang.String> argNames, SqlSyntax sqlSyntax, SqlKind sqlKind, SqlFunctionCategory category)
Looks up all subject routines matching the given name and argument types.private static java.util.Iterator<SqlOperator>
SqlUtil. lookupSubjectRoutinesByName(SqlOperatorTable opTab, SqlIdentifier funcName, SqlSyntax syntax, SqlFunctionCategory category)
static boolean
SqlUtil. matchRoutinesByParameterCount(SqlOperatorTable opTab, SqlIdentifier funcName, java.util.List<RelDataType> argTypes, SqlFunctionCategory category)
Determines whether there is a routine matching the given name and number of arguments.Constructors in org.apache.calcite.sql with parameters of type SqlFunctionCategory Constructor Description SqlAggFunction(java.lang.String name, SqlIdentifier sqlIdentifier, SqlKind kind, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, SqlFunctionCategory funcType)
Deprecated.SqlAggFunction(java.lang.String name, SqlIdentifier sqlIdentifier, SqlKind kind, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, SqlFunctionCategory funcType, boolean requiresOrder, boolean requiresOver)
Deprecated.SqlAggFunction(java.lang.String name, SqlIdentifier sqlIdentifier, SqlKind kind, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, SqlFunctionCategory funcType, boolean requiresOrder, boolean requiresOver, Optionality requiresGroupOrder)
Creates a built-in or user-defined SqlAggFunction or window function.SqlAggFunction(java.lang.String name, SqlKind kind, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, SqlFunctionCategory funcType)
Deprecated.SqlFunction(java.lang.String name, SqlIdentifier sqlIdentifier, SqlKind kind, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, java.util.List<RelDataType> paramTypes, SqlFunctionCategory category)
Internal constructor.SqlFunction(java.lang.String name, SqlKind kind, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, SqlFunctionCategory category)
Creates a new SqlFunction for a call to a builtin function.SqlFunction(SqlIdentifier sqlIdentifier, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, java.util.List<RelDataType> paramTypes, SqlFunctionCategory funcType)
Creates a placeholder SqlFunction for an invocation of a function with a possibly qualified name.SqlGroupedWindowFunction(java.lang.String name, SqlKind kind, SqlGroupedWindowFunction groupFunction, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, SqlFunctionCategory category)
Creates a SqlGroupedWindowFunction.SqlUnresolvedFunction(SqlIdentifier sqlIdentifier, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, java.util.List<RelDataType> paramTypes, SqlFunctionCategory funcType)
Creates a placeholder SqlUnresolvedFunction for an invocation of a function with a possibly qualified name. -
Uses of SqlFunctionCategory in org.apache.calcite.sql.fun
Constructors in org.apache.calcite.sql.fun with parameters of type SqlFunctionCategory Constructor Description SqlAbstractGroupFunction(java.lang.String name, SqlKind kind, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, SqlFunctionCategory category)
Creates a SqlAbstractGroupFunction.SqlBaseContextVariable(java.lang.String name, SqlReturnTypeInference returnType, SqlFunctionCategory category)
Creates a SqlBaseContextVariable.SqlMonotonicUnaryFunction(java.lang.String name, SqlKind kind, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, SqlFunctionCategory funcType)
-
Uses of SqlFunctionCategory in org.apache.calcite.sql.parser
Methods in org.apache.calcite.sql.parser with parameters of type SqlFunctionCategory Modifier and Type Method Description protected SqlCall
SqlAbstractParserImpl. createCall(SqlIdentifier funName, SqlParserPos pos, SqlFunctionCategory funcType, SqlLiteral functionQualifier, java.lang.Iterable<? extends SqlNode> operands)
Creates a call.protected SqlCall
SqlAbstractParserImpl. createCall(SqlIdentifier funName, SqlParserPos pos, SqlFunctionCategory funcType, SqlLiteral functionQualifier, SqlNode[] operands)
Creates a call. -
Uses of SqlFunctionCategory in org.apache.calcite.sql.util
Methods in org.apache.calcite.sql.util that return SqlFunctionCategory Modifier and Type Method Description protected static SqlFunctionCategory
ListSqlOperatorTable. category(SqlOperator operator)
Methods in org.apache.calcite.sql.util with parameters of type SqlFunctionCategory Modifier and Type Method Description void
ChainedSqlOperatorTable. lookupOperatorOverloads(SqlIdentifier opName, SqlFunctionCategory category, SqlSyntax syntax, java.util.List<SqlOperator> operatorList)
void
ListSqlOperatorTable. lookupOperatorOverloads(SqlIdentifier opName, SqlFunctionCategory category, SqlSyntax syntax, java.util.List<SqlOperator> operatorList)
void
ReflectiveSqlOperatorTable. lookupOperatorOverloads(SqlIdentifier opName, SqlFunctionCategory category, SqlSyntax syntax, java.util.List<SqlOperator> operatorList)
-
Uses of SqlFunctionCategory in org.apache.calcite.sql.validate
Constructors in org.apache.calcite.sql.validate with parameters of type SqlFunctionCategory Constructor Description SqlUserDefinedFunction(SqlIdentifier opName, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, java.util.List<RelDataType> paramTypes, Function function, SqlFunctionCategory category)
Constructor used internally and by derived classes.
-