Dela via


ShardKey Class

Definition

public sealed class ShardKey : IComparable<Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey>, IEquatable<Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey>
type ShardKey = class
    interface IComparable<ShardKey>
    interface IEquatable<ShardKey>
Public NotInheritable Class ShardKey
Implements IComparable(Of ShardKey), IEquatable(Of ShardKey)
Inheritance
ShardKey
Implements

Constructors

ShardKey(Byte[])
ShardKey(DateTime)
ShardKey(DateTimeOffset)
ShardKey(Guid)
ShardKey(Int32)
ShardKey(Int64)
ShardKey(Object)
ShardKey(ShardKeyType, Object)
ShardKey(TimeSpan)

Properties

DataType
HasValue
IsMax
IsMin
KeyType
MaxBinary
MaxDateTime
MaxDateTimeOffset
MaxGuid
MaxInt32
MaxInt64
MaxTimeSpan
MinBinary
MinDateTime
MinDateTimeOffset
MinGuid
MinInt32
MinInt64
MinTimeSpan
RawValue
Value

Methods

CompareTo(ShardKey)
DetectShardKeyType(Object)
Equals(Object)
Equals(ShardKey)
FromRawValue(ShardKeyType, Byte[])
GetHashCode()
GetValue<T>()
IsSupportedType(Type)
Max(ShardKey, ShardKey)
Min(ShardKey, ShardKey)
ShardKeyTypeFromType(Type)
ToString()
TypeFromShardKeyType(ShardKeyType)

Operators

Equality(ShardKey, ShardKey)
GreaterThan(ShardKey, ShardKey)
GreaterThanOrEqual(ShardKey, ShardKey)
Inequality(ShardKey, ShardKey)
LessThan(ShardKey, ShardKey)
LessThanOrEqual(ShardKey, ShardKey)

Applies to