Package ai.rapids.cudf
Class ParquetOptions.Builder
java.lang.Object
ai.rapids.cudf.ColumnFilterOptions.Builder<ParquetOptions.Builder>
ai.rapids.cudf.ParquetOptions.Builder
- Enclosing class:
- ParquetOptions
public static class ParquetOptions.Builder
extends ColumnFilterOptions.Builder<ParquetOptions.Builder>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
includeColumn
(String... names) Include one or more specific columns.includeColumn
(String name, boolean isBinary) Include this column.includeColumn
(Collection<String> names) Include one or more specific columns.withTimeUnit
(DType unit) Specify the time unit to use when returning timestamps.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withTimeUnit
Specify the time unit to use when returning timestamps.- Parameters:
unit
- default unit of time specified by the user- Returns:
- builder for chaining
-
includeColumn
Include one or more specific columns. Any column not included will not be read.- Overrides:
includeColumn
in classColumnFilterOptions.Builder<ParquetOptions.Builder>
- Parameters:
names
- the name of the column, or more than one if you want.
-
includeColumn
Include this column.- Parameters:
name
- the name of the columnisBinary
- whether this column is to be read in as binary
-
includeColumn
Include one or more specific columns. Any column not included will not be read.- Overrides:
includeColumn
in classColumnFilterOptions.Builder<ParquetOptions.Builder>
- Parameters:
names
- the name of the column, or more than one if you want.
-
build
-