(Operation operation, int index)
| 117 | } |
| 118 | |
| 119 | public void add(Operation operation, int index) { |
| 120 | assert Bytes.memcmp(operation.partitionKey(), |
| 121 | tablet.getPartition().getPartitionKeyStart()) >= 0 && |
| 122 | (tablet.getPartition().getPartitionKeyEnd().length == 0 || |
| 123 | Bytes.memcmp(operation.partitionKey(), |
| 124 | tablet.getPartition().getPartitionKeyEnd()) < 0); |
| 125 | |
| 126 | operations.add(operation); |
| 127 | operationIndexes.add(index); |
| 128 | } |
| 129 | |
| 130 | @Override |
| 131 | boolean needsAuthzToken() { |