public class LoadTableResponse extends java.lang.Object implements RESTResponse
This class is used whenever the response to a request is a table's requested metadata and the
associated location of its metadata, to reduce code duplication. This includes using this class
as the response for CreateTableRequest, including when
that request is used to commit an already staged table creation as part of a transaction.
| Modifier and Type | Class and Description |
|---|---|
static class |
LoadTableResponse.Builder |
| Constructor and Description |
|---|
LoadTableResponse() |
| Modifier and Type | Method and Description |
|---|---|
static LoadTableResponse.Builder |
builder() |
java.util.Map<java.lang.String,java.lang.String> |
config() |
java.lang.String |
metadataLocation() |
TableMetadata |
tableMetadata() |
java.lang.String |
toString() |
void |
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
|
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 metadataLocation()
public TableMetadata tableMetadata()
public java.util.Map<java.lang.String,java.lang.String> config()
public java.lang.String toString()
toString in class java.lang.Objectpublic static LoadTableResponse.Builder builder()