Package ai.rapids.cudf
Class ArrowIPCWriterOptions.Builder
java.lang.Object
ai.rapids.cudf.ArrowIPCWriterOptions.Builder
- Enclosing class:
- ArrowIPCWriterOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
withCallback
(ArrowIPCWriterOptions.DoneOnGpu callback) withColumnNames
(String... columnNames) Add the name(s) for nullable column(s).withMaxChunkSize
(long size) withNotNullableColumnNames
(String... columnNames) Add the name(s) for non-nullable column(s).
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withMaxChunkSize
-
withCallback
-
withColumnNames
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).
-
withNotNullableColumnNames
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).
-
build
-