ArrowIPCWriterOptions#
- public class ArrowIPCWriterOptions extends WriterOptions#
Settings for writing Arrow IPC data.
Field Summary
Method Summary
Static Fields
- public static final ArrowIPCWriterOptions DEFAULT#
- public interface DoneOnGpu#
Method Summary
A callback to indicate that the table is off of the GPU and may be closed, even if all of the data is not yet written.
- public static class Builder extends WriterBuilder<Builder>#
Method Summary
Add the name(s) for nullable column(s).
Add the name(s) for non-nullable column(s).
Methods
- public Builder withColumnNames(String... columnNames)#
Add the name(s) for nullable column(s).
Please note the column names of the nested struct columns should be flattened in sequence. For examples,
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"]
- Parameters:
columnNames – The column names corresponding to the written table(s).
- public Builder withNotNullableColumnNames(String... columnNames)#
Add the name(s) for non-nullable column(s).
Please note the column names of the nested struct columns should be flattened in sequence. For examples,
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"]
- Parameters:
columnNames – The column names corresponding to the written table(s).
- public ArrowIPCWriterOptions build()#