java.lang.Object
org.apache.arrow.dataset.scanner.ScanOptions.Builder
- Enclosing class:
- ScanOptions
Builder for Options used during scanning.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Set the Projected columns.fragmentScanOptions(FragmentScanOptions fragmentScanOptions) Set the FragmentScanOptions.substraitFilter(ByteBuffer substraitFilter) Set the Substrait extended expression for Filter.substraitProjection(ByteBuffer substraitProjection) Set the Substrait extended expression for Projection new columns.
-
Constructor Details
-
Builder
public Builder(long batchSize) Constructor.- Parameters:
batchSize- Maximum row number of each returnedArrowRecordBatch
-
-
Method Details
-
columns
Set the Projected columns. Empty for scanning all columns.- Parameters:
columns- Projected columns. Empty for scanning all columns.- Returns:
- the ScanOptions configured.
-
substraitProjection
Set the Substrait extended expression for Projection new columns.- Parameters:
substraitProjection- Expressions to evaluate for project new columns.- Returns:
- the ScanOptions configured.
-
substraitFilter
Set the Substrait extended expression for Filter.- Parameters:
substraitFilter- Expressions to evaluate for apply Filter.- Returns:
- the ScanOptions configured.
-
fragmentScanOptions
Set the FragmentScanOptions.- Parameters:
fragmentScanOptions- fragment scan options- Returns:
- the ScanOptions configured.
-
build
-