Package org.apache.calcite.sql.fun
Class SqlCollectionTableOperator
- java.lang.Object
-
- org.apache.calcite.sql.SqlOperator
-
- org.apache.calcite.sql.SqlSpecialOperator
-
- org.apache.calcite.sql.SqlFunctionalOperator
-
- org.apache.calcite.sql.fun.SqlCollectionTableOperator
-
public class SqlCollectionTableOperator extends SqlFunctionalOperator
SqlCollectionTableOperator is the "table function derived table" operator. It converts a table-valued function into a relation, e.g. "SELECT * FROM TABLE(ramp(5))
".This operator has function syntax (with one argument), whereas
SqlStdOperatorTable.EXPLICIT_TABLE
is a prefix operator.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.calcite.sql.SqlSpecialOperator
SqlSpecialOperator.ReduceResult, SqlSpecialOperator.TokenSequence
-
-
Field Summary
Fields Modifier and Type Field Description private SqlModality
modality
-
Fields inherited from class org.apache.calcite.sql.SqlOperator
kind, MDX_PRECEDENCE, NL
-
-
Constructor Summary
Constructors Constructor Description SqlCollectionTableOperator(java.lang.String name, SqlModality modality)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlModality
getModality()
-
Methods inherited from class org.apache.calcite.sql.SqlFunctionalOperator
unparse
-
Methods inherited from class org.apache.calcite.sql.SqlSpecialOperator
getSyntax, reduceExpr
-
Methods inherited from class org.apache.calcite.sql.SqlOperator
acceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, deriveType, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getMonotonicity, getName, getNameAsId, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, hashCode, inferReturnType, inferReturnType, isAggregator, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, leftPrec, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateCall, validateOperands, validRexOperands
-
-
-
-
Field Detail
-
modality
private final SqlModality modality
-
-
Constructor Detail
-
SqlCollectionTableOperator
public SqlCollectionTableOperator(java.lang.String name, SqlModality modality)
-
-
Method Detail
-
getModality
public SqlModality getModality()
-
-