| Package | Description |
|---|---|
| org.apache.arrow.vector.dictionary | |
| org.apache.arrow.vector.ipc | |
| org.apache.arrow.vector.util |
| Modifier and Type | Method and Description |
|---|---|
Dictionary |
DictionaryProvider.lookup(long id)
Return the dictionary for the given ID.
|
Dictionary |
DictionaryProvider.MapDictionaryProvider.lookup(long id) |
| Modifier and Type | Method and Description |
|---|---|
static ValueVector |
DictionaryEncoder.decode(ValueVector indices,
Dictionary dictionary)
Decodes a dictionary encoded array using the provided dictionary.
|
static ValueVector |
DictionaryEncoder.decode(ValueVector indices,
Dictionary dictionary,
BufferAllocator allocator)
Decodes a dictionary encoded array using the provided dictionary.
|
static BaseListVector |
ListSubfieldEncoder.decodeListSubField(BaseListVector vector,
Dictionary dictionary,
BufferAllocator allocator)
Decodes a dictionary subfields encoded vector using the provided dictionary.
|
static ValueVector |
DictionaryEncoder.encode(ValueVector vector,
Dictionary dictionary)
Dictionary encodes a vector with a provided dictionary.
|
void |
DictionaryProvider.MapDictionaryProvider.put(Dictionary dictionary) |
| Constructor and Description |
|---|
DictionaryEncoder(Dictionary dictionary,
BufferAllocator allocator)
Construct an instance.
|
DictionaryEncoder(Dictionary dictionary,
BufferAllocator allocator,
ArrowBufHasher hasher)
Construct an instance.
|
ListSubfieldEncoder(Dictionary dictionary,
BufferAllocator allocator) |
ListSubfieldEncoder(Dictionary dictionary,
BufferAllocator allocator,
ArrowBufHasher hasher)
Construct an instance.
|
MapDictionaryProvider(Dictionary... dictionaries)
Constructs a new instance from the given dictionaries.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<Long,Dictionary> |
ArrowReader.dictionaries |
| Modifier and Type | Method and Description |
|---|---|
Dictionary |
JsonFileReader.lookup(long id) |
Dictionary |
ArrowReader.lookup(long id)
Lookup a dictionary that has been loaded using the dictionary id.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Long,Dictionary> |
ArrowReader.getDictionaryVectors()
Returns any dictionaries that were loaded along with ArrowRecordBatches.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ArrowWriter.writeDictionaryBatch(Dictionary dictionary) |
| Modifier and Type | Method and Description |
|---|---|
static Field |
DictionaryUtility.toMemoryFormat(Field field,
BufferAllocator allocator,
Map<Long,Dictionary> dictionaries)
Convert field and child fields that have a dictionary encoding to memory format, so fields
have the index type.
|
Copyright © 2024 The Apache Software Foundation. All rights reserved.