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

Method set

java/kudu-client/src/main/java/org/apache/kudu/util/ByteVec.java:187–192  ·  view source on GitHub ↗

Sets the element at index to the provided value. @param index of the element to set @param value to set the element to @throws IndexOutOfBoundsException if index is not valid

(int index, byte value)

Source from the content-addressed store, hash-verified

185 * @throws IndexOutOfBoundsException if {@code index} is not valid
186 */
187 public void set(int index, byte value) {
188 if (index >= len) {
189 throw new IndexOutOfBoundsException(String.format("index: %s, len: %s", index, len));
190 }
191 data[index] = value;
192 }
193
194 /**
195 * Appends the bytes from another byte array to this vec.

Callers 15

checkByteVecMethod · 0.95
runMethod · 0.45
pruneHashComponentMethod · 0.45
testMethod · 0.45
testMultiThreadedMethod · 0.45
testTimeoutMethod · 0.45
RemoteTabletMethod · 0.45
toBitSetMethod · 0.45
addVarLengthDataMethod · 0.45
setNullMethod · 0.45
trustCertificatesMethod · 0.45

Calls

no outgoing calls

Tested by 7

checkByteVecMethod · 0.76
runMethod · 0.36
pruneHashComponentMethod · 0.36
testMethod · 0.36
testMultiThreadedMethod · 0.36
testTimeoutMethod · 0.36
installMethod · 0.36