Package org.elasticsearch.action.update
Class UpdateResponse.Builder
java.lang.Object
org.elasticsearch.action.DocWriteResponse.Builder
org.elasticsearch.action.update.UpdateResponse.Builder
- Enclosing class:
- UpdateResponse
Builder class for
UpdateResponse
. This builder is usually used during xcontent parsing to
temporarily store the parsed values, then the DocWriteResponse.Builder.build()
method is called to
instantiate the UpdateResponse
.-
Field Summary
Fields inherited from class org.elasticsearch.action.DocWriteResponse.Builder
forcedRefresh, id, primaryTerm, result, seqNo, shardId, shardInfo, type, version
-
Constructor Summary
-
Method Summary
Methods inherited from class org.elasticsearch.action.DocWriteResponse.Builder
getId, getShardId, getType, setForcedRefresh, setId, setPrimaryTerm, setResult, setSeqNo, setShardId, setShardInfo, setType, setVersion
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setGetResult
-
build
- Specified by:
build
in classDocWriteResponse.Builder
-