@Namespace(value="arrow") @NoOffset @Properties(inherit=arrow.class) public class RecordBatchBuilder extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
RecordBatchBuilder(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
Flush(boolean reset_builders,
RecordBatch batch)
\brief Finish current batch and optionally reset
|
Status |
Flush(RecordBatch batch)
\brief Finish current batch and reset
|
ArrayBuilder |
GetField(int i)
\brief Get base pointer to field builder
|
long |
initial_capacity()
\brief The initial capacity for builders
|
static Status |
Make(Schema schema,
MemoryPool pool,
long initial_capacity,
RecordBatchBuilder builder)
\brief Create an initialize a RecordBatchBuilder
|
static Status |
Make(Schema schema,
MemoryPool pool,
RecordBatchBuilder builder)
\brief Create an initialize a RecordBatchBuilder
|
int |
num_fields()
\brief The number of fields in the schema
|
Schema |
schema()
\brief The number of fields in the schema
|
void |
SetInitialCapacity(long _capacity)
\brief Set the initial capacity for new builders
|
address, 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 RecordBatchBuilder(Pointer p)
Pointer(Pointer).@ByVal public static Status Make(@Const @SharedPtr @ByRef Schema schema, MemoryPool pool, @UniquePtr RecordBatchBuilder builder)
schema - [in] The schema for the record batchpool - [in] A MemoryPool to use for allocationsbuilder - [in] the created builder instance@ByVal public static Status Make(@Const @SharedPtr @ByRef Schema schema, MemoryPool pool, @Cast(value="int64_t") long initial_capacity, @UniquePtr RecordBatchBuilder builder)
schema - [in] The schema for the record batchpool - [in] A MemoryPool to use for allocationsinitial_capacity - [in] The initial capacity for the buildersbuilder - [in] the created builder instancepublic ArrayBuilder GetField(int i)
i - the field index@ByVal public Status Flush(@Cast(value="bool") boolean reset_builders, @SharedPtr RecordBatch batch)
reset_builders - [in] the resulting RecordBatchbatch - [out] the resulting RecordBatch@ByVal public Status Flush(@SharedPtr RecordBatch batch)
batch - [out] the resulting RecordBatchpublic void SetInitialCapacity(@Cast(value="int64_t") long _capacity)
@Cast(value="int64_t") public long initial_capacity()
public int num_fields()
@SharedPtr @ByVal public Schema schema()
Copyright © 2021. All rights reserved.