Package org.apache.calcite.sql.type
Class SqlTypeAssignmentRule
java.lang.Object
org.apache.calcite.sql.type.SqlTypeAssignmentRule
- All Implemented Interfaces:
SqlTypeMappingRule
Rules that determine whether a type is assignable from another type.
-
Method Summary
Modifier and TypeMethodDescriptionMap<SqlTypeName,
com.google.common.collect.ImmutableSet<SqlTypeName>> Returns the type mappings of this rule instance.static SqlTypeAssignmentRule
instance()
Returns an instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.calcite.sql.type.SqlTypeMappingRule
canApplyFrom
-
Method Details
-
instance
Returns an instance. -
getTypeMapping
Description copied from interface:SqlTypeMappingRule
Returns the type mappings of this rule instance.The mappings should be immutable.
- Specified by:
getTypeMapping
in interfaceSqlTypeMappingRule
-