Interface TypeDescriptor

  • All Known Implementing Classes:
    ExprType, ValueType

    public interface TypeDescriptor
    This is a bridge between ValueType and ExprType, so that they can both be used with TypeSignature. This interface assists in classifying the specific enum values that implement this interface into the current type families: 'primitives', 'arrays', and 'complex' types through isPrimitive() and isArray() At some point we should probably consider reworking this into a 'TypeFamily' enum that maps these high level families to specific types. This interface can potentially be removed if the expression processing system is updated to use ColumnType instead of ExpressionType, which would allow ExprType to be removed and this interface merged into ValueType (along with consolidation of several other interfaces, see TypeSignature javadoc for additional details).