예제 #1
0
 /// <summary>
 ///  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.
 /// </summary>
 /// <param name="routingKeyComponents"> the raw (binary) values to compose the routing key.</param>
 public BoundStatement SetRoutingKey(params RoutingKey[] routingKeyComponents)
 {
     _routingKey = RoutingKey.Compose(routingKeyComponents);
     return(this);
 }