Class IndexRequestWrapper
- java.lang.Object
-
- org.apache.skywalking.oap.server.library.client.elasticsearch.IndexRequestWrapper
-
- All Implemented Interfaces:
InsertRequest,PrepareRequest
public class IndexRequestWrapper extends Object implements InsertRequest
-
-
Field Summary
Fields Modifier and Type Field Description protected IndexRequestrequest
-
Constructor Summary
Constructors Modifier Constructor Description protectedIndexRequestWrapper()Expose an empty constructor to lazy initialization.IndexRequestWrapper(String index, String type, String id, Map<String,?> source)IndexRequestWrapper(String index, String type, String id, Optional<String> routing, Map<String,?> source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexRequestgetRequest()voidonInsertCompleted()
-
-
-
Field Detail
-
request
protected IndexRequest request
-
-
Constructor Detail
-
IndexRequestWrapper
public IndexRequestWrapper(String index, String type, String id, Map<String,?> source)
-
IndexRequestWrapper
public IndexRequestWrapper(String index, String type, String id, Optional<String> routing, Map<String,?> source)
-
IndexRequestWrapper
protected IndexRequestWrapper()
Expose an empty constructor to lazy initialization.
-
-
Method Detail
-
onInsertCompleted
public void onInsertCompleted()
- Specified by:
onInsertCompletedin interfaceInsertRequest
-
getRequest
public IndexRequest getRequest()
-
-