@Name(value="arrow::BaseListBuilder<arrow::ListType>") @NoOffset @Properties(inherit=arrow.class) public class BaseListBuilder extends ArrayBuilder
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
BaseListBuilder(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
Append() |
Status |
Append(boolean is_valid)
\brief Start a new variable-length list slot
This function should be called before beginning to append elements to the
value builder
|
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 |
AppendValues(int[] offsets,
long length) |
Status |
AppendValues(int[] offsets,
long length,
byte[] valid_bytes) |
Status |
AppendValues(IntBuffer offsets,
long length) |
Status |
AppendValues(IntBuffer offsets,
long length,
ByteBuffer valid_bytes) |
Status |
AppendValues(IntPointer offsets,
long length) |
Status |
AppendValues(IntPointer offsets,
long length,
BytePointer valid_bytes)
\brief Vector append
If passed, valid_bytes is of equal length to values, and any zero byte
will be considered as a null for that slot
|
Status |
FinishInternal(ArrayData out)
\brief Return result of builder as an internal generic ArrayData
object.
|
static long |
maximum_elements() |
void |
Reset()
Reset the builder.
|
Status |
Resize(long _capacity)
Use this constructor to incrementally build the value array along with offsets and
null bitmap.
|
DataType |
type()
\brief Return the type of the built Array
|
Status |
ValidateOverflow(long new_elements) |
ArrayBuilder |
value_builder() |
_capacity, Advance, child_builder, child, Finish, Finish, length, null_count, num_children, Reserveaddress, 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 BaseListBuilder(Pointer p)
Pointer(Pointer).@ByVal public Status Resize(@Cast(value="int64_t") long _capacity)
Resize in class ArrayBuilderpublic void Reset()
ArrayBuilderReset in class ArrayBuilder@ByVal public Status AppendValues(@Cast(value="const arrow::BaseListBuilder<arrow::ListType>::offset_type*") IntPointer offsets, @Cast(value="int64_t") long length, @Cast(value="const uint8_t*") BytePointer valid_bytes)
@ByVal public Status AppendValues(@Cast(value="const arrow::BaseListBuilder<arrow::ListType>::offset_type*") IntPointer offsets, @Cast(value="int64_t") long length)
@ByVal public Status AppendValues(@Cast(value="const arrow::BaseListBuilder<arrow::ListType>::offset_type*") IntBuffer offsets, @Cast(value="int64_t") long length, @Cast(value="const uint8_t*") ByteBuffer valid_bytes)
@ByVal public Status AppendValues(@Cast(value="const arrow::BaseListBuilder<arrow::ListType>::offset_type*") IntBuffer offsets, @Cast(value="int64_t") long length)
@ByVal public Status AppendValues(@Cast(value="const arrow::BaseListBuilder<arrow::ListType>::offset_type*") int[] offsets, @Cast(value="int64_t") long length, @Cast(value="const uint8_t*") byte[] valid_bytes)
@ByVal public Status AppendValues(@Cast(value="const arrow::BaseListBuilder<arrow::ListType>::offset_type*") int[] offsets, @Cast(value="int64_t") long length)
@ByVal public Status Append(@Cast(value="bool") boolean is_valid)
@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 FinishInternal(@SharedPtr ArrayData out)
ArrayBuilderFinishInternal in class ArrayBuilderout - [out] the finalized ArrayData objectpublic ArrayBuilder value_builder()
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public DataType type()
ArrayBuildertype in class ArrayBuilderCopyright © 2021. All rights reserved.