public static class ParquetOptions.Builder extends ColumnFilterOptions.Builder<ParquetOptions.Builder>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ParquetOptions |
build() |
ParquetOptions.Builder |
includeColumn(Collection<String> names)
Include one or more specific columns.
|
ParquetOptions.Builder |
includeColumn(String... names)
Include one or more specific columns.
|
ParquetOptions.Builder |
includeColumn(String name,
boolean isBinary)
Include this column.
|
ParquetOptions.Builder |
withTimeUnit(DType unit)
Specify the time unit to use when returning timestamps.
|
public ParquetOptions.Builder withTimeUnit(DType unit)
unit
- default unit of time specified by the userpublic ParquetOptions.Builder includeColumn(String... names)
includeColumn
in class ColumnFilterOptions.Builder<ParquetOptions.Builder>
names
- the name of the column, or more than one if you want.public ParquetOptions.Builder includeColumn(String name, boolean isBinary)
name
- the name of the columnisBinary
- whether this column is to be read in as binarypublic ParquetOptions.Builder includeColumn(Collection<String> names)
includeColumn
in class ColumnFilterOptions.Builder<ParquetOptions.Builder>
names
- the name of the column, or more than one if you want.public ParquetOptions build()
Copyright © 2024. All rights reserved.