public final class Truncation extends SqllrObject
| Modifier and Type | Class and Description |
|---|---|
static class |
Truncation.Builder
Collects the members of a new
Truncation. |
SqllrObject.Reader<T>| Modifier and Type | Field and Description |
|---|---|
static List<String> |
MEMBERS
The members the schema defines, in schema order.
|
static SqllrObject.Reader<Truncation> |
READER
Reads a JSON object as a
Truncation. |
static List<String> |
REQUIRED
The members the schema requires.
|
| Modifier and Type | Method and Description |
|---|---|
static Truncation.Builder |
builder() |
static Truncation |
fromJson(Object json)
A
Truncation with the members of a JSON object, all kept. |
Map<String,Object> |
getBudget()
The member
budget. |
String |
getContinuationToken()
The member
continuationToken. |
Map<String,Extension> |
getExtensions()
The member
extensions. |
String |
getReason()
The member
reason. |
Truncation.Builder |
toBuilder()
A builder holding every member of this object.
|
public static final SqllrObject.Reader<Truncation> READER
Truncation.public static Truncation fromJson(Object json)
Truncation with the members of a JSON object, all kept.public static Truncation.Builder builder()
public Truncation.Builder toBuilder()
public String getReason()
reason. Why a served result was truncated. Registry group
'truncationReasons' (Section 4.4). Null when absent; throws IllegalStateException when the
member holds another JSON type.public Map<String,Object> getBudget()
budget. The budget that was exhausted. Null when absent; throws
IllegalStateException when the member holds another JSON type.public String getContinuationToken()
continuationToken. An opaque token to request the next part. Null when
absent; throws IllegalStateException when the member holds another JSON type.public Map<String,Extension> getExtensions()
extensions. Extension data keyed by namespace. Every core object may carry
it; it never takes part in a core identity. Null when absent; throws IllegalStateException
when the member holds another JSON type.