public static class ArrowIPCWriterOptions.Builder extends WriterOptions.WriterBuilder<ArrowIPCWriterOptions.Builder>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ArrowIPCWriterOptions |
build() |
ArrowIPCWriterOptions.Builder |
withCallback(ArrowIPCWriterOptions.DoneOnGpu callback) |
ArrowIPCWriterOptions.Builder |
withColumnNames(String... columnNames)
Add the name(s) for nullable column(s).
|
ArrowIPCWriterOptions.Builder |
withMaxChunkSize(long size) |
ArrowIPCWriterOptions.Builder |
withNotNullableColumnNames(String... columnNames)
Add the name(s) for non-nullable column(s).
|
public ArrowIPCWriterOptions.Builder withMaxChunkSize(long size)
public ArrowIPCWriterOptions.Builder withCallback(ArrowIPCWriterOptions.DoneOnGpu callback)
public ArrowIPCWriterOptions.Builder withColumnNames(String... columnNames)
A table with an int column and a struct column: ["int_col", "struct_col":{"field_1", "field_2"}] output: ["int_col", "struct_col", "field_1", "field_2"] A table with an int column and a list of non-nested type column: ["int_col", "list_col":[]] output: ["int_col", "list_col"] A table with an int column and a list of struct column: ["int_col", "list_struct_col":[{"field_1", "field_2"}]] output: ["int_col", "list_struct_col", "field_1", "field_2"]
withColumnNames
in class WriterOptions.WriterBuilder<ArrowIPCWriterOptions.Builder>
columnNames
- The column names corresponding to the written table(s).public ArrowIPCWriterOptions.Builder withNotNullableColumnNames(String... columnNames)
A table with an int column and a struct column: ["int_col", "struct_col":{"field_1", "field_2"}] output: ["int_col", "struct_col", "field_1", "field_2"] A table with an int column and a list of non-nested type column: ["int_col", "list_col":[]] output: ["int_col", "list_col"] A table with an int column and a list of struct column: ["int_col", "list_struct_col":[{"field_1", "field_2"}]] output: ["int_col", "list_struct_col", "field_1", "field_2"]
withNotNullableColumnNames
in class WriterOptions.WriterBuilder<ArrowIPCWriterOptions.Builder>
columnNames
- The column names corresponding to the written table(s).public ArrowIPCWriterOptions build()
Copyright © 2024. All rights reserved.