Class MdbArea.Partition
Represents partition within the area
Inheritance
System.Object
MdbArea.Partition
Implements
System.IDisposable
System.IComparable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Azos.Sky.dll
Syntax
public sealed class Partition : MdbAppComponent, IDisposable, IApplicationComponent, IExternallyParameterized, IComparable, IEquatable<MdbArea.Partition>, IComparable<MdbArea.Partition>
Properties
Area
Declaration
public MdbArea Area { get; }
Property Value
Order
Declaration
public int Order { get; }
Property Value
Type |
Description |
System.Int32 |
|
Shards
Declaration
public MdbArea.Partition.Shard[] Shards { get; }
Property Value
StartGDID
Declaration
public GDID StartGDID { get; }
Property Value
Methods
CompareTo(MdbArea.Partition)
Declaration
public int CompareTo(MdbArea.Partition other)
Parameters
Returns
Type |
Description |
System.Int32 |
|
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Int32 |
|
Equals(MdbArea.Partition)
Declaration
public bool Equals(MdbArea.Partition other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
GetShardForID(Object)
Finds appropriate shard for ID. See MDB.ShardingUtils
Declaration
public MdbArea.Partition.Shard GetShardForID(object idSharding)
Parameters
Type |
Name |
Description |
System.Object |
idSharding |
|
Returns
ShardedOperationsFor(Object)
Returns CRUDOperations facade connected to the appropriate database server within this named area and partition
which services the shard computed from sharding id
Declaration
public CRUDOperations ShardedOperationsFor(object idSharding)
Parameters
Type |
Name |
Description |
System.Object |
idSharding |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
Implements
System.IDisposable
System.IComparable
System.IEquatable<T>
System.IComparable<T>
Extension Methods