Package org.apache.solr.api
Class PayloadObj<T>
- java.lang.Object
-
- org.apache.solr.common.util.CommandOperation
-
- org.apache.solr.api.PayloadObj<T>
-
public class PayloadObj<T> extends CommandOperation
Holds the deserialized object for each command and also holds request , response objects
-
-
Field Summary
-
Fields inherited from class org.apache.solr.common.util.CommandOperation
ERR_MSGS, name, ROOT_OBJ
-
-
Constructor Summary
Constructors Constructor Description PayloadObj(String operationName, Object metaData, T obj, SolrQueryRequest req, SolrQueryResponse rsp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
get()
SolrQueryRequest
getRequest()
SolrQueryResponse
getResponse()
-
Methods inherited from class org.apache.solr.common.util.CommandOperation
addError, captureErrors, clone, getBoolean, getCommandData, getCopy, getDataMap, getErrors, getInt, getInt, getMap, getStr, getStr, getStrs, getStrs, getVal, getValuesExcluding, hasError, parse, parse, parse, readCommands, readCommands, setCommandData, toString, unknownOperation
-
-
-
-
Constructor Detail
-
PayloadObj
public PayloadObj(String operationName, Object metaData, T obj, SolrQueryRequest req, SolrQueryResponse rsp)
-
-
Method Detail
-
get
public T get()
-
getRequest
public SolrQueryRequest getRequest()
-
getResponse
public SolrQueryResponse getResponse()
-
-