The Schema..::..Field type exposes the following methods.
Methods
| Member | Description | |
|---|---|---|
| CheckType(CompleteDataType) |
Check to make sure that the given CompleteDataType is the same as the CompleteDataType of this Field
| |
| CheckType(DataType) | Obsolete.
Check to make sure that the given DataType is the same as the DataType of this Field
| |
| Clone()()()() |
Clone this Field
| |
| Equals(Object) |
Returns true if this Field is equivalent to the given one.
(Overrides Object..::..Equals(Object).) | |
| GetArgumentSchema()()()() |
The argument schema for this field. Valid only if the field is of type FUNCTION. Otherwise the property returns null.
| |
| GetCompleteDataType()()()() |
Returns the complete type of a field.
| |
| GetDataType()()()() |
Returns the type of a field.
| |
| GetDescription()()()() |
Returns the description of this field.
| |
| GetElementType()()()() |
The element type for this field. Valid only if the field is of type LIST. Otherwise the property returns null.
| |
| GetHashCode()()()() |
Hash function for this type.
(Overrides Object..::..GetHashCode()()()().) | |
| GetIndex()()()() |
Returns the index of the field
| |
| GetName()()()() |
Returns the name of the field.
| |
| GetNestedField(String) |
Return a field that identifies a field in a nested tuple field.
This method can be applied only to a field whose type is Tuple.
| |
| GetNestedFields()()()() |
Return an array of fields, each of which identifies a field in a nested tuple field.
This method can be applied only to a field whose type is Tuple.
| |
| GetReturnType()()()() |
The return type for this field. Valid only if the field is of type FUNCTION. Otherwise the property returns null.
| |
| GetSchema()()()() |
Returns the schema for this field. Valid only if the field is of type TUPLE. Otherwise null is returned.
| |
| GetShortName()()()() |
Returns the last (which might be the only) segment of this Field's name
| |
| GetSize()()()() |
Gets the size in bytes of this Field.
| |
| GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| SameType(Schema..::..Field) |
Return true if the fields are the same type (including
size information)
| |
| ToString()()()() |
Returns a string representation of a field.
(Overrides Object..::..ToString()()()().) | |
| ToStringWithFields()()()() |
Returns a string representation of a field, showing schemas of Tuple fields
|