public class SqlMapValueConstructor extends SqlMultisetValueConstructor
MAP [<key>, <value>, ...].
This is an extension to standard SQL.
kind, MDX_PRECEDENCE, NL| Constructor and Description |
|---|
SqlMapValueConstructor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkOperandTypes(SqlCallBinding callBinding,
boolean throwOnFailure)
Checks that the operand values in a
SqlCall to this operator are
valid. |
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.
|
getComponentType, unparsegetSyntax, reduceExpracceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, 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, requiresDecimalExpansion, requiresOrder, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateCall, validateOperands, validRexOperandspublic RelDataType inferReturnType(SqlOperatorBinding opBinding)
SqlOperatorSqlReturnTypeInference to the constructor.inferReturnType in class SqlMultisetValueConstructoropBinding - description of invocation (not necessarily a
SqlCall)public boolean checkOperandTypes(SqlCallBinding callBinding, boolean throwOnFailure)
SqlOperatorSqlCall to this operator are
valid. Subclasses must either override this method or supply an instance
of SqlOperandTypeChecker to the constructor.checkOperandTypes in class SqlMultisetValueConstructorcallBinding - description of callthrowOnFailure - whether to throw an exception if check fails
(otherwise returns false in that case)Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.