primaryTerm
Required - API name:
_primary_term
ObjectBuilder<InlineGet<TDocument>>
public static class InlineGet.Builder<TDocument> extends java.lang.Object implements ObjectBuilder<InlineGet<TDocument>>
InlineGet
.Constructor | Description |
---|---|
Builder() |
Modifier and Type | Method | Description |
---|---|---|
InlineGet<TDocument> |
build() |
Builds a
InlineGet . |
InlineGet.Builder<TDocument> |
fields(java.util.Map<java.lang.String,JsonData> value) |
API name:
fields |
InlineGet.Builder<TDocument> |
found(boolean value) |
Required - API name:
found |
InlineGet.Builder<TDocument> |
primaryTerm(long value) |
Required - API name:
_primary_term |
InlineGet.Builder<TDocument> |
putFields(java.lang.String key,
JsonData value) |
Add a key/value to
fields(Map) , creating the map if needed. |
InlineGet.Builder<TDocument> |
routing(java.lang.String value) |
API name:
_routing |
InlineGet.Builder<TDocument> |
seqNo(int value) |
Required - API name:
_seq_no |
InlineGet.Builder<TDocument> |
source(TDocument value) |
Required - API name:
_source |
InlineGet.Builder<TDocument> |
tDocumentSerializer(JsonpSerializer<TDocument> value) |
Serializer for TDocument.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fields
fields(Map)
, creating the map if needed.found
_seq_no
_primary_term
_routing
_source
InlineGet
.build
in interface ObjectBuilder<TDocument>
java.lang.NullPointerException
- if some of the required fields are null.