Package org.apache.calcite.sql.fun
Class SqlRowOperator
java.lang.Object
org.apache.calcite.sql.SqlOperator
org.apache.calcite.sql.SqlSpecialOperator
org.apache.calcite.sql.fun.SqlRowOperator
SqlRowOperator represents the special ROW constructor.
 
TODO: describe usage for row-value construction and row-type construction (SQL supports both).
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.calcite.sql.SqlSpecialOperatorSqlSpecialOperator.ReduceResult, SqlSpecialOperator.TokenSequence
- 
Field SummaryFields inherited from class org.apache.calcite.sql.SqlOperatorkind, MDX_PRECEDENCE, NL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioninferReturnType(SqlOperatorBinding opBinding) Infers the return type of an invocation of this operator; only called after the number and types of operands have already been validated.booleanMethod to check if call requires expansion when it has decimal operands.voidWrites a SQL representation of a call to this operator to a writer, including parentheses if the operators on either side are of greater precedence.Methods inherited from class org.apache.calcite.sql.SqlSpecialOperatorgetSyntax, reduceExprMethods inherited from class org.apache.calcite.sql.SqlOperatoracceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, createCall, createCall, createCall, deriveOperandType, deriveType, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getMonotonicity, getName, getNameAsId, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, getSqlCallFactory, getStrongPolicyInference, hashCode, inferReturnType, isAggregator, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, not, preValidateCall, requiresOrder, requiresOver, reverse, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateCall, validateOperands, validRexOperands
- 
Constructor Details- 
SqlRowOperator
 
- 
- 
Method Details- 
inferReturnTypeDescription copied from class:SqlOperatorInfers the return type of an invocation of this operator; only called after the number and types of operands have already been validated. Subclasses must either override this method or supply an instance ofSqlReturnTypeInferenceto the constructor.- Overrides:
- inferReturnTypein class- SqlOperator
- Parameters:
- opBinding- description of invocation (not necessarily a- SqlCall)
- Returns:
- inferred return type
 
- 
unparseDescription copied from class:SqlOperatorWrites a SQL representation of a call to this operator to a writer, including parentheses if the operators on either side are of greater precedence.The default implementation of this method delegates to SqlSyntax.unparse(org.apache.calcite.sql.SqlWriter, org.apache.calcite.sql.SqlOperator, org.apache.calcite.sql.SqlCall, int, int).- Overrides:
- unparsein class- SqlOperator
 
- 
requiresDecimalExpansionpublic boolean requiresDecimalExpansion()Description copied from class:SqlOperatorMethod to check if call requires expansion when it has decimal operands. The default implementation is to return true.- Overrides:
- requiresDecimalExpansionin class- SqlOperator
 
 
-