@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,
ArrowBuilderVector 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 |
AppendNull() |
Status |
AppendNulls(long length) |
Status |
FinishInternal(ArrayData out)
\brief Return result of builder as an internal generic ArrayData
object.
|
AppendChild, AppendChild, AppendChild, Finish, 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 DenseUnionBuilder(Pointer p)
Pointer.Pointer(Pointer).public DenseUnionBuilder(MemoryPool pool)
public DenseUnionBuilder(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.@ByVal public Status FinishInternal(@SharedPtr ArrayData out)
ArrayBuilderFinishInternal in class BasicUnionBuilderout - [out] the finalized ArrayData objectCopyright © 2020. All rights reserved.