MCPcopy Create free account
hub / github.com/apache/kudu / add

Method add

java/kudu-client/src/main/java/org/apache/kudu/client/Batch.java:119–128  ·  view source on GitHub ↗
(Operation operation, int index)

Source from the content-addressed store, hash-verified

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() {

Callers 15

callMethod · 0.95
addTestTaskMethod · 0.45
genIsolateMethod · 0.45
processTestClassMethod · 0.45
testEqualsMethod · 0.45
testAutoFlushSyncMethod · 0.45
createIntegerValuesMethod · 0.45
createFloatValuesMethod · 0.45
createDoubleValuesMethod · 0.45

Calls 5

memcmpMethod · 0.95
partitionKeyMethod · 0.45
getPartitionKeyStartMethod · 0.45
getPartitionMethod · 0.45
getPartitionKeyEndMethod · 0.45

Tested by 15

addTestTaskMethod · 0.36
genIsolateMethod · 0.36
processTestClassMethod · 0.36
testEqualsMethod · 0.36
testAutoFlushSyncMethod · 0.36
createIntegerValuesMethod · 0.36
createFloatValuesMethod · 0.36
createDoubleValuesMethod · 0.36
createDecimalValuesMethod · 0.36