public class ScanOptions extends Object
| 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() |
@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)
Copyright © 2023 The Apache Software Foundation. All rights reserved.