Class FamilyOperandTypeChecker

java.lang.Object
org.apache.calcite.sql.type.FamilyOperandTypeChecker
All Implemented Interfaces:
ImplicitCastOperandTypeChecker, SqlOperandTypeChecker, SqlSingleOperandTypeChecker
Direct Known Subclasses:
OperandMetadataImpl

public class FamilyOperandTypeChecker extends Object implements SqlSingleOperandTypeChecker, ImplicitCastOperandTypeChecker
Operand type-checking strategy which checks operands for inclusion in type families.

Subclasses that check a single operand should override checkSingleOperandType(SqlCallBinding, SqlNode, int, SqlTypeFamily, boolean).

Subclasses that check multiple operands should override either checkSingleOperandType(SqlCallBinding, SqlNode, int, SqlTypeFamily, boolean), or *both* checkOperandTypes(SqlCallBinding, boolean) and checkOperandTypesWithoutTypeCoercion(SqlCallBinding, boolean).