public interface ImplicitCastOperandTypeChecker
TypeCoercion.builtinFunctionCoercion(SqlCallBinding, List, List)
for details.| Modifier and Type | Method and Description |
|---|---|
boolean |
checkOperandTypesWithoutTypeCoercion(SqlCallBinding callBinding,
boolean throwOnFailure)
Checks the types of an operator's all operands, but without type coercion.
|
SqlTypeFamily |
getOperandSqlTypeFamily(int iFormalOperand)
Get the operand SqlTypeFamily of formal index
iFormalOperand. |
boolean checkOperandTypesWithoutTypeCoercion(SqlCallBinding callBinding, boolean throwOnFailure)
CompositeOperandTypeChecker and the composite predicate is `OR`.callBinding - description of the call to be checkedthrowOnFailure - whether to throw an exception if check fails
(otherwise returns false in that case)SqlTypeFamily getOperandSqlTypeFamily(int iFormalOperand)
iFormalOperand.
This is mainly used to get the operand SqlTypeFamily when this checker is included as
one of the rules in CompositeOperandTypeChecker and the
composite predicate is `SEQUENCE`.iFormalOperand - the formal operand index.Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.