public class SqlRowOperator extends SqlSpecialOperator
TODO: describe usage for row-value construction and row-type construction (SQL supports both).
kind, MDX_PRECEDENCE, NL| Constructor and Description |
|---|
SqlRowOperator() |
| Modifier and Type | Method and Description |
|---|---|
SqlSyntax |
getSyntax()
Returns the syntactic type of this operator, never null.
|
RelDataType |
inferReturnType(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.
|
boolean |
requiresDecimalExpansion()
Method to check if call requires expansion when it has decimal operands.
|
void |
unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec)
Writes a SQL representation of a call to this operator to a writer,
including parentheses if the operators on either side are of greater
precedence.
|
reduceExpracceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, createCall, createCall, createCall, createCall, deriveType, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getName, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, hashCode, inferReturnType, isAggregator, isDeterministic, isDynamicFunction, isName, leftPrec, preValidateCall, requiresOrder, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateCall, validateOperands, validRexOperandspublic SqlSyntax getSyntax()
SqlOperatorgetSyntax in class SqlSpecialOperatorpublic RelDataType inferReturnType(SqlOperatorBinding opBinding)
SqlOperatorSqlReturnTypeInference to the constructor.inferReturnType in class SqlOperatoropBinding - description of invocation (not necessarily a
SqlCall)public void unparse(SqlWriter writer, SqlCall call, int leftPrec, int rightPrec)
SqlOperatorThe 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).
unparse in class SqlOperatorpublic boolean requiresDecimalExpansion()
SqlOperatorrequiresDecimalExpansion in class SqlOperatorCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.