public class ScanOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ScanOptions.Builder
Builder for Options used during scanning.
|
| Constructor and Description |
|---|
ScanOptions(long batchSize) |
ScanOptions(long batchSize,
Optional<String[]> columns)
Constructor.
|
ScanOptions(String[] columns,
long batchSize)
Deprecated.
Deprecated. Use
ScanOptions(long, Optional) instead. |
| Modifier and Type | Method and Description |
|---|---|
long |
getBatchSize() |
Optional<String[]> |
getColumns() |
Optional<ByteBuffer> |
getSubstraitFilter() |
Optional<ByteBuffer> |
getSubstraitProjection() |
@Deprecated public ScanOptions(String[] columns, long batchSize)
ScanOptions(long, Optional) instead.columns - Projected columns. Empty for scanning all columns.batchSize - Maximum row number of each returned ArrowRecordBatchpublic ScanOptions(long batchSize,
Optional<String[]> columns)
batchSize - Maximum row number of each returned ArrowRecordBatchcolumns - (Optional) Projected columns. Optional.empty() for scanning all columns. Otherwise,
Only columns present in the Array will be scanned.public ScanOptions(long batchSize)
public long getBatchSize()
public Optional<ByteBuffer> getSubstraitProjection()
public Optional<ByteBuffer> getSubstraitFilter()
Copyright © 2024 The Apache Software Foundation. All rights reserved.