public abstract static class ColumnWriterOptions.NestedBuilder<T extends ColumnWriterOptions.NestedBuilder,V extends ColumnWriterOptions> extends Object
Modifier and Type | Field and Description |
---|---|
protected List<ColumnWriterOptions> |
children |
protected boolean |
hasParquetFieldId |
protected boolean |
isNullable |
protected String |
name |
protected int |
parquetFieldId |
Modifier | Constructor and Description |
---|---|
protected |
NestedBuilder() |
protected |
NestedBuilder(String name,
boolean isNullable)
Builder specific to build a Struct meta
|
protected |
NestedBuilder(String name,
boolean isNullable,
int parquetFieldId) |
Modifier and Type | Method and Description |
---|---|
abstract V |
build() |
protected ColumnWriterOptions |
withBinary(String name,
boolean isNullable) |
protected ColumnWriterOptions |
withBinary(String name,
boolean isNullable,
int parquetFieldId) |
T |
withBinaryColumn(String name,
boolean nullable)
Set a binary child meta data
|
T |
withBinaryColumn(String name,
boolean nullable,
int parquetFieldId)
Set a binary child meta data
|
T |
withColumn(boolean nullable,
String name,
int parquetFieldId)
Set a simple child meta data
|
protected ColumnWriterOptions |
withColumn(String name,
boolean isNullable) |
protected ColumnWriterOptions |
withColumn(String name,
boolean isNullable,
int parquetFieldId) |
T |
withColumns(boolean nullable,
String... names)
Set a simple child meta data
|
protected ColumnWriterOptions |
withDecimal(String name,
int precision,
boolean isNullable) |
protected ColumnWriterOptions |
withDecimal(String name,
int precision,
boolean isNullable,
int parquetFieldId) |
T |
withDecimalColumn(String name,
int precision)
Set a Decimal child meta data
|
T |
withDecimalColumn(String name,
int precision,
boolean nullable)
Set a Decimal child meta data
|
T |
withDecimalColumn(String name,
int precision,
boolean nullable,
int parquetFieldId)
Set a Decimal child meta data
|
T |
withListColumn(ColumnWriterOptions.ListColumnWriterOptions child)
Set the list column meta.
|
T |
withMapColumn(ColumnWriterOptions child)
Set the map column meta.
|
T |
withNonNullableColumns(String... names)
Set column name
|
T |
withNullableColumns(String... names)
Set nullable column meta data
|
T |
withNullableDecimalColumn(String name,
int precision)
Set a Decimal child meta data
|
T |
withNullableTimestampColumn(String name,
boolean isInt96)
Set a timestamp child meta data
|
T |
withStructColumn(ColumnWriterOptions.StructColumnWriterOptions child)
Set a child struct meta data
|
protected ColumnWriterOptions |
withTimestamp(String name,
boolean isInt96,
boolean isNullable) |
protected ColumnWriterOptions |
withTimestamp(String name,
boolean isInt96,
boolean isNullable,
int parquetFieldId) |
T |
withTimestampColumn(String name,
boolean isInt96)
Set a timestamp child meta data
|
T |
withTimestampColumn(String name,
boolean isInt96,
boolean nullable)
Set a timestamp child meta data
|
T |
withTimestampColumn(String name,
boolean isInt96,
boolean nullable,
int parquetFieldId)
Set a timestamp child meta data
|
protected List<ColumnWriterOptions> children
protected boolean isNullable
protected String name
protected boolean hasParquetFieldId
protected int parquetFieldId
protected NestedBuilder(String name, boolean isNullable)
protected NestedBuilder(String name, boolean isNullable, int parquetFieldId)
protected NestedBuilder()
protected ColumnWriterOptions withColumn(String name, boolean isNullable)
protected ColumnWriterOptions withColumn(String name, boolean isNullable, int parquetFieldId)
protected ColumnWriterOptions withDecimal(String name, int precision, boolean isNullable)
protected ColumnWriterOptions withDecimal(String name, int precision, boolean isNullable, int parquetFieldId)
protected ColumnWriterOptions withTimestamp(String name, boolean isInt96, boolean isNullable)
protected ColumnWriterOptions withTimestamp(String name, boolean isInt96, boolean isNullable, int parquetFieldId)
protected ColumnWriterOptions withBinary(String name, boolean isNullable)
protected ColumnWriterOptions withBinary(String name, boolean isNullable, int parquetFieldId)
public T withListColumn(ColumnWriterOptions.ListColumnWriterOptions child)
ColumnWriterOptions.DUMMY_CHILD
.
This is the current behavior in cudf and will change in futurepublic T withMapColumn(ColumnWriterOptions child)
public T withStructColumn(ColumnWriterOptions.StructColumnWriterOptions child)
public T withColumns(boolean nullable, String... names)
public T withColumn(boolean nullable, String name, int parquetFieldId)
public T withDecimalColumn(String name, int precision, boolean nullable)
public T withDecimalColumn(String name, int precision, boolean nullable, int parquetFieldId)
public T withNullableDecimalColumn(String name, int precision)
public T withDecimalColumn(String name, int precision)
public T withBinaryColumn(String name, boolean nullable, int parquetFieldId)
public T withBinaryColumn(String name, boolean nullable)
public T withTimestampColumn(String name, boolean isInt96, boolean nullable, int parquetFieldId)
public T withTimestampColumn(String name, boolean isInt96, boolean nullable)
public T withTimestampColumn(String name, boolean isInt96)
public T withNullableTimestampColumn(String name, boolean isInt96)
public abstract V build()
Copyright © 2024. All rights reserved.