@Namespace(value="arrow::dataset") @NoOffset @Properties(inherit=arrow_dataset.class) public class RecordBatchProjector extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Modifier and Type | Field and Description |
|---|---|
static int |
kNoMatch |
| Constructor and Description |
|---|
RecordBatchProjector(Pointer p)
Pointer cast constructor.
|
RecordBatchProjector(Schema to)
A column required by the given schema but absent from a record batch will be added
to the projected record batch with all its slots null.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
kNoMatch() |
RecordBatchResult |
Project(RecordBatch batch) |
RecordBatchResult |
Project(RecordBatch batch,
MemoryPool pool) |
Schema |
schema() |
Status |
SetDefaultValue(FieldRef ref,
Scalar scalar)
If the indexed field is absent from a record batch it will be added to the projected
record batch with all its slots equal to the provided scalar (instead of null).
|
Status |
SetInputSchema(Schema from) |
Status |
SetInputSchema(Schema from,
MemoryPool pool) |
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, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic RecordBatchProjector(Pointer p)
Pointer(Pointer).public RecordBatchProjector(@SharedPtr @ByVal Schema to)
@MemberGetter public static int kNoMatch()
@ByVal public Status SetDefaultValue(@ByVal FieldRef ref, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Scalar>"}) Scalar scalar)
@ByVal public RecordBatchResult Project(@Const @ByRef RecordBatch batch, MemoryPool pool)
@ByVal public RecordBatchResult Project(@Const @ByRef RecordBatch batch)
@Const @SharedPtr @ByRef public Schema schema()
@ByVal public Status SetInputSchema(@SharedPtr @ByVal Schema from, MemoryPool pool)
@ByVal public Status SetInputSchema(@SharedPtr @ByVal Schema from)
Copyright © 2021. All rights reserved.