@Namespace(value="arrow::dataset") @Properties(inherit=arrow_dataset.class) public class ExpressionEvaluator extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ExpressionEvaluator(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DatumResult |
Evaluate(Expression expr,
RecordBatch batch) |
DatumResult |
Evaluate(Expression expr,
RecordBatch batch,
MemoryPool pool)
Evaluate expr against each row of a RecordBatch.
|
RecordBatchResult |
Filter(Datum selection,
RecordBatch batch) |
RecordBatchResult |
Filter(Datum selection,
RecordBatch batch,
MemoryPool pool) |
RecordBatchIterator |
FilterBatches(RecordBatchIterator unfiltered,
Expression filter) |
RecordBatchIterator |
FilterBatches(RecordBatchIterator unfiltered,
Expression filter,
MemoryPool pool)
\brief Wrap an iterator of record batches with a filter expression.
|
static ExpressionEvaluator |
Null()
construct an Evaluator which evaluates all expressions to null and does no
filtering
|
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 ExpressionEvaluator(Pointer p)
Pointer.Pointer(Pointer).@ByVal public DatumResult Evaluate(@Const @ByRef Expression expr, @Const @ByRef RecordBatch batch, MemoryPool pool)
@ByVal public DatumResult Evaluate(@Const @ByRef Expression expr, @Const @ByRef RecordBatch batch)
@ByVal public RecordBatchResult Filter(@Const @ByRef Datum selection, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::RecordBatch>"}) RecordBatch batch, MemoryPool pool)
@ByVal public RecordBatchResult Filter(@Const @ByRef Datum selection, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::RecordBatch>"}) RecordBatch batch)
@ByVal public RecordBatchIterator FilterBatches(@ByVal RecordBatchIterator unfiltered, @SharedPtr @ByVal Expression filter, MemoryPool pool)
@ByVal public RecordBatchIterator FilterBatches(@ByVal RecordBatchIterator unfiltered, @SharedPtr @ByVal Expression filter)
@SharedPtr public static ExpressionEvaluator Null()
Copyright © 2020. All rights reserved.