Click or drag to resize
BoundStatementSetRoutingKey Method
Set the routing key for this query. This method allows to manually provide a routing key for this BoundStatement. It is thus optional since the routing key is only an hint for token aware load balancing policy but is never mandatory.

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.4.0
Syntax
C#
public BoundStatement SetRoutingKey(
	params RoutingKey[] routingKeyComponents
)

Parameters

routingKeyComponents
Type: CassandraRoutingKey
the raw (binary) values to compose the routing key.

Return Value

Type: BoundStatement
See Also