@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(byte[] value) |
Status |
Append(ByteBuffer value) |
Status |
Append(BytePointer value) |
Status |
Append(String value) |
Status |
AppendNull() |
Status |
AppendNulls(long length) |
Status |
AppendValues(byte[] data,
long length) |
Status |
AppendValues(byte[] data,
long length,
byte[] valid_bytes) |
Status |
AppendValues(ByteBuffer data,
long length) |
Status |
AppendValues(ByteBuffer data,
long length,
ByteBuffer valid_bytes) |
Status |
AppendValues(BytePointer data,
long length) |
Status |
AppendValues(BytePointer data,
long length,
BytePointer valid_bytes) |
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.
|
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(byte[] value) |
void |
UnsafeAppend(ByteBuffer value) |
void |
UnsafeAppend(BytePointer value) |
void |
UnsafeAppendNull() |
long |
value_data_length() |
_capacity, Advance, child, Finish, length, null_count, num_children, Reserveaddress, 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 FixedSizeBinaryBuilder(Pointer p)
Pointer.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 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 AppendNull()
AppendNull in class ArrayBuilder@ByVal public Status AppendNulls(@Cast(value="int64_t") long length)
AppendNulls in class ArrayBuilderpublic void UnsafeAppend(@Cast(value="const uint8_t*") BytePointer value)
public void UnsafeAppend(@Cast(value="const uint8_t*") ByteBuffer value)
public void UnsafeAppendNull()
public void Reset()
ArrayBuilderReset in class ArrayBuilder@ByVal public Status Resize(@Cast(value="int64_t") long _capacity)
ArrayBuilderResize in class ArrayBuilder@ByVal public Status FinishInternal(@SharedPtr ArrayData out)
ArrayBuilderFinishInternal in class ArrayBuilderout - [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()
ArrayBuildertype in class ArrayBuilderCopyright © 2020. All rights reserved.