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

Method set

java/core/src/java/org/apache/orc/impl/DynamicIntArray.java:83–91  ·  view source on GitHub ↗
(int index, int value)

Source from the content-addressed store, hash-verified

81 }
82
83 public void set(int index, int value) {
84 int i = index / chunkSize;
85 int j = index % chunkSize;
86 grow(i);
87 if (index >= length) {
88 length = index + 1;
89 }
90 data[i][j] = value;
91 }
92
93 public void increment(int index, int value) {
94 int i = index / chunkSize;

Callers 15

testSetMethod · 0.95
setRedMethod · 0.45
setLeftMethod · 0.45
setRightMethod · 0.45
TimestampTreeReaderMethod · 0.45
getBufferMethod · 0.45
updateStringMethod · 0.45
truncateUpperBoundMethod · 0.45
truncateLowerBoundMethod · 0.45
updateDecimalMethod · 0.45
mergeMethod · 0.45
updateGeometryMethod · 0.45

Calls 1

growMethod · 0.95

Tested by 1

testSetMethod · 0.76