MCPcopy Index your code
hub / github.com/apache/orc / add

Method add

java/core/src/java/org/apache/orc/impl/Dictionary.java:84–84  ·  view source on GitHub ↗

Add a new key to the dictionary. @param bytes the bytes of the string to add @param offset the offset of the string @param length the length of the string @return the position of the key in the dictionary

(byte[] bytes, int offset, int length)

Source from the content-addressed store, hash-verified

82 * @return the position of the key in the dictionary
83 */
84 int add(byte[] bytes, int offset, int length);
85
86 /**
87 * Get the number of entries in the dictionary.

Callers 15

mainFunction · 0.65
choose_jira_assigneeFunction · 0.65
createMemTestFileFunction · 0.65
TESTFunction · 0.65
createDictionaryTestFileFunction · 0.65
TESTFunction · 0.65
TESTFunction · 0.65
TESTFunction · 0.65
testStringDictionaryFunction · 0.65
testVarcharDictionaryFunction · 0.65
testCharDictionaryFunction · 0.65

Implementers 2

StringHashTableDictionaryjava/core/src/java/org/apache/orc/impl
StringRedBlackTreejava/core/src/java/org/apache/orc/impl

Calls

no outgoing calls

Tested by 15

createMemTestFileFunction · 0.52
TESTFunction · 0.52
createDictionaryTestFileFunction · 0.52
TESTFunction · 0.52
TESTFunction · 0.52
TESTFunction · 0.52
testStringDictionaryFunction · 0.52
testVarcharDictionaryFunction · 0.52
testCharDictionaryFunction · 0.52
TESTFunction · 0.52