public class DataFormat extends Object
This class defines the data format type and version to be used for reading or writing data. The default format is Arrow V5.
Example usage:
DataFormat format = DataFormat.newBuilder()
.withType("Arrow")
.withVersion("V5")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
DataFormat.Builder
Builder class for constructing DataFormat instances.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getType()
Gets the data format type.
|
String |
getVersion()
Gets the data format version.
|
static DataFormat.Builder |
newBuilder()
Creates a new builder for constructing DataFormat instances.
|
public static DataFormat.Builder newBuilder()
public String getType()
public String getVersion()
Copyright © 2026 Alibaba Cloud Computing. All rights reserved.