|
Kinetica C# API
Version 7.2.3.1
|
Builds expressions and routing keys for GenericRecord and dictionary-based records. More...
Public Member Functions | |
| GenericRecordKeyBuilder (bool isPrimaryKey, KineticaType ktype) | |
| Creates a GenericRecordKeyBuilder for the given KineticaType. More... | |
| bool | HasKey () |
| Returns whether this builder has any routing key columns. More... | |
| IList< string > | GetRoutingColumnNames () |
| Gets the names of the routing key columns. More... | |
| string? | BuildExpression (IDictionary< string, object?> keyValues) |
| Builds a SQL expression for looking up records by key values. More... | |
Builds expressions and routing keys for GenericRecord and dictionary-based records.
Used for key lookup in the ADO.NET driver where we don't have strongly-typed records.
Definition at line 12 of file GenericRecordKeyBuilder.cs.
|
inline |
Creates a GenericRecordKeyBuilder for the given KineticaType.
| isPrimaryKey | If true, uses primary key columns; otherwise uses shard key columns. |
| ktype | The KineticaType describing the table schema. |
Definition at line 65 of file GenericRecordKeyBuilder.cs.
|
inline |
Builds a SQL expression for looking up records by key values.
| keyValues | Dictionary of column name -> value for the key columns. |
Definition at line 309 of file GenericRecordKeyBuilder.cs.
|
inline |
Gets the names of the routing key columns.
Definition at line 299 of file GenericRecordKeyBuilder.cs.
|
inline |
Returns whether this builder has any routing key columns.
Definition at line 291 of file GenericRecordKeyBuilder.cs.