primaryTerm
@Nullable
public java.lang.Long primaryTerm()
API name:
_primary_term
JsonpSerializable
public final class GetResponse<TDocument> extends java.lang.Object implements JsonpSerializable
Modifier and Type | Class | Description |
---|---|---|
static class |
GetResponse.Builder<TDocument> |
Builder for
GetResponse . |
Constructor | Description |
---|---|
GetResponse(GetResponse.Builder<TDocument> builder) |
|
GetResponse(java.util.function.Function<GetResponse.Builder<TDocument>,GetResponse.Builder<TDocument>> fn) |
Modifier and Type | Method | Description |
---|---|---|
static <TDocument> |
createGetResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer) |
Create a json deserializer for GetResponse
|
java.util.Map<java.lang.String,JsonData> |
fields() |
API name:
fields |
boolean |
found() |
Required - API name:
found |
java.lang.String |
id() |
Required - API name:
_id |
java.lang.String |
index() |
Required - API name:
_index |
java.lang.Long |
primaryTerm() |
API name:
_primary_term |
java.lang.String |
routing() |
API name:
_routing |
java.lang.Integer |
seqNo() |
API name:
_seq_no |
void |
serialize(jakarta.json.stream.JsonGenerator generator,
JsonpMapper mapper) |
Serialize this object to JSON.
|
protected void |
serializeInternal(jakarta.json.stream.JsonGenerator generator,
JsonpMapper mapper) |
|
protected static <TDocument> |
setupGetResponseDeserializer(DelegatingDeserializer<GetResponse.Builder<TDocument>> op,
JsonpDeserializer<TDocument> tDocumentDeserializer) |
|
TDocument |
source() |
API name:
_source |
java.lang.String |
type() |
API name:
_type |
java.lang.Long |
version() |
API name:
_version |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_index
fields
found
_id
_primary_term
_routing
_seq_no
_source
_type
_version
serialize
in interface JsonpSerializable