public class DictionaryUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
getTextInternal(Text result,
int position,
DynamicIntArray keyOffsets,
DynamicByteArray byteArray)
Obtain the UTF8 string from the byteArray using the offset in index-array.
|
public static void getTextInternal(Text result, int position, DynamicIntArray keyOffsets, DynamicByteArray byteArray)
result - Container for the UTF8 String.position - position in the keyOffsetskeyOffsets - starting offset of the key (in byte) in the byte array.byteArray - storing raw bytes of all key seen in dictionaryCopyright © 2013–2022 The Apache Software Foundation. All rights reserved.