Package org.elasticsearch.action.update
Class UpdateHelper.Result
- java.lang.Object
-
- org.elasticsearch.action.update.UpdateHelper.Result
-
- Enclosing class:
- UpdateHelper
public static class UpdateHelper.Result extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Result(Streamable action, DocWriteResponse.Result result, java.util.Map<java.lang.String,java.lang.Object> updatedSourceAsMap, XContentType updateSourceContentType)
-
Method Summary
Modifier and Type Method Description <T extends Streamable>
Taction()
DocWriteResponse.Result
getResponseResult()
java.util.Map<java.lang.String,java.lang.Object>
updatedSourceAsMap()
XContentType
updateSourceContentType()
-
-
-
Constructor Detail
-
Result
public Result(Streamable action, DocWriteResponse.Result result, java.util.Map<java.lang.String,java.lang.Object> updatedSourceAsMap, XContentType updateSourceContentType)
-
-
Method Detail
-
action
public <T extends Streamable> T action()
-
getResponseResult
public DocWriteResponse.Result getResponseResult()
-
updatedSourceAsMap
public java.util.Map<java.lang.String,java.lang.Object> updatedSourceAsMap()
-
updateSourceContentType
public XContentType updateSourceContentType()
-
-