atg.search.routing.command.search
Class ProcessedSearchResult

java.lang.Object
  extended by atg.search.routing.command.search.ProcessedSearchResult

public class ProcessedSearchResult
extends java.lang.Object

A single processed result from a single partition, part of a processed response.

See Also:
ProcessedResponse

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
ProcessedSearchResult()
           
 
Method Summary
 java.lang.Integer getFinalGroup()
          The final answer group after the merge
 java.lang.Integer getFinalResultIndex()
          The index into the final list of merged results
 Groupable getResult()
          The result
 java.lang.Integer getTrimmedFromGroup()
          Returns the final merged answer group that this result was trimmed from because of per-group settings
 void setFinalGroup(java.lang.Integer pFinalGroup)
          Sets the final answer group after the merge
 void setFinalResultIndex(java.lang.Integer pFinalResultIndex)
          Sets the index into the final list of merged results
 void setResult(Groupable pResult)
          Sets the result
 void setTrimmedFromGroup(java.lang.Integer pTrimmedFromGroup)
          Sets the final merged answer group that this result was trimmed from because of per-group settings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

ProcessedSearchResult

public ProcessedSearchResult()
Method Detail

getFinalGroup

public java.lang.Integer getFinalGroup()
The final answer group after the merge

Returns:
final answer group after the merge

setFinalGroup

public void setFinalGroup(java.lang.Integer pFinalGroup)
Sets the final answer group after the merge

Parameters:
pFinalGroup - final answer group after the merge

getResult

public Groupable getResult()
The result

Returns:
the result

setResult

public void setResult(Groupable pResult)
Sets the result

Parameters:
pResult - the result

getFinalResultIndex

public java.lang.Integer getFinalResultIndex()
The index into the final list of merged results

Returns:
index into the final list of merged results

setFinalResultIndex

public void setFinalResultIndex(java.lang.Integer pFinalResultIndex)
Sets the index into the final list of merged results

Parameters:
pFinalResultIndex - index into the final list of merged results

setTrimmedFromGroup

public void setTrimmedFromGroup(java.lang.Integer pTrimmedFromGroup)
Sets the final merged answer group that this result was trimmed from because of per-group settings

Parameters:
pTrimmedFromGroup - the final merged answer group that this result was trimmed from because of per-group settings

getTrimmedFromGroup

public java.lang.Integer getTrimmedFromGroup()
Returns the final merged answer group that this result was trimmed from because of per-group settings

Returns:
the final merged answer group that this result was trimmed from because of per-group settings