Package org.elasticsearch.action.delete
Class DeleteResponse.Builder
java.lang.Object
org.elasticsearch.action.DocWriteResponse.Builder
org.elasticsearch.action.delete.DeleteResponse.Builder
- Enclosing class:
- DeleteResponse
public static class DeleteResponse.Builder extends DocWriteResponse.Builder
Builder class for
DeleteResponse
. 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 DeleteResponse
.-
Field Summary
Fields inherited from class org.elasticsearch.action.DocWriteResponse.Builder
forcedRefresh, id, primaryTerm, result, seqNo, shardId, shardInfo, type, version
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DeleteResponse
build()
Methods inherited from class org.elasticsearch.action.DocWriteResponse.Builder
getId, getShardId, getType, setForcedRefresh, setId, setPrimaryTerm, setResult, setSeqNo, setShardId, setShardInfo, setType, setVersion
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
- Specified by:
build
in classDocWriteResponse.Builder
-