Go to the source code of this file.
|
| enum | ShardKeyValueType {
ShardKeyValueType.Null,
ShardKeyValueType.Int,
ShardKeyValueType.Long,
ShardKeyValueType.Float,
ShardKeyValueType.Double,
ShardKeyValueType.String,
ShardKeyValueType.Date,
ShardKeyValueType.DateTime,
ShardKeyValueType.Time,
ShardKeyValueType.Ipv4,
ShardKeyValueType.Decimal,
ShardKeyValueType.Boolean,
ShardKeyValueType.Int8,
ShardKeyValueType.Int16,
ShardKeyValueType.Timestamp,
ShardKeyValueType.Uuid,
ShardKeyValueType.Ulong
} |
| | Represents the type of a shard key value. More...
|
| |
◆ ShardKeyValueType
Represents the type of a shard key value.
Equivalent to Rust's ShardKeyValue enum variants.
| Enumerator |
|---|
| Null | Null value
|
| Int | 32-bit signed integer
|
| Long | 64-bit signed integer
|
| Float | 32-bit IEEE 754 float
|
| Double | 64-bit IEEE 754 double
|
| String | UTF-8 string (also used for char(N) types)
|
| Date | Date in YYYY-MM-DD format
|
| DateTime | DateTime in YYYY-MM-DD HH:MM:SS.mmm format
|
| Time | Time in HH:MM:SS.mmm format
|
| Ipv4 | IPv4 address in dotted-quad format (e.g., "192.168.1.100")
|
| Decimal | Decimal as string (e.g., "12345.6789")
|
| Boolean | Boolean value
|
| Int8 | 8-bit signed integer (-128 to 127)
|
| Int16 | 16-bit signed integer (-32768 to 32767)
|
| Timestamp | Timestamp as milliseconds since Unix epoch
|
| Uuid | UUID in standard format (e.g., "550e8400-e29b-41d4-a716-446655440000")
|
| Ulong | Unsigned long as string (0 to 18446744073709551615)
|
Definition at line 12 of file ShardKeyValue.cs.