Class CompleteDataType

java.lang.Object
com.streambase.sb.CompleteDataType
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CompleteDataType.CaptureType, CompleteDataType.FunctionType, CompleteDataType.ListType, CompleteDataType.TupleType

public abstract class CompleteDataType extends Object implements Serializable
Wraps DataType with ancillary information about the type (where appropriate) that's needed to actually use the DataType. E.g., to be "complete",
  • DataType.TUPLE needs a description of the tuple's schema (expressed as a Schema),and
  • DataType.LIST needs a description of the type of list's elements (itself expressed as a CompleteDataType).
  • DataType.FUNCTION needs a description of the function's arguments (as a Schema) and its return type (as a CompleteDataType)

Note: Serializations of instances of this class that are created (e.g., by using ObjectOutputStream) in one version of StreamBase in general will not be deserializable in any other version of StreamBase.

Since:
6.3
See Also: