public class SqlNewOperator extends SqlPrefixOperator
new specification such as
NEW UDT(1, 2). When used in an SqlCall, SqlNewOperator takes a
single operand, which is an invocation of the constructor method; but when
used in a RexCall, the operands are the initial values to be used for the new
instance.kind, MDX_PRECEDENCE, NL| Constructor and Description |
|---|
SqlNewOperator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
requiresDecimalExpansion()
Method to check if call requires expansion when it has decimal operands.
|
SqlNode |
rewriteCall(SqlValidator validator,
SqlCall call)
Rewrites a call to this operator.
|
adjustType, getMonotonicity, getSignatureTemplate, getSyntax, validRexOperandsacceptCall, acceptCall, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, createCall, createCall, createCall, createCall, deriveType, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getName, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, hashCode, inferReturnType, inferReturnType, isAggregator, isDeterministic, isDynamicFunction, isName, leftPrec, preValidateCall, requiresOrder, rightPrec, toString, unparse, unparseListClause, unparseListClause, validateCall, validateOperandspublic SqlNode rewriteCall(SqlValidator validator, SqlCall call)
SqlOperatorrewriteCall in class SqlOperatorvalidator - Validatorcall - Call to be rewrittenpublic boolean requiresDecimalExpansion()
SqlOperatorrequiresDecimalExpansion in class SqlOperatorCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.