private static class RexCallBinding.RexCastCallBinding extends RexCallBinding
SqlCall, CAST needs to pretend that it
has two arguments, the second of which is the target type.| Modifier and Type | Field and Description |
|---|---|
private RelDataType |
type |
typeFactory| Constructor and Description |
|---|
RexCastCallBinding(RelDataTypeFactory typeFactory,
SqlOperator sqlOperator,
List<? extends RexNode> operands,
RelDataType type,
List<RelCollation> inputCollations) |
| Modifier and Type | Method and Description |
|---|---|
RelDataType |
getOperandType(int ordinal)
Gets the type of a bound operand.
|
create, getIntLiteralOperand, getOperandCount, getOperandLiteralValue, getOperandMonotonicity, getStringLiteralOperand, isOperandLiteral, isOperandNull, newErrorcollectOperandTypes, getColumnListParamInfo, getCursorOperand, getGroupCount, getOperandLiteralValue, getOperator, getTypeFactory, hasFilterprivate final RelDataType type
RexCastCallBinding(RelDataTypeFactory typeFactory, SqlOperator sqlOperator, List<? extends RexNode> operands, RelDataType type, List<RelCollation> inputCollations)
public RelDataType getOperandType(int ordinal)
SqlOperatorBindinggetOperandType in class RexCallBindingordinal - zero-based ordinal of operand of interestCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.