The SpaceDef type exposes the following members.

Methods

  NameDescription
Public methodAddIndexDef
Adds indexDef to SpaceDef, overwrites if an IndexDef by that name already exists
Public methodStatic memberCreate()()()()
Return a new SpaceDef instance.
Public methodStatic memberCreate(String, Int32, array<FieldDef>[]()[][])
Takes space name, replication count and list of field defs and returns a new SpaceDef instance.
Public methodStatic memberCreate(String, Int32, IList<(Of <<'(FieldDef>)>>))
Takes space name, replication count and list of field defs and returns a new SpaceDef instance.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetFieldDef
Get the Field Definition for the field name provided.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetIndexDef
Get the index definition for name
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPutFieldDef
Associates a field definition to the space definition.
Public methodRemoveIndexDef
Removed index from SpaceDef, return null if there is no index by that name
Public methodSetDistributionFields
Sets the distribution fields.
Public methodTakeFieldDef
Allows removing a field definition associated with SpaceDef. Note that Space definition cannot be changed once the space is defined,.So, a field definition can be removed from a Space definition only before the space is created.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

See Also