@Name(value="arrow::TypedBufferBuilder<bool>") @NoOffset @Properties(inherit=arrow.class) public class TypedBufferBuilder extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
TypedBufferBuilder() |
TypedBufferBuilder(BufferBuilder builder) |
TypedBufferBuilder(long size)
Native array allocator.
|
TypedBufferBuilder(MemoryPool pool) |
TypedBufferBuilder(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
_capacity() |
Status |
Advance(long length) |
Status |
Append(boolean value) |
Status |
Append(byte[] valid_bytes,
long num_elements) |
Status |
Append(ByteBuffer valid_bytes,
long num_elements) |
Status |
Append(BytePointer valid_bytes,
long num_elements) |
Status |
Append(long num_copies,
boolean value) |
BufferBuilder |
bytes_builder() |
BytePointer |
data() |
long |
false_count() |
BufferResult |
Finish() |
Status |
Finish(ArrowBuffer out) |
Status |
Finish(ArrowBuffer out,
boolean shrink_to_fit) |
BufferResult |
Finish(boolean shrink_to_fit) |
BufferResult |
FinishWithLength(long final_length) |
BufferResult |
FinishWithLength(long final_length,
boolean shrink_to_fit)
\brief Like Finish, but override the final buffer size
This is useful after writing data directly into the builder memory
without calling the Append methods (basically, when using TypedBufferBuilder
only for memory allocation).
|
TypedBufferBuilder |
getPointer(long i) |
long |
length() |
BytePointer |
mutable_data() |
TypedBufferBuilder |
position(long position) |
Status |
Reserve(long additional_elements) |
void |
Reset() |
Status |
Resize(long new_capacity) |
Status |
Resize(long new_capacity,
boolean shrink_to_fit) |
void |
UnsafeAppend(boolean value) |
void |
UnsafeAppend(byte[] bytes,
long num_elements) |
void |
UnsafeAppend(byte[] bitmap,
long offset,
long num_elements) |
void |
UnsafeAppend(ByteBuffer bytes,
long num_elements) |
void |
UnsafeAppend(ByteBuffer bitmap,
long offset,
long num_elements) |
void |
UnsafeAppend(BytePointer bytes,
long num_elements)
\brief Append bits from an array of bytes (one value per byte)
|
void |
UnsafeAppend(BytePointer bitmap,
long offset,
long num_elements)
\brief Append bits from a packed bitmap
|
void |
UnsafeAppend(long num_copies,
boolean value) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic TypedBufferBuilder(Pointer p)
Pointer(Pointer).public TypedBufferBuilder(long size)
Pointer.position(long).public TypedBufferBuilder(MemoryPool pool)
public TypedBufferBuilder()
public TypedBufferBuilder(@ByVal BufferBuilder builder)
public TypedBufferBuilder position(long position)
public TypedBufferBuilder getPointer(long i)
getPointer in class Pointerpublic BufferBuilder bytes_builder()
@ByVal public Status Append(@Cast(value="const uint8_t*") BytePointer valid_bytes, @Cast(value="int64_t") long num_elements)
@ByVal public Status Append(@Cast(value="const uint8_t*") ByteBuffer valid_bytes, @Cast(value="int64_t") long num_elements)
@ByVal public Status Append(@Cast(value="const uint8_t*") byte[] valid_bytes, @Cast(value="int64_t") long num_elements)
@ByVal public Status Append(@Cast(value="const int64_t") long num_copies, @Cast(value="bool") boolean value)
public void UnsafeAppend(@Cast(value="const uint8_t*") BytePointer bytes, @Cast(value="int64_t") long num_elements)
public void UnsafeAppend(@Cast(value="const uint8_t*") ByteBuffer bytes, @Cast(value="int64_t") long num_elements)
public void UnsafeAppend(@Cast(value="const uint8_t*") byte[] bytes, @Cast(value="int64_t") long num_elements)
public void UnsafeAppend(@Cast(value="const uint8_t*") BytePointer bitmap, @Cast(value="int64_t") long offset, @Cast(value="int64_t") long num_elements)
public void UnsafeAppend(@Cast(value="const uint8_t*") ByteBuffer bitmap, @Cast(value="int64_t") long offset, @Cast(value="int64_t") long num_elements)
public void UnsafeAppend(@Cast(value="const uint8_t*") byte[] bitmap, @Cast(value="int64_t") long offset, @Cast(value="int64_t") long num_elements)
public void UnsafeAppend(@Cast(value="const int64_t") long num_copies, @Cast(value="bool") boolean value)
@ByVal public Status Resize(@Cast(value="const int64_t") long new_capacity, @Cast(value="bool") boolean shrink_to_fit)
@ByVal public Status Finish(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Buffer>*"}) ArrowBuffer out, @Cast(value="bool") boolean shrink_to_fit)
@ByVal public Status Finish(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Buffer>*"}) ArrowBuffer out)
@ByVal public BufferResult Finish(@Cast(value="bool") boolean shrink_to_fit)
@ByVal public BufferResult Finish()
@ByVal public BufferResult FinishWithLength(@Cast(value="int64_t") long final_length, @Cast(value="bool") boolean shrink_to_fit)
@ByVal public BufferResult FinishWithLength(@Cast(value="int64_t") long final_length)
public void Reset()
@Cast(value="const uint8_t*") public BytePointer data()
@Cast(value="uint8_t*") public BytePointer mutable_data()
Copyright © 2022. All rights reserved.