public class TableSpec extends Object
This class is a simple holder of values. Semantics on top of the values are provided separately: by the catalog object model for writes, and by various Java classes for reads.
| Constructor and Description |
|---|
TableSpec(String type,
Map<String,Object> properties,
List<ColumnSpec> columns) |
| Modifier and Type | Method and Description |
|---|---|
List<ColumnSpec> |
columns() |
boolean |
equals(Object o) |
int |
hashCode() |
Map<String,Object> |
properties() |
String |
toString() |
String |
type() |
void |
validate()
Validate the final spec.
|
TableSpec |
withColumns(List<ColumnSpec> columns) |
TableSpec |
withProperties(Map<String,Object> properties) |
public TableSpec withColumns(List<ColumnSpec> columns)
public String type()
public List<ColumnSpec> columns()
public void validate()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.