public class ListSubfieldEncoder extends Object
BaseListVector
.Constructor and Description |
---|
ListSubfieldEncoder(Dictionary dictionary,
BufferAllocator allocator) |
ListSubfieldEncoder(Dictionary dictionary,
BufferAllocator allocator,
ArrowBufHasher hasher)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
BaseListVector |
decodeListSubField(BaseListVector vector)
Decodes a dictionary subfields encoded vector using the provided dictionary.
|
BaseListVector |
encodeListSubField(BaseListVector vector)
Dictionary encodes subfields for complex vector with a provided dictionary.
|
public ListSubfieldEncoder(Dictionary dictionary, BufferAllocator allocator)
public ListSubfieldEncoder(Dictionary dictionary, BufferAllocator allocator, ArrowBufHasher hasher)
public BaseListVector encodeListSubField(BaseListVector vector)
vector
- vector to encodepublic BaseListVector decodeListSubField(BaseListVector vector)
vector
- dictionary encoded vector, its data vector must be int typeCopyright © 2020 The Apache Software Foundation. All rights reserved.