@Namespace(value="arrow") @NoOffset @Properties(inherit=arrow.class) public class DenseUnionBuilder extends BasicUnionBuilder
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
DenseUnionBuilder(MemoryPool pool)
Use this constructor to initialize the UnionBuilder with no child builders,
allowing type to be inferred.
|
DenseUnionBuilder(MemoryPool pool,
ArrayBuilderVector children,
DataType type)
Use this constructor to specify the type explicitly.
|
DenseUnionBuilder(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
Append(byte next_type)
\brief Append an element to the UnionArray.
|
Status |
AppendEmptyValue()
\brief Append a non-null value to builder
The appended value is an implementation detail, but the corresponding
memory slot is guaranteed to be initialized.
|
Status |
AppendEmptyValues(long length)
\brief Append a number of non-null values to builder
The appended values are an implementation detail, but the corresponding
memory slot is guaranteed to be initialized.
|
Status |
AppendNull()
\brief Append a null value to builder
|
Status |
AppendNulls(long length)
\brief Append a number of null values to builder
|
Status |
FinishInternal(ArrayData out)
\brief Return result of builder as an internal generic ArrayData
object.
|
AppendChild, AppendChild, AppendChild, Finish, length, type_capacity, Advance, child_builder, child, Finish, 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, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic DenseUnionBuilder(Pointer p)
Pointer(Pointer).public DenseUnionBuilder(MemoryPool pool)
public DenseUnionBuilder(MemoryPool pool, @Const @ByRef ArrayBuilderVector children, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type)
@ByVal public Status AppendNull()
ArrayBuilderAppendNull in class ArrayBuilder@ByVal public Status AppendNulls(@Cast(value="int64_t") long length)
ArrayBuilderAppendNulls in class ArrayBuilder@ByVal public Status AppendEmptyValue()
ArrayBuilderAppendEmptyValue in class ArrayBuilder@ByVal public Status AppendEmptyValues(@Cast(value="int64_t") long length)
ArrayBuilderAppendEmptyValues 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.@ByVal public Status FinishInternal(@SharedPtr ArrayData out)
ArrayBuilderFinishInternal in class BasicUnionBuilderout - [out] the finalized ArrayData objectCopyright © 2021. All rights reserved.