@Namespace(value="arrow") @NoOffset @Properties(inherit=arrow.class) public class FixedSizeBinaryBuilder extends ArrayBuilder
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
FixedSizeBinaryBuilder(DataType type) |
FixedSizeBinaryBuilder(DataType type,
MemoryPool pool) |
FixedSizeBinaryBuilder(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Status |
Append(ArrowBuffer s) |
Status |
Append(byte[] value) |
Status |
Append(ByteBuffer value) |
Status |
Append(BytePointer value) |
Status |
Append(String value) |
Status |
AppendArraySlice(ArrayData array,
long offset,
long length)
\brief Append a range of values from an array.
|
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(byte[] data,
long length) |
Status |
AppendValues(byte[] data,
long length,
byte[] valid_bytes) |
Status |
AppendValues(byte[] data,
long length,
byte[] validity,
long bitmap_offset) |
Status |
AppendValues(ByteBuffer data,
long length) |
Status |
AppendValues(ByteBuffer data,
long length,
ByteBuffer valid_bytes) |
Status |
AppendValues(ByteBuffer data,
long length,
ByteBuffer validity,
long bitmap_offset) |
Status |
AppendValues(BytePointer data,
long length) |
Status |
AppendValues(BytePointer data,
long length,
BytePointer valid_bytes) |
Status |
AppendValues(BytePointer data,
long length,
BytePointer validity,
long bitmap_offset) |
int |
byte_width() |
Status |
Finish(FixedSizeBinaryArray out)
\endcond
|
Status |
FinishInternal(ArrayData out)
\brief Return result of builder as an internal generic ArrayData
object.
|
BytePointer |
GetValue(long i)
Temporary access to a value.
|
static long |
memory_limit()
Temporary access to a value.
|
Status |
ReserveData(long elements)
\brief Ensures there is enough allocated capacity to append the indicated
number of bytes to the value data buffer without additional allocations
|
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
|
void |
UnsafeAppend(ArrowBuffer s) |
void |
UnsafeAppend(byte[] value) |
void |
UnsafeAppend(ByteBuffer value) |
void |
UnsafeAppend(BytePointer value) |
void |
UnsafeAppend(String value) |
void |
UnsafeAppendNull() |
Status |
ValidateOverflow(long new_bytes) |
long |
value_data_length() |
_capacity, Advance, AppendScalar, AppendScalar, AppendScalars, child_builder, child, Finish, Finish, length, null_count, num_children, put, Reserve
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public FixedSizeBinaryBuilder(Pointer p)
Pointer(Pointer)
.public FixedSizeBinaryBuilder(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, MemoryPool pool)
public FixedSizeBinaryBuilder(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type)
@ByVal public Status Append(@Cast(value="const uint8_t*") BytePointer value)
@ByVal public Status Append(@Cast(value="const uint8_t*") ByteBuffer value)
@ByVal public Status Append(@Const @ByRef ArrowBuffer s)
@ByVal public Status AppendValues(@Cast(value="const uint8_t*") BytePointer data, @Cast(value="int64_t") long length, @Cast(value="const uint8_t*") BytePointer valid_bytes)
@ByVal public Status AppendValues(@Cast(value="const uint8_t*") BytePointer data, @Cast(value="int64_t") long length)
@ByVal public Status AppendValues(@Cast(value="const uint8_t*") ByteBuffer data, @Cast(value="int64_t") long length, @Cast(value="const uint8_t*") ByteBuffer valid_bytes)
@ByVal public Status AppendValues(@Cast(value="const uint8_t*") ByteBuffer data, @Cast(value="int64_t") long length)
@ByVal public Status AppendValues(@Cast(value="const uint8_t*") byte[] data, @Cast(value="int64_t") long length, @Cast(value="const uint8_t*") byte[] valid_bytes)
@ByVal public Status AppendValues(@Cast(value="const uint8_t*") byte[] data, @Cast(value="int64_t") long length)
@ByVal public Status AppendValues(@Cast(value="const uint8_t*") BytePointer data, @Cast(value="int64_t") long length, @Cast(value="const uint8_t*") BytePointer validity, @Cast(value="int64_t") long bitmap_offset)
@ByVal public Status AppendValues(@Cast(value="const uint8_t*") ByteBuffer data, @Cast(value="int64_t") long length, @Cast(value="const uint8_t*") ByteBuffer validity, @Cast(value="int64_t") long bitmap_offset)
@ByVal public Status AppendValues(@Cast(value="const uint8_t*") byte[] data, @Cast(value="int64_t") long length, @Cast(value="const uint8_t*") byte[] validity, @Cast(value="int64_t") long bitmap_offset)
@ByVal public Status AppendNull()
ArrayBuilder
AppendNull
in class ArrayBuilder
@ByVal public Status AppendNulls(@Cast(value="int64_t") long length)
ArrayBuilder
AppendNulls
in class ArrayBuilder
@ByVal public Status AppendEmptyValue()
ArrayBuilder
AppendEmptyValue
in class ArrayBuilder
@ByVal public Status AppendEmptyValues(@Cast(value="int64_t") long length)
ArrayBuilder
AppendEmptyValues
in class ArrayBuilder
@ByVal public Status AppendArraySlice(@Const @ByRef ArrayData array, @Cast(value="int64_t") long offset, @Cast(value="int64_t") long length)
ArrayBuilder
AppendArraySlice
in class ArrayBuilder
public void UnsafeAppend(@Cast(value="const uint8_t*") BytePointer value)
public void UnsafeAppend(@Cast(value="const uint8_t*") ByteBuffer value)
public void UnsafeAppend(String value)
public void UnsafeAppend(@Const @ByRef ArrowBuffer s)
public void UnsafeAppendNull()
@ByVal public Status ReserveData(@Cast(value="int64_t") long elements)
public void Reset()
ArrayBuilder
Reset
in class ArrayBuilder
@ByVal public Status Resize(@Cast(value="int64_t") long _capacity)
ArrayBuilder
Resize
in class ArrayBuilder
@ByVal public Status FinishInternal(@SharedPtr ArrayData out)
ArrayBuilder
FinishInternal
in class ArrayBuilder
out
- [out] the finalized ArrayData object@ByVal public Status Finish(@SharedPtr FixedSizeBinaryArray out)
@Cast(value="int64_t") public long value_data_length()
public int byte_width()
@Cast(value="const uint8_t*") public BytePointer GetValue(@Cast(value="int64_t") long i)
@Cast(value="const int64_t") public static long memory_limit()
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public DataType type()
ArrayBuilder
type
in class ArrayBuilder
Copyright © 2022. All rights reserved.