public class CreateTableRequest extends java.lang.Object implements RESTRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateTableRequest.Builder |
| Constructor and Description |
|---|
CreateTableRequest() |
| Modifier and Type | Method and Description |
|---|---|
static CreateTableRequest.Builder |
builder() |
java.lang.String |
location() |
java.lang.String |
name() |
java.util.Map<java.lang.String,java.lang.String> |
properties() |
Schema |
schema() |
PartitionSpec |
spec() |
boolean |
stageCreate() |
java.lang.String |
toString() |
void |
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
|
SortOrder |
writeOrder() |
public void validate()
RESTMessageThis is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.
validate in interface RESTMessagepublic java.lang.String name()
public java.lang.String location()
public Schema schema()
public PartitionSpec spec()
public SortOrder writeOrder()
public java.util.Map<java.lang.String,java.lang.String> properties()
public boolean stageCreate()
public java.lang.String toString()
toString in class java.lang.Objectpublic static CreateTableRequest.Builder builder()