@Namespace(value="arrow::ipc") @NoOffset @Properties(inherit=arrow.class) public class DictionaryMemo extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
DictionaryMemo() |
DictionaryMemo(long size)
Native array allocator.
|
DictionaryMemo(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
AddDictionary(long id,
ArrayData dictionary)
\brief Add a dictionary to the memo with a particular id.
|
Status |
AddDictionaryDelta(long id,
ArrayData dictionary)
\brief Append a dictionary delta to the memo with a particular id.
|
Status |
AddDictionaryType(long id,
DataType type)
\brief Add a dictionary value type to the memo with a particular id.
|
BoolResult |
AddOrReplaceDictionary(long id,
ArrayData dictionary)
\brief Add a dictionary to the memo if it does not have one with the id,
otherwise, replace the dictionary with the new one.
|
DictionaryFieldMapper |
fields() |
ArrayDataResult |
GetDictionary(long id,
MemoryPool pool)
\brief Return current dictionary corresponding to a particular
id.
|
DataTypeResult |
GetDictionaryType(long id)
\brief Return dictionary value type corresponding to a
particular dictionary id.
|
DictionaryMemo |
getPointer(long i) |
boolean |
HasDictionary(long id)
\brief Return true if we have a dictionary for the input id
|
DictionaryMemo |
position(long position) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic DictionaryMemo(Pointer p)
Pointer(Pointer).public DictionaryMemo(long size)
Pointer.position(long).public DictionaryMemo()
public DictionaryMemo position(long position)
public DictionaryMemo getPointer(long i)
getPointer in class Pointer@ByRef public DictionaryFieldMapper fields()
@ByVal public ArrayDataResult GetDictionary(@Cast(value="int64_t") long id, MemoryPool pool)
@ByVal public DataTypeResult GetDictionaryType(@Cast(value="int64_t") long id)
@Cast(value="bool") public boolean HasDictionary(@Cast(value="int64_t") long id)
@ByVal public Status AddDictionaryType(@Cast(value="int64_t") long id, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type)
@ByVal public Status AddDictionary(@Cast(value="int64_t") long id, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) ArrayData dictionary)
@ByVal public Status AddDictionaryDelta(@Cast(value="int64_t") long id, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) ArrayData dictionary)
@ByVal public BoolResult AddOrReplaceDictionary(@Cast(value="int64_t") long id, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) ArrayData dictionary)
Copyright © 2021. All rights reserved.