Class QueryResultMessage
java.lang.Object
com.yahoo.messagebus.Routable
com.yahoo.messagebus.Message
com.yahoo.documentapi.messagebus.protocol.DocumentMessage
com.yahoo.documentapi.messagebus.protocol.VisitorMessage
com.yahoo.documentapi.messagebus.protocol.QueryResultMessage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates and returns a reply to this message.com.yahoo.vdslib.SearchResult
com.yahoo.vdslib.DocumentSummary
int
getType()
void
setSearchResult
(com.yahoo.vdslib.SearchResult result) void
setSummary
(com.yahoo.vdslib.DocumentSummary summary) Methods inherited from class com.yahoo.documentapi.messagebus.protocol.DocumentMessage
getApproxSize, getPriority, getProtocol, setPriority, swapState
Methods inherited from class com.yahoo.messagebus.Message
getBucketSequence, getRetry, getRetryEnabled, getRoute, getSequenceId, getTimeReceived, getTimeRemaining, getTimeRemainingNow, hasBucketSequence, hasSequenceId, isExpired, setRetry, setRetryEnabled, setRoute, setTimeReceived, setTimeReceivedNow, setTimeRemaining
Methods inherited from class com.yahoo.messagebus.Routable
discard, getCallStack, getContext, getTrace, popHandler, pushHandler, setContext
-
Constructor Details
-
QueryResultMessage
public QueryResultMessage()
-
-
Method Details
-
getResult
public com.yahoo.vdslib.SearchResult getResult() -
getSummary
public com.yahoo.vdslib.DocumentSummary getSummary() -
setSearchResult
public void setSearchResult(com.yahoo.vdslib.SearchResult result) -
setSummary
public void setSummary(com.yahoo.vdslib.DocumentSummary summary) -
createReply
Description copied from class:DocumentMessage
Creates and returns a reply to this message.- Specified by:
createReply
in classDocumentMessage
- Returns:
- The created reply.
-
getType
public int getType()- Specified by:
getType
in classcom.yahoo.messagebus.Routable
-