@Namespace(value="arrow") @Properties(inherit=arrow.class) public class SparseUnionBuilder extends BasicUnionBuilder
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
SparseUnionBuilder(MemoryPool pool)
Use this constructor to initialize the UnionBuilder with no child builders,
allowing type to be inferred.
|
SparseUnionBuilder(MemoryPool pool,
ArrayBuilderVector children,
DataType type)
Use this constructor to specify the type explicitly.
|
SparseUnionBuilder(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
Append(byte next_type)
\brief Append an element to the UnionArray.
|
Status |
AppendNull()
\brief Append a null value.
|
Status |
AppendNulls(long length)
\brief Append multiple null values.
|
AppendChild, AppendChild, AppendChild, Finish, FinishInternal, length, type_capacity, Advance, child, Finish, null_count, num_children, Reserve, Reset, Resizeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic SparseUnionBuilder(Pointer p)
Pointer.Pointer(Pointer).public SparseUnionBuilder(MemoryPool pool)
public SparseUnionBuilder(MemoryPool pool, @Const @ByRef ArrayBuilderVector children, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type)
@ByVal public Status AppendNull()
AppendNull in class ArrayBuilder@ByVal public Status AppendNulls(@Cast(value="int64_t") long length)
AppendNulls in class ArrayBuilder@ByVal public Status Append(byte next_type)
next_type - [in] type_id of the child to which the next value will be appended.
The corresponding child builder must be appended to independently after this method
is called, and all other child builders must have null appendedCopyright © 2020. All rights reserved.