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
-
public class QueryResultMessage extends VisitorMessage
-
-
Constructor Summary
Constructors Constructor Description QueryResultMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentReply
createReply()
Creates and returns a reply to this message.com.yahoo.vdslib.SearchResult
getResult()
com.yahoo.vdslib.DocumentSummary
getSummary()
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, getLoadType, getPriority, getProtocol, setLoadType, 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
-
-
-
-
Method Detail
-
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
public DocumentReply 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
-
-