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 |
isNullable |
protected String |
name |
| Modifier | Constructor and Description |
|---|---|
protected |
NestedBuilder() |
protected |
NestedBuilder(String name,
boolean isNullable)
Builder specific to build a Struct meta
|
| Modifier and Type | Method and Description |
|---|---|
abstract V |
build() |
T |
withColumns(boolean nullable,
String... name)
Set a simple child meta data
|
protected ColumnWriterOptions |
withColumns(String name,
boolean isNullable) |
protected ColumnWriterOptions |
withDecimal(String name,
int precision,
boolean isNullable) |
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 |
withListColumn(ColumnWriterOptions.ListColumnWriterOptions child)
Set the list column meta.
|
T |
withMapColumn(ColumnWriterOptions child)
Set the map column meta.
|
T |
withNonNullableColumns(String... name)
Set column name
|
T |
withNullableColumns(String... name)
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) |
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
|
protected List<ColumnWriterOptions> children
protected boolean isNullable
protected String name
protected NestedBuilder(String name, boolean isNullable)
protected NestedBuilder()
protected ColumnWriterOptions withColumns(String name, boolean isNullable)
protected ColumnWriterOptions withDecimal(String name, int precision, boolean isNullable)
protected ColumnWriterOptions withTimestamp(String name, boolean isInt96, boolean isNullable)
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... name)
public T withDecimalColumn(String name, int precision, boolean nullable)
public T withNullableDecimalColumn(String name, int precision)
public T withDecimalColumn(String name, int precision)
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 © 2022. All rights reserved.