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 object) and DataType.LIST
neds needs a description of the type of list's elements (itself
expressed as a CompleteDataType.)
Namespace: StreamBase.SBAssembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 10.3.0.0
Syntax
| C# | Visual Basic | Visual C++ |
public abstract class CompleteDataType : ICloneable, IDisposable
Public MustInherit Class CompleteDataType _ Implements ICloneable, IDisposable
public ref class CompleteDataType abstract : ICloneable, IDisposable
Members
| All Members | Fields | Properties | Methods |
| Member | Description | |
|---|---|---|
| ArgumentSchema |
For function types, the function's argument schema. For other types null.
| |
| CaptureName |
For capture types, the name of this capture field. For other types null.
| |
| Clone()()()() |
Clone this CompleteDataType
| |
| DataType |
Return the data type of the complete type.
| |
| ElementType |
For list collection types, the complete type of the list's elements. For other types
null.
| |
| Equals(Object) |
Returns true if this DataType is of the given type.
(Overrides Object..::..Equals(Object).) | |
| EqualTypes(CompleteDataType) |
Like Equals(), but ignores field type names.
| |
| ForBlob()()()() |
Return the complete type for a blob.
| |
| ForBool()()()() |
Return the complete type for a bool.
| |
| ForCapture(String) |
Return the complete type for a capture field.
| |
| ForDouble()()()() |
Return the complete type for a double.
| |
| ForFunction(Schema, CompleteDataType) |
Return a complete type for a function, with the specified argument types and return type.
| |
| ForInt()()()() |
Return the complete type for an int.
| |
| ForList(CompleteDataType) |
Return a complete type for a list with the specified element type.
| |
| ForLong()()()() |
Return the complete type for a long.
| |
| ForSimpleType(DataType) |
Return the complete type for the given simple (non-compound) DataType.
| |
| ForString()()()() |
Return the complete type for a string.
| |
| ForTimestamp()()()() |
Return the complete type for a timestamp.
| |
| ForTuple(Schema) |
Return a complete type for a tuple with the specified schema.
| |
| GetHashCode()()()() |
Hash function for this type.
(Overrides Object..::..GetHashCode()()()().) | |
| GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| IsCaptureType(CompleteDataType) |
Return true if the given type is Capture.
| |
| IsFunctionType(CompleteDataType) |
Return true if the given type is Function.
| |
| IsListType(CompleteDataType) |
Return true if the given type is List.
| |
| IsSimpleType(CompleteDataType) |
Return true if the given type is a simple type (i.e. not a List or Tuple type).
| |
| IsTupleType(CompleteDataType) |
Return true if the given type is Tuple.
| |
| Name |
The name of this complete type.
| |
| ReturnType |
For function types, the complete type of the function's return value. For other types null.
| |
| Schema |
For tuple types, the tuple's schema. For other types null.
| |
| ToString()()()() |
Returns a string representation of a CompleteDataType.
(Overrides Object..::..ToString()()()().) | |
| VARIABLE_SIZE |
Indicates that this data type is of variable size.
|