Builds RecordKey objects from ShardKeyValues for routing. More…
Public Member Functions | |
| RecordKeyBuilder (Type type) | |
| Creates a RecordKeyBuilder from a Type definition. | |
| RecordKeyBuilder (kinetica.KineticaType ktype, bool isPrimaryKey=false) | |
| Creates a RecordKeyBuilder from a KineticaType (for backwards compatibility). | |
| RecordKey? | Build (ShardKeyValues values) |
| Builds a RecordKey from the given shard key values. | |
| RecordKeyBuilder (Type type) | |
| Creates a RecordKeyBuilder from a Type definition. | |
| RecordKeyBuilder (kinetica.KineticaType ktype, bool isPrimaryKey=false) | |
| Creates a RecordKeyBuilder from a KineticaType (for backwards compatibility). | |
| RecordKey? | Build (ShardKeyValues values) |
| Builds a RecordKey from the given shard key values. | |
Properties | |
| bool | HasKey [get] |
| Returns true if this builder has shard key columns. | |
| int | KeyColumnCount [get] |
| Gets the number of shard key columns. | |
Detailed Description
Builds RecordKey objects from ShardKeyValues for routing.
Equivalent to Rust’s RecordKeyBuilder.
This class is used by BulkInserter to compute shard routing for records that implement IShardKeyExtractor.
Definition at line 12 of file RecordKeyBuilder.cs.
Constructor & Destructor Documentation
◆ RecordKeyBuilder() [1/4]
| inline |
Creates a RecordKeyBuilder from a Type definition.
Definition at line 24 of file RecordKeyBuilder.cs.
◆ RecordKeyBuilder() [2/4]
| inline |
Creates a RecordKeyBuilder from a KineticaType (for backwards compatibility).
Definition at line 60 of file RecordKeyBuilder.cs.
◆ RecordKeyBuilder() [3/4]
| inline |
Creates a RecordKeyBuilder from a Type definition.
Definition at line 24 of file RecordKeyBuilder.cs.
◆ RecordKeyBuilder() [4/4]
| inline |
Creates a RecordKeyBuilder from a KineticaType (for backwards compatibility).
Definition at line 60 of file RecordKeyBuilder.cs.
Member Function Documentation
◆ Build() [1/2]
| inline |
Builds a RecordKey from the given shard key values.
Definition at line 114 of file RecordKeyBuilder.cs.
◆ Build() [2/2]
| inline |
Builds a RecordKey from the given shard key values.
Definition at line 114 of file RecordKeyBuilder.cs.
Property Documentation
◆ HasKey
| get |
Returns true if this builder has shard key columns.
Definition at line 104 of file RecordKeyBuilder.cs.
◆ KeyColumnCount
| get |
Gets the number of shard key columns.
Definition at line 109 of file RecordKeyBuilder.cs.
The documentation for this class was generated from the following files:
- _build/public-os_ubuntu24.04-arch_amd64-cc_gcc_13.3.0/install/Kinetica/Records/RecordKeyBuilder.cs
- Kinetica/Records/RecordKeyBuilder.cs