@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,
ArrowBuilderVector 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() |
Status |
AppendNulls(long length) |
AppendChild, AppendChild, AppendChild, Finish, FinishInternal, type_capacity, Advance, child, Finish, length, null_count, num_children, Reserve, Reset, Resizeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic SparseUnionBuilder(Pointer p)
Pointer.Pointer(Pointer).public SparseUnionBuilder(MemoryPool pool)
public SparseUnionBuilder(MemoryPool pool, @Const @ByRef ArrowBuilderVector 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.