The Schema type exposes the following methods.
Methods
![]() ![]() | ![]() ![]() | ![]() ![]() | ![]() ![]() |
Member | Description | |||
---|---|---|---|---|
![]() | Clone()()()() |
Clone this Schema
| ||
![]() ![]() | CreateField(String, CompleteDataType) |
Create a field of the specified name and type.
| ||
![]() ![]() | CreateFunctionField(String, Schema, CompleteDataType) |
Create a function field of the specified name, argument list and return type.
| ||
![]() ![]() | CreateListField(String, CompleteDataType) |
Create a list field of the specified name and element type.
| ||
![]() ![]() | CreateTupleField(String, Schema) |
Create a tuple field of the specified name and schema.
| ||
![]() | Equals(Object) |
Returns true if this Schema is equal to the given one.
(Overrides Object..::..Equals(Object).) | ||
![]() | GetField(Int32) |
Gets the Field at the specified (zero-based) index.
| ||
![]() | GetField(String) |
Gets the Field with the specified name
| ||
![]() | GetFieldCount()()()() |
Returns the number of fields in the schema.
| ||
![]() | GetFieldIndex(String) |
Returns the index of the field with a particular name, or -1
if there is no such field.
| ||
![]() | GetFields()()()() |
Return an array of Field objects corresponding to the fields in the schema.
| ||
![]() | GetFieldTypes()()()() |
A utility function to speed up multiple accesses to field types of a schema
in contexts where multiple tuples are processed; the function should be
called outside of for loops processing tuples and their fields
| ||
![]() | GetHash()()()() |
Return the hash for this schema generated by the server.
| ||
![]() | GetHashCode()()()() |
Hash function for this type.
(Overrides Object..::..GetHashCode()()()().) | ||
![]() | GetName()()()() |
Returns the name of the schema.
| ||
![]() | GetNumFields()()()() |
Returns the number of fields in the schema.
| ||
![]() | GetType()()()() | (Inherited from Object.) | ||
![]() | HasField(String) |
Return true if this Schema has a Field by the given name.
| ||
![]() | SameFieldsAs(Schema) |
Returns true if this schema has the same field Names and Types
in the same order as another Schema
| ||
![]() | SameFieldTypes(Schema) |
Returns true if this schema has the same field types in the
same order as another Schema.
| ||
![]() | ToHumanString()()()() |
Returns a description of the Schema using a SSQL-style format.
| ||
![]() | ToString()()()() |
Returns the name of the schema.
(Overrides Object..::..ToString()()()().) | ||
![]() | ToStringWithFields()()()() |
Returns a string representation of the schema.
|