TokenAwarePolicyNewQueryPlan Method |
The returned plan will first return replicas (whose HostDistance for the child policy is Local) for the query if it can determine them (i.e. mainly if IStatement.RoutingKey is not null). Following what it will return the plan of the child policy.
Namespace: Cassandra
public IEnumerable<Host> NewQueryPlan( string keyspace, IStatement query )