Package | Description |
---|---|
org.apache.paimon.schema |
Modifier and Type | Method and Description |
---|---|
Schema.Builder |
Schema.Builder.column(String columnName,
DataType dataType)
Declares a column that is appended to this schema.
|
Schema.Builder |
Schema.Builder.column(String columnName,
DataType dataType,
String description)
Declares a column that is appended to this schema.
|
Schema.Builder |
Schema.Builder.comment(String comment)
Declares table comment.
|
static Schema.Builder |
Schema.newBuilder()
Builder for configuring and creating instances of
Schema . |
Schema.Builder |
Schema.Builder.option(String key,
String value)
Declares an option.
|
Schema.Builder |
Schema.Builder.options(Map<String,String> options)
Declares options.
|
Schema.Builder |
Schema.Builder.partitionKeys(List<String> columnNames)
Declares partition keys.
|
Schema.Builder |
Schema.Builder.partitionKeys(String... columnNames)
Declares partition keys.
|
Schema.Builder |
Schema.Builder.primaryKey(List<String> columnNames)
Declares a primary key constraint for a set of given columns.
|
Schema.Builder |
Schema.Builder.primaryKey(String... columnNames)
Declares a primary key constraint for a set of given columns.
|
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.