@Namespace(value="arrow::dataset") @NoOffset @Properties(inherit=arrow_dataset.class) public class ScannerBuilder extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ScannerBuilder(Dataset dataset,
ScanContext scan_context) |
ScannerBuilder(Pointer p)
Pointer cast constructor.
|
ScannerBuilder(Schema schema,
Fragment fragment,
ScanContext scan_context) |
| Modifier and Type | Method and Description |
|---|---|
Status |
BatchSize(long batch_size)
\brief Set the maximum number of rows per RecordBatch.
|
Status |
Filter(Expression filter)
\brief Set the filter expression to return only rows matching the filter.
|
ScannerResult |
Finish()
\brief Return the constructed now-immutable Scanner object
|
Status |
Project(StringVector columns)
\brief Set the subset of columns to materialize.
|
Schema |
schema() |
Status |
UseThreads() |
Status |
UseThreads(boolean use_threads)
\brief Indicate if the Scanner should make use of the available
ThreadPool found in ScanContext;
|
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 ScannerBuilder(Pointer p)
Pointer(Pointer).public ScannerBuilder(@SharedPtr @ByVal Dataset dataset, @SharedPtr ScanContext scan_context)
public ScannerBuilder(@SharedPtr @ByVal Schema schema, @SharedPtr @ByVal Fragment fragment, @SharedPtr ScanContext scan_context)
@ByVal public Status Project(@ByVal StringVector columns)
columns - [in] list of columns to project. Order and duplicates will
be preserved.@ByVal public Status Filter(@Const @ByRef Expression filter)
filter - [in] expression to filter rows with.@ByVal public Status UseThreads(@Cast(value="bool") boolean use_threads)
@ByVal public Status BatchSize(@Cast(value="int64_t") long batch_size)
batch_size - [in] the maximum number of rows.@ByVal public ScannerResult Finish()
@Const @SharedPtr @ByRef public Schema schema()
Copyright © 2021. All rights reserved.