forked from apache/cassandra-gocql-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added routing key computation (with override) to Query
- Added routingKeyInfo(string) function to Session which is a cached calculation of the query value indexes to routing key indexes with type info - Added RoutingKey([]byte) function to Query which sets the routing key bytes for the query - Added GetRoutingKey() []byte which returns the routing key for the query; if the routing key is not set explicitly with RoutingKey([]byte) then the routing key is constructed using the routing key info retrieved from Session
- Loading branch information
1 parent
730396a
commit d1eb335
Showing
4 changed files
with
300 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.