primaryTerm
@Nullable
public final java.lang.Long primaryTerm()
API name:
_primary_term
JsonpSerializable
public class InlineGet<TDocument> extends java.lang.Object implements JsonpSerializable
Modifier and Type | Class | Description |
---|---|---|
static class |
InlineGet.Builder<TDocument> |
Builder for
InlineGet . |
Modifier and Type | Method | Description |
---|---|---|
static <TDocument> |
createInlineGetDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer) |
Create a JSON deserializer for InlineGet
|
java.util.Map<java.lang.String,JsonData> |
fields() |
API name:
fields |
boolean |
found() |
Required - API name:
found |
java.util.Map<java.lang.String,JsonData> |
metadata() |
Document metadata
|
static <TDocument> |
of(java.util.function.Function<InlineGet.Builder<TDocument>,ObjectBuilder<InlineGet<TDocument>>> fn) |
|
java.lang.Long |
primaryTerm() |
API name:
_primary_term |
java.lang.String |
routing() |
API name:
_routing |
java.lang.Long |
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> |
setupInlineGetDeserializer(ObjectDeserializer<InlineGet.Builder<TDocument>> op,
JsonpDeserializer<TDocument> tDocumentDeserializer) |
|
TDocument |
source() |
Required - API name:
_source |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fields
found
_seq_no
_primary_term
_routing
_source
serialize
in interface JsonpSerializable