primaryTerm
API name:
_primary_termWithJson<BuilderT>GetResponse.Builder, GetResult.Builderprotected abstract static class GetResult.AbstractBuilder<TDocument,BuilderT extends GetResult.AbstractBuilder<TDocument,BuilderT>> extends WithJsonObjectBuilderBase<BuilderT>
| Modifier | Constructor | Description |
|---|---|---|
protected |
AbstractBuilder() |
| Modifier and Type | Method | Description |
|---|---|---|
BuilderT |
fields(java.lang.String key,
JsonData value) |
API name:
fields |
BuilderT |
fields(java.util.Map<java.lang.String,JsonData> map) |
API name:
fields |
BuilderT |
found(boolean value) |
Required - API name:
found |
BuilderT |
id(java.lang.String value) |
Required - API name:
_id |
BuilderT |
index(java.lang.String value) |
Required - API name:
_index |
BuilderT |
primaryTerm(java.lang.Long value) |
API name:
_primary_term |
BuilderT |
routing(java.lang.String value) |
API name:
_routing |
protected abstract BuilderT |
self() |
|
BuilderT |
seqNo(java.lang.Long value) |
API name:
_seq_no |
BuilderT |
source(TDocument value) |
API name:
_source |
BuilderT |
tDocumentSerializer(JsonpSerializer<TDocument> value) |
Serializer for TDocument.
|
BuilderT |
type(java.lang.String value) |
Deprecated.
7.0.0
|
BuilderT |
version(java.lang.Long value) |
API name:
_version |
withJson_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait_indexfields
Adds all entries of map to fields.
fields
Adds an entry to fields.
found_id_primary_term_routing_seq_no_source_type_versionself in class WithJsonObjectBuilderBase<BuilderT extends GetResult.AbstractBuilder<TDocument,BuilderT>>