public static class CategorizeRequest.Response extends SearchResponse
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
mMultiPartitionSearch| Constructor and Description |
|---|
CategorizeRequest.Response() |
CategorizeRequest.Response(CategorizeRequest pRequest,
java.util.List<SearchResponse> pParsedResponses)
This Java Merge instead of the engine's merge.
|
CategorizeRequest.Response(atg.search.routing.command.SearchEngineResponse response) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCategorization(Categorization categorization)
Adds a categorization to the result list
|
boolean |
equals(java.lang.Object pObj) |
protected void |
getAttributeXML(java.lang.StringBuilder buf) |
protected void |
getBodyXML(java.lang.StringBuilder sb) |
java.util.List<Categorization> |
getCategorizations()
Returns the list of
Categorizations |
java.lang.String |
getContentId()
Returns content ID of partition that produced the response.
|
DocumentSetConstraint |
getDocumentSets()
Returns the input document set constraints
|
java.lang.String |
getInput()
Returns the input
|
java.lang.String |
getMode()
Returns the input mode
|
ParserOptions |
getParserOptions()
Returns the input parser options
|
DocumentSetConstraint |
getRefineConstraints()
Returns the echoed refine constraints
|
int |
hashCode() |
protected void |
merge(SearchRequest pSearchRequest,
java.util.List<SearchResponse> pParsedResponses)
This is Java merge.
|
void |
setCategorizations(java.util.List<Categorization> categorizations)
Sets the list of
Categorizations |
void |
setContentId(java.lang.String pContentId)
Sets content ID of partition that produced the response.
|
void |
setDocumentSets(DocumentSetConstraint documentSets)
Sets the input document set constraints
|
void |
setInput(java.lang.String input)
Sets input
|
void |
setMode(java.lang.String mode)
Sets the input mode
|
void |
setParserOptions(ParserOptions parserOptions)
Sets parser options
|
void |
setRefineConstraints(DocumentSetConstraint pRefineConstraints)
Sets the echoed refine constraints
|
addError, getBuildTimeMs, getErrors, getListableProperties, getMergeTimeMs, getParseTimeMs, getPartitionResponses, getRequestChainToken, getRequestIdentifier, getRequestTime, getSearchTargetNames, getTotalResponseTimeMs, getXmlString, handleMerge, isAllowListProperties, isLocalMergeEnabled, isMultiPartitionSearch, isOverloaded, isTimedOut, setAllowListProperties, setBuildTimeMs, setErrors, setListableProperties, setLocalMergeEnabled, setMergeTimeMs, setMultiPartitionSearch, setParseTimeMs, setPartitionResponses, setRequestChainToken, setRequestIdentifier, setRequestTime, setSearchTargetNames, setTotalResponseTimeMs, toStringgetNextResponse, getNonSAXParser, getRequestTag, getSearchEngineResponse, parseResponse, setNextResponse, setSearchEngineResponseappendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, toXML, toXMLpublic static final java.lang.String CLASS_VERSION
public CategorizeRequest.Response(CategorizeRequest pRequest, java.util.List<SearchResponse> pParsedResponses) throws atg.search.routing.MergeException
merge(SearchRequest, java.util.List).pRequest - original requestpParsedResponses - parsed responsesatg.search.routing.MergeExceptionpublic CategorizeRequest.Response(atg.search.routing.command.SearchEngineResponse response)
public CategorizeRequest.Response()
public boolean equals(java.lang.Object pObj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectprotected void getAttributeXML(java.lang.StringBuilder buf)
throws atg.search.routing.command.IncompleteCommandException
getAttributeXML in class atg.search.routing.command.SearchXMLObjectatg.search.routing.command.IncompleteCommandExceptionprotected void getBodyXML(java.lang.StringBuilder sb)
throws atg.search.routing.command.IncompleteCommandException
getBodyXML in class atg.search.routing.command.SearchXMLObjectatg.search.routing.command.IncompleteCommandExceptionprotected void merge(SearchRequest pSearchRequest, java.util.List<SearchResponse> pParsedResponses) throws atg.search.routing.MergeException
merge in class SearchResponsepSearchRequest - the original requestpParsedResponses - pre-parsed responsesatg.search.routing.MergeException - if the merge failspublic java.lang.String getMode()
public void setMode(java.lang.String mode)
mode - input modepublic java.lang.String getContentId()
getContentId in class SearchResponsepublic void setContentId(java.lang.String pContentId)
pContentId - content ID of partition that produced the response.public java.lang.String getInput()
public void setInput(java.lang.String input)
input - public java.util.List<Categorization> getCategorizations()
CategorizationsCategorizationpublic void setCategorizations(java.util.List<Categorization> categorizations)
Categorizationscategorizations - public void addCategorization(Categorization categorization)
categorization - public DocumentSetConstraint getDocumentSets()
public void setDocumentSets(DocumentSetConstraint documentSets)
documentSets - public DocumentSetConstraint getRefineConstraints()
public void setRefineConstraints(DocumentSetConstraint pRefineConstraints)
pRefineConstraints - the echoed refine constraintspublic ParserOptions getParserOptions()
public void setParserOptions(ParserOptions parserOptions)
parserOptions -