public class DictionaryUtility extends Object
Constructor and Description |
---|
DictionaryUtility() |
Modifier and Type | Method and Description |
---|---|
static Field |
toMemoryFormat(Field field,
BufferAllocator allocator,
Map<Long,Dictionary> dictionaries)
Convert field and child fields that have a dictionary encoding to message format, so fields
have the index type
|
static Field |
toMessageFormat(Field field,
DictionaryProvider provider,
Set<Long> dictionaryIdsUsed)
Convert field and child fields that have a dictionary encoding to message format, so fields
have the dictionary type
NOTE: in the message format, fields have the dictionary type
in the memory format, they have the index type
|
public static Field toMessageFormat(Field field, DictionaryProvider provider, Set<Long> dictionaryIdsUsed)
public static Field toMemoryFormat(Field field, BufferAllocator allocator, Map<Long,Dictionary> dictionaries)
Copyright © 2017 The Apache Software Foundation. All rights reserved.