BoundStatementRoutingKey Property |
Gets the routing key for this bound query.
This method will return a
non-null value if:
- either all the TableColumns composing the
partition key are bound variables of this BoundStatement. The
routing key will then be built using the values provided for these partition
key TableColumns.
- or the routing key has been set through
PreparedStatement.SetRoutingKey for the
PreparedStatement this statement has been built from.
Otherwise,
null is returned.
Note that if the routing key
has been set through PreparedStatement.SetRoutingKey, that value
takes precedence even if the partition key is part of the bound variables.
Namespace: CassandraAssembly: Cassandra (in Cassandra.dll) Version: 3.2.0
Syntax See Also