Modifier and Type | Class and Description |
---|---|
static class |
Schema.Builder
A builder for constructing an immutable but still unresolved
Schema . |
Constructor and Description |
---|
Schema(List<DataField> fields,
List<String> partitionKeys,
List<String> primaryKeys,
Map<String,String> options,
String comment) |
Modifier and Type | Method and Description |
---|---|
String |
comment() |
boolean |
equals(Object o) |
List<DataField> |
fields() |
static Schema |
fromTableSchema(TableSchema tableSchema) |
int |
hashCode() |
static Schema.Builder |
newBuilder()
Builder for configuring and creating instances of
Schema . |
Map<String,String> |
options() |
List<String> |
partitionKeys() |
List<String> |
primaryKeys() |
RowType |
rowType() |
String |
toString() |
public RowType rowType()
public String comment()
public static Schema.Builder newBuilder()
Schema
.public static Schema fromTableSchema(TableSchema tableSchema)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.