@Namespace(value="arrow") @NoOffset @Properties(inherit=arrow.class) public class FixedSizeListBuilder extends ArrayBuilder
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
FixedSizeListBuilder(MemoryPool pool,
ArrayBuilder value_builder,
DataType type)
Use this constructor to infer the built array's type.
|
FixedSizeListBuilder(MemoryPool pool,
ArrayBuilder value_builder,
int list_size)
Use this constructor to define the built array's type explicitly.
|
FixedSizeListBuilder(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
Append()
\brief Append a valid fixed length list.
|
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 fixed length list.
|
Status |
AppendNulls(long length)
\brief Append length null fixed length lists.
|
Status |
AppendValues(long length) |
Status |
AppendValues(long length,
byte[] valid_bytes) |
Status |
AppendValues(long length,
ByteBuffer valid_bytes) |
Status |
AppendValues(long length,
BytePointer valid_bytes)
\brief Vector append
If passed, valid_bytes wil be read and any zero byte
will cause the corresponding slot to be null
This function affects only the validity bitmap; the child values must be appended
using the child array builder.
|
Status |
Finish(FixedSizeListArray out)
\endcond
|
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)
\brief Ensure that enough memory has been allocated to fit the indicated
number of total elements in the builder, including any that have already
been appended.
|
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 FixedSizeListBuilder(Pointer p)
Pointer(Pointer).public FixedSizeListBuilder(MemoryPool pool, @Const @SharedPtr @ByRef ArrayBuilder value_builder, int list_size)
public FixedSizeListBuilder(MemoryPool pool, @Const @SharedPtr @ByRef ArrayBuilder value_builder, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type)
@ByVal public Status Resize(@Cast(value="int64_t") long _capacity)
ArrayBuilderResize in class ArrayBuilderpublic void Reset()
ArrayBuilderReset in class ArrayBuilder@ByVal public Status FinishInternal(@SharedPtr ArrayData out)
ArrayBuilderFinishInternal in class ArrayBuilderout - [out] the finalized ArrayData object@ByVal public Status Finish(@SharedPtr FixedSizeListArray out)
@ByVal public Status Append()
@ByVal public Status AppendValues(@Cast(value="int64_t") long length, @Cast(value="const uint8_t*") BytePointer valid_bytes)
@ByVal public Status AppendValues(@Cast(value="int64_t") long length, @Cast(value="const uint8_t*") ByteBuffer valid_bytes)
@ByVal public Status AppendValues(@Cast(value="int64_t") long length, @Cast(value="const uint8_t*") byte[] valid_bytes)
@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 AppendEmptyValue()
ArrayBuilderAppendEmptyValue in class ArrayBuilder@ByVal public Status AppendEmptyValues(@Cast(value="int64_t") long length)
ArrayBuilderAppendEmptyValues in class ArrayBuilderpublic ArrayBuilder value_builder()
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public DataType type()
ArrayBuildertype in class ArrayBuilderCopyright © 2021. All rights reserved.