cassandra
cassandra copied to clipboard
[CASSANDRA-20166][trunk] Use byte[] directly in QueryOptions instead of ByteBuffer and convert them to ArrayCell instead of BufferCell
Use byte[] directly in QueryOptions instead of ByteBuffer and convert them to ArrayCell instead of BufferCell
Additionally replace List with array for bind values (we know the size in advance during a decoding), so in total: List<List> is replaced with byte[][] QueryOptions classes support both ways to get values now: using an old API with ByteBuffer and a new API with byte[].
Patch by Dmitry Konstantinov; reviewed by TBD for CASSANDRA-20166