@Name(value="arrow::NumericBuilder<arrow::UInt32Type>") @NoOffset @Properties(inherit=arrow.class) public class UInt32Builder extends ArrayBuilder
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
UInt32Builder(DataType type,
MemoryPool pool) |
UInt32Builder(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
Append(int val)
Append a single scalar and increase the size if necessary.
|
Status |
AppendEmptyValue()
\brief Append a empty element
|
Status |
AppendEmptyValues(long length)
\brief Append several empty elements
|
Status |
AppendNull()
\brief Append a single null element
|
Status |
AppendNulls(long length)
Write nulls as uint8_t* (0 value indicates null) into pre-allocated memory
The memory at the corresponding data slot is set to 0 to prevent
uninitialized memory access
|
Status |
AppendValues(int[] values) |
Status |
AppendValues(int[] values,
BoolVector is_valid) |
Status |
AppendValues(int[] values,
long length) |
Status |
AppendValues(int[] values,
long length,
BoolVector is_valid) |
Status |
AppendValues(int[] values,
long length,
byte[] valid_bytes) |
Status |
AppendValues(IntBuffer values) |
Status |
AppendValues(IntBuffer values,
BoolVector is_valid) |
Status |
AppendValues(IntBuffer values,
long length) |
Status |
AppendValues(IntBuffer values,
long length,
BoolVector is_valid) |
Status |
AppendValues(IntBuffer values,
long length,
ByteBuffer valid_bytes) |
Status |
AppendValues(IntPointer values)
\brief Append a sequence of elements in one shot
|
Status |
AppendValues(IntPointer values,
BoolVector is_valid)
\brief Append a sequence of elements in one shot
|
Status |
AppendValues(IntPointer values,
long length) |
Status |
AppendValues(IntPointer values,
long length,
BoolVector is_valid)
\brief Append a sequence of elements in one shot
|
Status |
AppendValues(IntPointer values,
long length,
BytePointer valid_bytes)
\brief Append a sequence of elements in one shot
|
Status |
Finish(int[] out) |
Status |
Finish(IntBuffer out) |
Status |
Finish(IntPointer out)
\endcond
|
Status |
FinishInternal(ArrayData out)
\brief Return result of builder as an internal generic ArrayData
object.
|
IntPointer |
get(long index) |
int |
GetValue(long index) |
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(int val)
Append a single scalar under the assumption that the underlying Buffer is
large enough.
|
void |
UnsafeAppendNull() |
_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, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic UInt32Builder(Pointer p)
Pointer(Pointer).public UInt32Builder(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, MemoryPool pool)
@ByVal public Status Append(@Cast(value="const arrow::NumericBuilder<arrow::UInt32Type>::value_type") int val)
@ByVal public Status AppendNulls(@Cast(value="int64_t") long length)
AppendNulls in class ArrayBuilder@ByVal public Status AppendNull()
AppendNull in class ArrayBuilder@ByVal public Status AppendEmptyValue()
AppendEmptyValue in class ArrayBuilder@ByVal public Status AppendEmptyValues(@Cast(value="int64_t") long length)
AppendEmptyValues in class ArrayBuilder@Cast(value="arrow::NumericBuilder<arrow::UInt32Type>::value_type") public int GetValue(@Cast(value="int64_t") long index)
public void Reset()
ArrayBuilderReset in class ArrayBuilder@ByVal public Status Resize(@Cast(value="int64_t") long _capacity)
ArrayBuilderResize in class ArrayBuilder@Cast(value="arrow::NumericBuilder<arrow::UInt32Type>::value_type*") @ByRef @Name(value="operator []") public IntPointer get(@Cast(value="int64_t") long index)
@ByVal public Status AppendValues(@Cast(value="const arrow::NumericBuilder<arrow::UInt32Type>::value_type*") IntPointer values, @Cast(value="int64_t") long length, @Cast(value="const uint8_t*") BytePointer valid_bytes)
values - [in] a contiguous C array of valueslength - [in] the number of values to appendvalid_bytes - [in] an optional sequence of bytes where non-zero
indicates a valid (non-null) value@ByVal public Status AppendValues(@Cast(value="const arrow::NumericBuilder<arrow::UInt32Type>::value_type*") IntPointer values, @Cast(value="int64_t") long length)
@ByVal public Status AppendValues(@Cast(value="const arrow::NumericBuilder<arrow::UInt32Type>::value_type*") IntBuffer values, @Cast(value="int64_t") long length, @Cast(value="const uint8_t*") ByteBuffer valid_bytes)
@ByVal public Status AppendValues(@Cast(value="const arrow::NumericBuilder<arrow::UInt32Type>::value_type*") IntBuffer values, @Cast(value="int64_t") long length)
@ByVal public Status AppendValues(@Cast(value="const arrow::NumericBuilder<arrow::UInt32Type>::value_type*") int[] values, @Cast(value="int64_t") long length, @Cast(value="const uint8_t*") byte[] valid_bytes)
@ByVal public Status AppendValues(@Cast(value="const arrow::NumericBuilder<arrow::UInt32Type>::value_type*") int[] values, @Cast(value="int64_t") long length)
@ByVal public Status AppendValues(@Cast(value="const arrow::NumericBuilder<arrow::UInt32Type>::value_type*") IntPointer values, @Cast(value="int64_t") long length, @Const @ByRef BoolVector is_valid)
values - [in] a contiguous C array of valueslength - [in] the number of values to appendis_valid - [in] an std::vector@ByVal public Status AppendValues(@Cast(value="const arrow::NumericBuilder<arrow::UInt32Type>::value_type*") IntBuffer values, @Cast(value="int64_t") long length, @Const @ByRef BoolVector is_valid)
@ByVal public Status AppendValues(@Cast(value="const arrow::NumericBuilder<arrow::UInt32Type>::value_type*") int[] values, @Cast(value="int64_t") long length, @Const @ByRef BoolVector is_valid)
@ByVal public Status AppendValues(@Cast(value="arrow::NumericBuilder<arrow::UInt32Type>::value_type*") @StdVector IntPointer values, @Const @ByRef BoolVector is_valid)
values - [in] a std::vector of valuesis_valid - [in] an std::vector@ByVal public Status AppendValues(@Cast(value="arrow::NumericBuilder<arrow::UInt32Type>::value_type*") @StdVector IntBuffer values, @Const @ByRef BoolVector is_valid)
@ByVal public Status AppendValues(@Cast(value="arrow::NumericBuilder<arrow::UInt32Type>::value_type*") @StdVector int[] values, @Const @ByRef BoolVector is_valid)
@ByVal public Status AppendValues(@Cast(value="arrow::NumericBuilder<arrow::UInt32Type>::value_type*") @StdVector IntPointer values)
values - [in] a std::vector of values@ByVal public Status AppendValues(@Cast(value="arrow::NumericBuilder<arrow::UInt32Type>::value_type*") @StdVector IntBuffer values)
@ByVal public Status AppendValues(@Cast(value="arrow::NumericBuilder<arrow::UInt32Type>::value_type*") @StdVector int[] values)
@ByVal public Status FinishInternal(@SharedPtr ArrayData out)
ArrayBuilderFinishInternal in class ArrayBuilderout - [out] the finalized ArrayData object@ByVal public Status Finish(@Cast(value="arrow::NumericBuilder<arrow::UInt32Type>::ArrayType*") @SharedPtr IntPointer out)
@ByVal public Status Finish(@Cast(value="arrow::NumericBuilder<arrow::UInt32Type>::ArrayType*") @SharedPtr IntBuffer out)
@ByVal public Status Finish(@Cast(value="arrow::NumericBuilder<arrow::UInt32Type>::ArrayType*") @SharedPtr int[] out)
public void UnsafeAppend(@Cast(value="const arrow::NumericBuilder<arrow::UInt32Type>::value_type") int val)
public void UnsafeAppendNull()
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public DataType type()
ArrayBuildertype in class ArrayBuilderCopyright © 2021. All rights reserved.