public static class ORCOptions.Builder extends ColumnFilterOptions.Builder<ORCOptions.Builder>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ORCOptions |
build() |
ORCOptions.Builder |
decimal128Column(String... names)
Specify decimal columns which shall be read as DECIMAL128.
|
ORCOptions.Builder |
withNumPyTypes(boolean useNumPyTypes)
Specify whether the parser should implicitly promote TIMESTAMP_DAYS
columns to TIMESTAMP_MILLISECONDS for compatibility with NumPy.
|
ORCOptions.Builder |
withTimeUnit(DType unit)
Specify the time unit to use when returning timestamps.
|
includeColumn, includeColumn
public ORCOptions.Builder withNumPyTypes(boolean useNumPyTypes)
useNumPyTypes
- true to request this conversion, false to avoid.public ORCOptions.Builder withTimeUnit(DType unit)
unit
- default unit of time specified by the userpublic ORCOptions.Builder decimal128Column(String... names)
names
- names of columns which read as DECIMAL128public ORCOptions build()
Copyright © 2024. All rights reserved.