@Namespace(value="gandiva") @NoOffset @Properties(inherit=gandiva.class) public class Filter extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Filter(LLVMGenerator llvm_generator,
Schema schema,
Configuration config) |
Filter(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
DumpIR() |
Status |
Evaluate(RecordBatch batch,
SelectionVector out_selection)
Evaluate the specified record batch, and populate output selection vector.
|
static Status |
Make(Schema schema,
Condition condition,
Configuration config,
Filter filter)
\brief Build a filter for the given schema and condition.
|
static Status |
Make(Schema schema,
Condition condition,
Filter filter)
Build a filter for the given schema and condition, with the default configuration.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Filter(Pointer p)
Pointer(Pointer)
.public Filter(@UniquePtr LLVMGenerator llvm_generator, @SharedPtr @ByVal Schema schema, @SharedPtr Configuration config)
@ByVal public static Status Make(@SharedPtr @ByVal Schema schema, @SharedPtr Condition condition, @SharedPtr Filter filter)
schema
- [in] schema for the record batches, and the condition.condition
- [in] filter condition.filter
- [out] the returned filter object@ByVal public static Status Make(@SharedPtr @ByVal Schema schema, @SharedPtr Condition condition, @SharedPtr Configuration config, @SharedPtr Filter filter)
schema
- [in] schema for the record batches, and the condition.condition
- [in] filter conditions.config
- [in] run time configuration.filter
- [out] the returned filter object@ByVal public Status Evaluate(@Const @ByRef RecordBatch batch, @SharedPtr SelectionVector out_selection)
batch
- [in] the record batch. schema should be the same as the one in 'Make'out_selection
- [in,out] the selection array with indices of rows that match
the condition.@StdString public String DumpIR()
Copyright © 2022. All rights reserved.