Uses of Class
org.apache.calcite.sql.SqlOperator
-
Packages that use SqlOperator Package Description org.apache.calcite.adapter.druid Query provider based on a Druid database.org.apache.calcite.adapter.enumerable Query optimizer rules for Java calling convention.org.apache.calcite.adapter.mongodb Query provider based on a MongoDB database.org.apache.calcite.adapter.splunk Splunk query provider.org.apache.calcite.piglet Piglet, a Pig-like language.org.apache.calcite.plan Defines interfaces for constructing rule-based optimizers of relational expressions.org.apache.calcite.prepare Preparation of queries (parsing, planning and implementation).org.apache.calcite.rel.externalize Facilities to externalizeRelNode
s to and from XML and JSON format.org.apache.calcite.rel.rel2sql Translates a relational expression to SQL parse tree.org.apache.calcite.rel.rules Provides a core set of planner rules.org.apache.calcite.rex Provides a language for representing row-expressions.org.apache.calcite.sql Provides a SQL parser and object model.org.apache.calcite.sql.ddl Parse tree for SQL DDL statements.org.apache.calcite.sql.dialect SQL unparsers for JDBC dialects.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.type SQL type system.org.apache.calcite.sql.util Utility classes for the SQL object model, parsing, and validation.org.apache.calcite.sql.validate SQL validation.org.apache.calcite.sql2rel Translates a SQL parse tree to relational expression.org.apache.calcite.tools Provides utility classes. -
-
Uses of SqlOperator in org.apache.calcite.adapter.druid
Fields in org.apache.calcite.adapter.druid declared as SqlOperator Modifier and Type Field Description private SqlOperator
BinaryOperatorConversion. operator
private SqlOperator
DirectOperatorConversion. operator
private SqlOperator
NaryOperatorConverter. operator
private SqlOperator
UnaryPrefixOperatorConversion. operator
private SqlOperator
UnarySuffixOperatorConversion. operator
Fields in org.apache.calcite.adapter.druid with type parameters of type SqlOperator Modifier and Type Field Description (package private) java.util.Map<SqlOperator,DruidSqlOperatorConverter>
DruidQuery. converterOperatorMap
This operator map provides DruidSqlOperatorConverter instance to convert a Calcite RexNode to Druid Expression when possible.Methods in org.apache.calcite.adapter.druid that return SqlOperator Modifier and Type Method Description SqlOperator
BinaryOperatorConversion. calciteOperator()
SqlOperator
CeilOperatorConversion. calciteOperator()
SqlOperator
DirectOperatorConversion. calciteOperator()
SqlOperator
DruidSqlCastConverter. calciteOperator()
SqlOperator
DruidSqlOperatorConverter. calciteOperator()
Returns the calcite SQL operator corresponding to Druid operator.SqlOperator
ExtractOperatorConversion. calciteOperator()
SqlOperator
FloorOperatorConversion. calciteOperator()
SqlOperator
NaryOperatorConverter. calciteOperator()
SqlOperator
SubstringOperatorConversion. calciteOperator()
SqlOperator
UnaryPrefixOperatorConversion. calciteOperator()
SqlOperator
UnarySuffixOperatorConversion. calciteOperator()
Methods in org.apache.calcite.adapter.druid that return types with arguments of type SqlOperator Modifier and Type Method Description protected java.util.Map<SqlOperator,DruidSqlOperatorConverter>
DruidQuery. getOperatorConversionMap()
Method parameters in org.apache.calcite.adapter.druid with type arguments of type SqlOperator Modifier and Type Method Description static DruidQuery
DruidQuery. create(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, DruidTable druidTable, java.util.List<RelNode> rels, java.util.Map<SqlOperator,DruidSqlOperatorConverter> converterOperatorMap)
Creates a DruidQuery.private static DruidQuery
DruidQuery. create(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, DruidTable druidTable, java.util.List<org.joda.time.Interval> intervals, java.util.List<RelNode> rels, java.util.Map<SqlOperator,DruidSqlOperatorConverter> converterOperatorMap)
Creates a DruidQuery.Constructors in org.apache.calcite.adapter.druid with parameters of type SqlOperator Constructor Description BinaryOperatorConversion(SqlOperator operator, java.lang.String druidOperator)
DirectOperatorConversion(SqlOperator operator, java.lang.String druidFunctionName)
NaryOperatorConverter(SqlOperator operator, java.lang.String druidOperatorName)
UnaryPrefixOperatorConversion(SqlOperator operator, java.lang.String druidOperator)
UnarySuffixOperatorConversion(SqlOperator operator, java.lang.String druidOperator)
Constructor parameters in org.apache.calcite.adapter.druid with type arguments of type SqlOperator Constructor Description DruidQuery(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, DruidTable druidTable, java.util.List<org.joda.time.Interval> intervals, java.util.List<RelNode> rels, java.util.Map<SqlOperator,DruidSqlOperatorConverter> converterOperatorMap)
Creates a DruidQuery. -
Uses of SqlOperator in org.apache.calcite.adapter.enumerable
Fields in org.apache.calcite.adapter.enumerable with type parameters of type SqlOperator Modifier and Type Field Description static java.util.Map<java.lang.reflect.Method,SqlOperator>
RexToLixTranslator. JAVA_TO_SQL_METHOD_MAP
private java.util.Map<SqlOperator,CallImplementor>
RexImpTable. map
Methods in org.apache.calcite.adapter.enumerable with parameters of type SqlOperator Modifier and Type Method Description private void
RexImpTable. defineBinary(SqlOperator operator, ExpressionType expressionType, NullPolicy nullPolicy, java.lang.String backupMethodName)
private void
RexImpTable. defineImplementor(SqlOperator operator, NullPolicy nullPolicy, NotNullImplementor implementor, boolean harmonize)
private void
RexImpTable. defineMethod(SqlOperator operator, java.lang.reflect.Method method, NullPolicy nullPolicy)
private void
RexImpTable. defineMethod(SqlOperator operator, java.lang.String functionName, NullPolicy nullPolicy)
private void
RexImpTable. defineMethodReflective(SqlOperator operator, java.lang.reflect.Method method, NullPolicy nullPolicy)
private void
RexImpTable. defineUnary(SqlOperator operator, ExpressionType expressionType, NullPolicy nullPolicy)
CallImplementor
RexImpTable. get(SqlOperator operator)
-
Uses of SqlOperator in org.apache.calcite.adapter.mongodb
Fields in org.apache.calcite.adapter.mongodb with type parameters of type SqlOperator Modifier and Type Field Description private static java.util.Map<SqlOperator,java.lang.String>
MongoRules.RexToMongoTranslator. MONGO_OPERATORS
-
Uses of SqlOperator in org.apache.calcite.adapter.splunk
Methods in org.apache.calcite.adapter.splunk with parameters of type SqlOperator Modifier and Type Method Description private boolean
SplunkPushDownRule. getFilter(SqlOperator op, java.util.List<RexNode> operands, java.lang.StringBuilder s, java.util.List<java.lang.String> fieldNames)
private java.lang.String
SplunkPushDownRule. toString(SqlOperator op)
-
Uses of SqlOperator in org.apache.calcite.piglet
Methods in org.apache.calcite.piglet that return SqlOperator Modifier and Type Method Description private static SqlOperator
Handler. op(Ast.Op op)
-
Uses of SqlOperator in org.apache.calcite.plan
Fields in org.apache.calcite.plan with type parameters of type SqlOperator Modifier and Type Field Description (package private) java.util.Map<RexInputRef,RexImplicationChecker.InputRefUsage<SqlOperator,RexNode>>
RexImplicationChecker.InputUsageFinder. usageMap
Methods in org.apache.calcite.plan that return SqlOperator Modifier and Type Method Description static SqlOperator
RelOptUtil. op(SqlKind kind, SqlOperator operator)
private SqlOperator
RexImplicationChecker.InputUsageFinder. reverse(SqlOperator op)
Methods in org.apache.calcite.plan that return types with arguments of type SqlOperator Modifier and Type Method Description private RexImplicationChecker.InputRefUsage<SqlOperator,RexNode>
RexImplicationChecker.InputUsageFinder. getUsageMap(RexInputRef rex)
Methods in org.apache.calcite.plan with parameters of type SqlOperator Modifier and Type Method Description static SqlOperator
RelOptUtil. op(SqlKind kind, SqlOperator operator)
private SqlOperator
RexImplicationChecker.InputUsageFinder. reverse(SqlOperator op)
private void
RexImplicationChecker.InputUsageFinder. updateUsage(SqlOperator op, RexInputRef inputRef, RexNode literal)
-
Uses of SqlOperator in org.apache.calcite.prepare
Methods in org.apache.calcite.prepare that return SqlOperator Modifier and Type Method Description private static SqlOperator
CalciteCatalogReader. toOp(RelDataTypeFactory typeFactory, SqlIdentifier name, Function function)
Converts a function to aSqlOperator
.private SqlOperator
CalciteCatalogReader. toOp(SqlIdentifier name, Function function)
Methods in org.apache.calcite.prepare that return types with arguments of type SqlOperator Modifier and Type Method Description java.util.List<SqlOperator>
CalciteCatalogReader. getOperatorList()
Method parameters in org.apache.calcite.prepare with type arguments of type SqlOperator Modifier and Type Method Description void
CalciteCatalogReader. lookupOperatorOverloads(SqlIdentifier opName, SqlFunctionCategory category, SqlSyntax syntax, java.util.List<SqlOperator> operatorList)
-
Uses of SqlOperator in org.apache.calcite.rel.externalize
Methods in org.apache.calcite.rel.externalize that return SqlOperator Modifier and Type Method Description private SqlOperator
RelJson. toOp(java.lang.String op, java.util.Map<java.lang.String,java.lang.Object> map)
Methods in org.apache.calcite.rel.externalize with parameters of type SqlOperator Modifier and Type Method Description private java.lang.String
RelJson. toJson(SqlOperator operator)
-
Uses of SqlOperator in org.apache.calcite.rel.rel2sql
Methods in org.apache.calcite.rel.rel2sql that return SqlOperator Modifier and Type Method Description private static SqlOperator
SqlImplementor. reverseOperatorDirection(SqlOperator op)
Methods in org.apache.calcite.rel.rel2sql with parameters of type SqlOperator Modifier and Type Method Description private SqlNode
SqlImplementor.Context. createLeftCall(SqlOperator op, java.util.List<SqlNode> nodeList)
private static SqlOperator
SqlImplementor. reverseOperatorDirection(SqlOperator op)
-
Uses of SqlOperator in org.apache.calcite.rel.rules
Fields in org.apache.calcite.rel.rules with type parameters of type SqlOperator Modifier and Type Field Description private java.util.Map<SqlOperator,ReduceDecimalsRule.RexExpander>
ReduceDecimalsRule.ExpanderMap. map
private java.util.Set<SqlOperator>
PushProjector.OperatorExprCondition. operatorSet
private java.util.Deque<SqlOperator>
ReduceExpressionsRule.ReducibleExprLocator. parentCallTypeStack
Methods in org.apache.calcite.rel.rules with parameters of type SqlOperator Modifier and Type Method Description private java.lang.Boolean
ReduceExpressionsRule.ReducibleExprLocator. isUdf(SqlOperator operator)
Constructor parameters in org.apache.calcite.rel.rules with type arguments of type SqlOperator Constructor Description OperatorExprCondition(java.lang.Iterable<? extends SqlOperator> operatorSet)
Creates an OperatorExprCondition. -
Uses of SqlOperator in org.apache.calcite.rex
Fields in org.apache.calcite.rex declared as SqlOperator Modifier and Type Field Description SqlOperator
RexCall. op
private SqlOperator
RexSqlStandardConvertletTable.EquivConvertlet. op
Fields in org.apache.calcite.rex with type parameters of type SqlOperator Modifier and Type Field Description private static java.util.Set<SqlOperator>
RexMultisetUtil. MULTISET_OPERATORS
A set defining all implementable multiset callsprivate java.util.Set<SqlOperator>
RexTransformer. transformableOperators
Methods in org.apache.calcite.rex that return SqlOperator Modifier and Type Method Description SqlOperator
RexCall. getOperator()
(package private) static SqlOperator
RexUtil. op(SqlKind kind)
Methods in org.apache.calcite.rex with parameters of type SqlOperator Modifier and Type Method Description RelDataType
RexBuilder. deriveReturnType(SqlOperator op, java.util.List<? extends RexNode> exprs)
Derives the return type of a call to an operator.static RexCall
RexUtil. findOperatorCall(SqlOperator operator, RexNode node)
Returns whether a given node contains a RexCall with a specified operatorstatic java.util.List<RexNode>
RexUtil. flatten(java.util.List<? extends RexNode> exprs, SqlOperator op)
Converts a list of operands into a list that is flat with respect to the given operator.private static void
RexUtil. flattenRecurse(java.util.List<RexNode> list, java.util.List<? extends RexNode> exprs, SqlOperator op)
private static boolean
RexUtil. isAssociative(SqlOperator op)
Returns whether an operator is associative.static boolean
RexUtil. isCallTo(RexNode expr, SqlOperator op)
private static boolean
RexUtil. isFlat(java.util.List<? extends RexNode> exprs, SqlOperator op)
Returns whether a call toop
withexprs
as arguments would be considered "flat".RexNode
RexBuilder. makeCall(RelDataType returnType, SqlOperator op, java.util.List<RexNode> exprs)
Creates a call with a list of arguments and a predetermined type.RexNode
RexBuilder. makeCall(SqlOperator op, java.util.List<? extends RexNode> exprs)
Creates a call with an array of arguments.RexNode
RexBuilder. makeCall(SqlOperator op, RexNode... exprs)
Creates a call with a list of arguments.private void
RexSqlStandardConvertletTable. registerCaseOp(SqlOperator op)
Creates and registers a convertlet for the CASE operator, which takes different forms for SQL vs Rex.protected void
RexSqlStandardConvertletTable. registerEquivOp(SqlOperator op)
Creates and registers a convertlet for an operator in which the SQL and Rex representations are structurally equivalent.protected void
RexSqlReflectiveConvertletTable. registerOp(SqlOperator op, RexSqlConvertlet convertlet)
Registers a convertlet for a given operator instanceprivate void
RexSqlStandardConvertletTable. registerTypeAppendOp(SqlOperator op)
Creates and registers a convertlet for an operator in which the SQL representation needs the result type appended as an extra argument (e.g.Constructors in org.apache.calcite.rex with parameters of type SqlOperator Constructor Description EquivConvertlet(SqlOperator op)
RexCall(RelDataType type, SqlOperator op, java.util.List<? extends RexNode> operands)
RexCallBinding(RelDataTypeFactory typeFactory, SqlOperator sqlOperator, java.util.List<? extends RexNode> operands, java.util.List<RelCollation> inputCollations)
RexCastCallBinding(RelDataTypeFactory typeFactory, SqlOperator sqlOperator, java.util.List<? extends RexNode> operands, RelDataType type, java.util.List<RelCollation> inputCollations)
RexSubQuery(RelDataType type, SqlOperator op, com.google.common.collect.ImmutableList<RexNode> operands, RelNode rel)
-
Uses of SqlOperator in org.apache.calcite.sql
Subclasses of SqlOperator in org.apache.calcite.sql Modifier and Type Class Description class
SqlAggFunction
Abstract base class for the definition of an aggregate function: an operator which aggregates sets of values into a result.class
SqlAsOperator
TheAS
operator associates an expression with an alias.class
SqlBinaryOperator
SqlBinaryOperator
is a binary operator.class
SqlFilterOperator
An operator that applies a filter before rows are included in an aggregate function.class
SqlFunction
ASqlFunction
is a type of operator which has conventional function-call syntax.class
SqlFunctionalOperator
SqlFunctionalOperator is a base class for special operators which use functional syntax.class
SqlGroupedWindowFunction
SQL function that computes keys by which rows can be partitioned and aggregated.class
SqlInfixOperator
A generalization of a binary operator to involve several (two or more) arguments, and keywords between each pair of arguments.class
SqlInternalOperator
Generic operator for nodes with internal syntax.class
SqlJdbcFunctionCall
ASqlJdbcFunctionCall
is a node of a parse tree which represents a JDBC function call.static class
SqlJoin.SqlJoinOperator
SqlJoinOperator
describes the syntax of the SQLJOIN
operator.class
SqlLateralOperator
An operator describing a LATERAL specification.static class
SqlMatchRecognize.SqlMatchRecognizeOperator
An operator describing a MATCH_RECOGNIZE specification.private static class
SqlOrderBy.Operator
Definition ofORDER BY
operator.class
SqlOverOperator
An operator describing a window function specification.class
SqlPostfixOperator
A postfix unary operator.class
SqlPrefixOperator
A unary operator.class
SqlProcedureCallOperator
SqlProcedureCallOperator represents the CALL statement.class
SqlRankFunction
Operator which aggregates sets of values into a result.class
SqlSelectOperator
An operator describing a query.class
SqlSetOperator
SqlSetOperator represents a relational set theory operator (UNION, INTERSECT, MINUS).class
SqlSpecialOperator
Generic operator for nodes with special syntax.class
SqlUnnestOperator
TheUNNEST
operator.class
SqlUnresolvedFunction
Placeholder for an unresolved function.class
SqlValuesOperator
TheVALUES
operator.private static class
SqlWindow.SqlWindowOperator
An operator describing a window specification.private static class
SqlWith.SqlWithOperator
SqlWithOperator is used to represent a WITH clause of a query.class
SqlWithinGroupOperator
An operator that applies a sort operation before rows are included in an aggregate function.private static class
SqlWithItem.SqlWithItemOperator
SqlWithItemOperator is used to represent an item in a WITH clause of a query.Fields in org.apache.calcite.sql declared as SqlOperator Modifier and Type Field Description protected static SqlOperator
SqlDdl. DDL_OPERATOR
Use this operator only if you don't have a better one.private SqlOperator
SqlBasicCall. operator
private SqlOperator
SqlDdl. operator
(package private) SqlOperator
SqlJdbcFunctionCall.SimpleMakeCall. operator
private SqlOperator
SqlOperatorBinding. sqlOperator
Fields in org.apache.calcite.sql with type parameters of type SqlOperator Modifier and Type Field Description protected static java.util.Set<SqlOperator>
SqlDialect. BUILT_IN_OPERATORS_LIST
Built-in scalar functions and operators common for every dialect.Methods in org.apache.calcite.sql that return SqlOperator Modifier and Type Method Description SqlOperator
SqlBasicCall. getOperator()
abstract SqlOperator
SqlCall. getOperator()
SqlOperator
SqlDdl. getOperator()
SqlOperator
SqlDelete. getOperator()
SqlOperator
SqlDescribeSchema. getOperator()
SqlOperator
SqlDescribeTable. getOperator()
SqlOperator
SqlExplain. getOperator()
SqlOperator
SqlInsert. getOperator()
SqlOperator
SqlJdbcFunctionCall.MakeCall. getOperator()
SqlOperator
SqlJdbcFunctionCall.SimpleMakeCall. getOperator()
SqlOperator
SqlJoin. getOperator()
SqlOperator
SqlMatchRecognize. getOperator()
SqlOperator
SqlMerge. getOperator()
SqlOperator
SqlOperatorBinding. getOperator()
SqlOperator
SqlOrderBy. getOperator()
SqlOperator
SqlSelect. getOperator()
SqlOperator
SqlSetOption. getOperator()
SqlOperator
SqlUpdate. getOperator()
SqlOperator
SqlWindow. getOperator()
SqlOperator
SqlWith. getOperator()
SqlOperator
SqlWithItem. getOperator()
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.SqlOperator
SqlSpecialOperator.TokenSequence. op(int i)
Methods in org.apache.calcite.sql that return types with arguments of type SqlOperator Modifier and Type Method Description private static java.util.Iterator<SqlOperator>
SqlUtil. filterOperatorRoutinesByKind(java.util.Iterator<SqlOperator> routines, SqlKind sqlKind)
private static java.util.Iterator<SqlOperator>
SqlUtil. filterRoutinesByParameterCount(java.util.Iterator<SqlOperator> routines, java.util.List<RelDataType> argTypes)
private static java.util.Iterator<SqlOperator>
SqlUtil. filterRoutinesByParameterType(SqlSyntax syntax, java.util.Iterator<SqlOperator> routines, java.util.List<RelDataType> argTypes, java.util.List<java.lang.String> argNames)
private static java.util.Iterator<SqlOperator>
SqlUtil. filterRoutinesByTypePrecedence(SqlSyntax sqlSyntax, java.util.Iterator<SqlOperator> routines, java.util.List<RelDataType> argTypes)
java.util.List<SqlOperator>
SqlOperatorTable. getOperatorList()
Retrieves a list of all functions and operators in this table.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)
Methods in org.apache.calcite.sql with parameters of type SqlOperator Modifier and Type Method Description static java.lang.String
SqlUtil. getAliasedSignature(SqlOperator op, java.lang.String opName, java.util.List<?> typeList)
Constructs an operator signature from a type list, substituting an alias for the operator name.static java.lang.String
SqlUtil. getOperatorSignature(SqlOperator op, java.util.List<?> typeList)
Constructs an operator signature from a type list.static boolean
SqlUtil. isCallTo(SqlNode node, SqlOperator operator)
void
SqlBasicCall. setOperator(SqlOperator operator)
private SqlJdbcFunctionCall.MakeCall
SqlJdbcFunctionCall.JdbcToInternalLookupTable. simple(SqlOperator operator)
boolean
SqlDialect. supportsFunction(SqlOperator operator, RelDataType type, java.util.List<RelDataType> paramTypes)
Returns whether this dialect supports a given function or operator.abstract void
SqlSyntax. unparse(SqlWriter writer, SqlOperator operator, SqlCall call, int leftPrec, int rightPrec)
Converts a call to an operator of this syntax into a string.static void
SqlUtil. unparseBinarySyntax(SqlOperator operator, SqlCall call, SqlWriter writer, int leftPrec, int rightPrec)
static void
SqlUtil. unparseFunctionSyntax(SqlOperator operator, SqlWriter writer, SqlCall call)
Unparses a call to an operator which has function syntax.Method parameters in org.apache.calcite.sql with type arguments of type SqlOperator Modifier and Type Method Description private static java.util.Iterator<SqlOperator>
SqlUtil. filterOperatorRoutinesByKind(java.util.Iterator<SqlOperator> routines, SqlKind sqlKind)
private static java.util.Iterator<SqlOperator>
SqlUtil. filterRoutinesByParameterCount(java.util.Iterator<SqlOperator> routines, java.util.List<RelDataType> argTypes)
private static java.util.Iterator<SqlOperator>
SqlUtil. filterRoutinesByParameterType(SqlSyntax syntax, java.util.Iterator<SqlOperator> routines, java.util.List<RelDataType> argTypes, java.util.List<java.lang.String> argNames)
private static java.util.Iterator<SqlOperator>
SqlUtil. filterRoutinesByTypePrecedence(SqlSyntax sqlSyntax, java.util.Iterator<SqlOperator> routines, java.util.List<RelDataType> argTypes)
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.Constructors in org.apache.calcite.sql with parameters of type SqlOperator Constructor Description ExplicitOperatorBinding(RelDataTypeFactory typeFactory, SqlOperator operator, java.util.List<RelDataType> types)
ExplicitOperatorBinding(SqlOperatorBinding delegate, RelDataTypeFactory typeFactory, SqlOperator operator, java.util.List<RelDataType> types)
PermutingMakeCall(SqlOperator operator, int[] order)
Creates a MakeCall strategy object with reordering of operands.SimpleMakeCall(SqlOperator operator)
SqlBasicCall(SqlOperator operator, SqlNode[] operands, SqlParserPos pos)
SqlBasicCall(SqlOperator operator, SqlNode[] operands, SqlParserPos pos, boolean expanded, SqlLiteral functionQualifier)
SqlCreate(SqlOperator operator, SqlParserPos pos, boolean replace, boolean ifNotExists)
Creates a SqlCreate.SqlDdl(SqlOperator operator, SqlParserPos pos)
Creates a SqlDdl.SqlDrop(SqlOperator operator, SqlParserPos pos, boolean ifExists)
Creates a SqlDrop.SqlOperatorBinding(RelDataTypeFactory typeFactory, SqlOperator sqlOperator)
Creates a SqlOperatorBinding. -
Uses of SqlOperator in org.apache.calcite.sql.ddl
Fields in org.apache.calcite.sql.ddl declared as SqlOperator Modifier and Type Field Description private static SqlOperator
SqlCreateForeignSchema. OPERATOR
private static SqlOperator
SqlCreateMaterializedView. OPERATOR
private static SqlOperator
SqlCreateSchema. OPERATOR
private static SqlOperator
SqlCreateTable. OPERATOR
private static SqlOperator
SqlCreateType. OPERATOR
private static SqlOperator
SqlCreateView. OPERATOR
private static SqlOperator
SqlDropFunction. OPERATOR
private static SqlOperator
SqlDropMaterializedView. OPERATOR
private static SqlOperator
SqlDropSchema. OPERATOR
private static SqlOperator
SqlDropTable. OPERATOR
private static SqlOperator
SqlDropType. OPERATOR
private static SqlOperator
SqlDropView. OPERATOR
Methods in org.apache.calcite.sql.ddl that return SqlOperator Modifier and Type Method Description SqlOperator
SqlAttributeDefinition. getOperator()
SqlOperator
SqlCheckConstraint. getOperator()
SqlOperator
SqlColumnDeclaration. getOperator()
SqlOperator
SqlCreateFunction. getOperator()
SqlOperator
SqlKeyConstraint. getOperator()
Constructors in org.apache.calcite.sql.ddl with parameters of type SqlOperator Constructor Description SqlDropObject(SqlOperator operator, SqlParserPos pos, boolean ifExists, SqlIdentifier name)
Creates a SqlDropObject. -
Uses of SqlOperator in org.apache.calcite.sql.dialect
Methods in org.apache.calcite.sql.dialect with parameters of type SqlOperator Modifier and Type Method Description boolean
JethroDataSqlDialect. supportsFunction(SqlOperator operator, RelDataType type, java.util.List<RelDataType> paramTypes)
-
Uses of SqlOperator in org.apache.calcite.sql.fun
Subclasses of SqlOperator in org.apache.calcite.sql.fun Modifier and Type Class Description class
SqlAbstractGroupFunction
Base class for grouping functionsGROUP_ID
,GROUPING_ID
,GROUPING
.class
SqlAbstractTimeFunction
Base class for time functions such as "LOCALTIME", "LOCALTIME(n)".class
SqlAnyValueAggFunction
Definition of theANY_VALUE
aggregate functions, returning any one of the values which go into it.(package private) class
SqlArgumentAssignmentOperator
Operator that assigns an argument to a function call to a particular named parameter.class
SqlArrayQueryConstructor
Definition of the SQL:2003 standard ARRAY query constructor,ARRAY (<query>)
.class
SqlArrayValueConstructor
Definition of the SQL:2003 standard ARRAY constructor,ARRAY [<expr>, ...]
.class
SqlAvgAggFunction
Avg
is an aggregator which returns the average of the values which go into it.class
SqlBaseContextVariable
Base class for functions such as "PI", "USER", "CURRENT_ROLE", and "CURRENT_PATH".class
SqlBetweenOperator
Defines the BETWEEN operator.class
SqlCaseOperator
An operator describing aCASE
,NULLIF
orCOALESCE
expression.class
SqlCastFunction
SqlCastFunction.class
SqlCoalesceFunction
TheCOALESCE
function.class
SqlCollectionTableOperator
SqlCollectionTableOperator is the "table function derived table" operator.class
SqlColumnListConstructor
SqlColumnListConstructor defines the non-standard constructor used to pass a COLUMN_LIST parameter to a UDX.class
SqlConvertFunction
Common base for theCONVERT
andTRANSLATE
functions.class
SqlCountAggFunction
Definition of the SQLCOUNT
aggregation function.class
SqlCovarAggFunction
Covar
is an aggregator which returns the Covariance of the values which go into it.class
SqlCurrentDateFunction
TheCURRENT_DATE
function.class
SqlCursorConstructor
SqlCursorConstructor defines the non-standard CURSOR(<query>) constructor.class
SqlDatePartFunction
SqlDatePartFunction represents the SQL:1999 standardYEAR
,QUARTER
,MONTH
andDAY
functions.class
SqlDatetimePlusOperator
Operator that adds an INTERVAL to a DATETIME.class
SqlDatetimeSubtractionOperator
A special operator for the subtraction of two DATETIMEs.(package private) class
SqlDefaultOperator
Operator that indicates that an argument to a function call is to take its default value.class
SqlDotOperator
The dot operator.
, used to access a field of a record.(package private) class
SqlExtendOperator
EXTEND
operator.class
SqlExtractFunction
The SQLEXTRACT
operator.class
SqlFirstLastValueAggFunction
FIRST_VALUE
andLAST_VALUE
aggregate functions return the first or the last value in a list of values that are input to the function.class
SqlFloorFunction
Definition of the "FLOOR" and "CEIL" built-in SQL functions.(package private) class
SqlGroupIdFunction
TheGROUP_ID()
function.(package private) class
SqlGroupingFunction
TheGROUPING
function.(package private) class
SqlGroupingIdFunction
Deprecated.Now thatGROUPING
has the same functionality, this function is deprecated.class
SqlHistogramAggFunction
HISTOGRAM
is the base operator that supports the Histogram MIN/MAX aggregate functions.class
SqlInOperator
Definition of the SQLIN
operator, which tests for a value's membership in a sub-query or a list of values.(package private) class
SqlItemOperator
The item operator[ ... ]
, used to access a given element of an array or map.class
SqlJsonApiCommonSyntaxOperator
The JSON API common syntax including a path specification, which is for JSON querying and processing.class
SqlJsonArrayAggAggFunction
TheJSON_OBJECTAGG
aggregate function.class
SqlJsonArrayFunction
TheJSON_ARRAY
function.class
SqlJsonExistsFunction
TheJSON_EXISTS
function.class
SqlJsonObjectAggAggFunction
TheJSON_OBJECTAGG
aggregate function.class
SqlJsonObjectFunction
TheJSON_OBJECT
function.class
SqlJsonQueryFunction
TheJSON_QUERY
function.class
SqlJsonValueExpressionOperator
The JSON value expression operator that indicates that the value expression should be parsed as JSON.class
SqlJsonValueFunction
TheJSON_VALUE
function.class
SqlLeadLagAggFunction
LEAD
andLAG
aggregate functions return the value of given expression evaluated at given offset.class
SqlLikeOperator
An operator describing theLIKE
andSIMILAR
operators.class
SqlLiteralChainOperator
Internal operator, by which the parser represents a continued string literal.class
SqlMapQueryConstructor
Definition of the MAP query constructor,MAP (<query>)
.class
SqlMapValueConstructor
Definition of the MAP constructor,MAP [<key>, <value>, ...]
.class
SqlMinMaxAggFunction
Definition of theMIN
andMAX
aggregate functions, returning the returns the smallest/largest of the values which go into it.class
SqlMonotonicBinaryOperator
Base class for binary operators such as addition, subtraction, and multiplication which are monotonic for the patternsm op c
andc op m
where m is any monotonic expression and c is a constant.class
SqlMonotonicUnaryFunction
Base class for unary operators such as FLOOR/CEIL which are monotonic for monotonic inputs.class
SqlMultisetMemberOfOperator
Multiset MEMBER OF.class
SqlMultisetQueryConstructor
Definition of the SQL:2003 standard MULTISET query constructor,MULTISET (<query>)
.class
SqlMultisetSetOperator
An operator which performs set operations on multisets, such as "MULTISET UNION ALL".class
SqlMultisetValueConstructor
Definition of the SQL:2003 standard MULTISET constructor,MULTISET [<expr>, ...]
.class
SqlNewOperator
SqlNewOperator represents an SQLnew specification
such asNEW UDT(1, 2)
.class
SqlNthValueAggFunction
NTH_VALUE
windowed aggregate function returns the value of an expression evaluated at then
th row of the window frame.class
SqlNtileAggFunction
NTILE
aggregate function return the value of given expression evaluated at given offset.class
SqlNullifFunction
TheNULLIF
function.class
SqlOverlapsOperator
SqlOverlapsOperator represents the SQL:1999 standardOVERLAPS
function.class
SqlOverlayFunction
TheOVERLAY
function.class
SqlPositionFunction
ThePOSITION
function.class
SqlQuantifyOperator
Definition of the SQLALL
andSOME
operators.class
SqlRandFunction
TheRAND
function.class
SqlRandIntegerFunction
TheRAND_INTEGER
function.class
SqlRegrCountAggFunction
Definition of the SQLREGR_COUNT
aggregation function.(package private) class
SqlRollupOperator
Operator that appears in aGROUP BY
clause:CUBE
,ROLLUP
,GROUPING SETS
.class
SqlRowOperator
SqlRowOperator represents the special ROW constructor.class
SqlSequenceValueOperator
Operator that returns the current or next value of a sequence.class
SqlSingleValueAggFunction
SINGLE_VALUE
aggregate function returns the input value if there is only one value in the input; Otherwise it triggers a run-time error.class
SqlStringContextVariable
Base class for string functions such as "USER", "CURRENT_ROLE", and "CURRENT_PATH".class
SqlSubstringFunction
Definition of the "SUBSTRING" builtin SQL function.class
SqlSumAggFunction
Sum
is an aggregator which returns the sum of the values which go into it.class
SqlSumEmptyIsZeroAggFunction
Sum0
is an aggregator which returns the sum of the values which go into it likeSum
.class
SqlThrowOperator
An internal operator that throws an exception.class
SqlTimestampAddFunction
TheTIMESTAMPADD
function, which adds an interval to a datetime (TIMESTAMP, TIME or DATE).(package private) class
SqlTimestampDiffFunction
TheTIMESTAMPDIFF
function, which calculates the difference between two timestamps.class
SqlTranslate3Function
Definition of the "TRANSLATE" built-in SQL function that takes 3 arguments.class
SqlTrimFunction
Definition of the "TRIM" builtin SQL function.Fields in org.apache.calcite.sql.fun declared as SqlOperator Modifier and Type Field Description static SqlOperator
SqlStdOperatorTable. CURRENT_VALUE
The sequence current value function:CURRENT VALUE FOR sequence
static SqlOperator
SqlStdOperatorTable. DOT
Dot operator, '.
', used for referencing fields of records.static SqlOperator
SqlStdOperatorTable. ITEM
The item operator[ ... ]
, used to access a given element of an array or map.static SqlOperator
SqlStdOperatorTable. NEW
static SqlOperator
SqlStdOperatorTable. NEXT_VALUE
The sequence next value function:NEXT VALUE FOR sequence
static SqlOperator
SqlStdOperatorTable. PROCEDURE_CALL
Methods in org.apache.calcite.sql.fun that return SqlOperator Modifier and Type Method Description SqlOperator
SqlCase. getOperator()
Methods in org.apache.calcite.sql.fun with parameters of type SqlOperator Modifier and Type Method Description private static SqlCall
SqlStdOperatorTable. copy(SqlCall call, SqlOperator operator)
Creates a copy of a call with a new operator. -
Uses of SqlOperator in org.apache.calcite.sql.parser
Fields in org.apache.calcite.sql.parser declared as SqlOperator Modifier and Type Field Description private SqlOperator
SqlParserUtil.ToTreeListItem. op
Methods in org.apache.calcite.sql.parser that return SqlOperator Modifier and Type Method Description SqlOperator
SqlParserUtil.ToTreeListItem. getOperator()
SqlOperator
SqlParserUtil.OldTokenSequenceImpl. op(int i)
SqlOperator
SqlParserUtil.TokenSequenceImpl. op(int i)
Constructors in org.apache.calcite.sql.parser with parameters of type SqlOperator Constructor Description ToTreeListItem(SqlOperator op, SqlParserPos pos)
-
Uses of SqlOperator in org.apache.calcite.sql.type
Methods in org.apache.calcite.sql.type with parameters of type SqlOperator Modifier and Type Method Description java.lang.String
AssignableOperandTypeChecker. getAllowedSignatures(SqlOperator op, java.lang.String opName)
java.lang.String
CompositeOperandTypeChecker. getAllowedSignatures(SqlOperator op, java.lang.String opName)
java.lang.String
FamilyOperandTypeChecker. getAllowedSignatures(SqlOperator op, java.lang.String opName)
java.lang.String
LiteralOperandTypeChecker. getAllowedSignatures(SqlOperator op, java.lang.String opName)
java.lang.String
MultisetOperandTypeChecker. getAllowedSignatures(SqlOperator op, java.lang.String opName)
java.lang.String
OperandTypes.PeriodOperandTypeChecker. getAllowedSignatures(SqlOperator op, java.lang.String opName)
java.lang.String
SameOperandTypeChecker. getAllowedSignatures(SqlOperator op, java.lang.String opName)
java.lang.String
SameOperandTypeExceptLastOperandChecker. getAllowedSignatures(SqlOperator op, java.lang.String opName)
java.lang.String
SetopOperandTypeChecker. getAllowedSignatures(SqlOperator op, java.lang.String opName)
java.lang.String
SqlOperandTypeChecker. getAllowedSignatures(SqlOperator op, java.lang.String opName)
Returns a string describing the allowed formal signatures of a call, e.g. -
Uses of SqlOperator in org.apache.calcite.sql.util
Fields in org.apache.calcite.sql.util with type parameters of type SqlOperator Modifier and Type Field Description private java.util.List<SqlOperator>
ListSqlOperatorTable. operatorList
private com.google.common.collect.Multimap<ReflectiveSqlOperatorTable.Key,SqlOperator>
ReflectiveSqlOperatorTable. operators
Methods in org.apache.calcite.sql.util that return types with arguments of type SqlOperator Modifier and Type Method Description java.util.List<SqlOperator>
ChainedSqlOperatorTable. getOperatorList()
java.util.List<SqlOperator>
ListSqlOperatorTable. getOperatorList()
java.util.List<SqlOperator>
ReflectiveSqlOperatorTable. getOperatorList()
Methods in org.apache.calcite.sql.util with parameters of type SqlOperator Modifier and Type Method Description void
ListSqlOperatorTable. add(SqlOperator op)
protected static SqlFunctionCategory
ListSqlOperatorTable. category(SqlOperator operator)
void
ReflectiveSqlOperatorTable. register(SqlOperator op)
Registers a function or operator in the table.Method parameters in org.apache.calcite.sql.util with type arguments of type SqlOperator 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)
Constructor parameters in org.apache.calcite.sql.util with type arguments of type SqlOperator Constructor Description ListSqlOperatorTable(java.util.List<SqlOperator> operatorList)
-
Uses of SqlOperator in org.apache.calcite.sql.validate
Subclasses of SqlOperator in org.apache.calcite.sql.validate Modifier and Type Class Description class
SqlUserDefinedAggFunction
User-defined aggregate function.class
SqlUserDefinedFunction
User-defined scalar function.class
SqlUserDefinedTableFunction
User-defined table function.class
SqlUserDefinedTableMacro
User-defined table macro.Fields in org.apache.calcite.sql.validate declared as SqlOperator Modifier and Type Field Description (package private) SqlOperator
SqlValidatorImpl.NavigationExpander. op
Constructors in org.apache.calcite.sql.validate with parameters of type SqlOperator Constructor Description NavigationExpander(SqlOperator operator, SqlNode offset)
-
Uses of SqlOperator in org.apache.calcite.sql2rel
Methods in org.apache.calcite.sql2rel with parameters of type SqlOperator Modifier and Type Method Description protected void
ReflectiveConvertletTable. addAlias(SqlOperator alias, SqlOperator target)
Registers that one operator is an alias for another.private RexNode
StandardConvertletTable. convertCall(SqlRexContext cx, SqlCall call, SqlOperator op)
private RexNode
RelStructuredTypeFlattener.RewriteRexShuttle. flattenComparison(RexBuilder rexBuilder, SqlOperator op, java.util.List<RexNode> exprs)
private java.util.Set<RelColumnMapping>
SqlToRelConverter. getColumnMappings(SqlOperator op)
protected void
ReflectiveConvertletTable. registerOp(SqlOperator op, SqlRexConvertlet convertlet)
Registers a convertlet for a given operator instance -
Uses of SqlOperator in org.apache.calcite.tools
Methods in org.apache.calcite.tools with parameters of type SqlOperator Modifier and Type Method Description RexNode
RelBuilder. call(SqlOperator operator, java.lang.Iterable<? extends RexNode> operands)
Creates a call to a scalar operator.private RexNode
RelBuilder. call(SqlOperator operator, java.util.List<RexNode> operandList)
Creates a call to a scalar operator.RexNode
RelBuilder. call(SqlOperator operator, RexNode... operands)
Creates a call to a scalar operator.
-