Class QueryResultMessage

java.lang.Object
com.yahoo.messagebus.Routable
com.yahoo.messagebus.Message

public class QueryResultMessage extends VisitorMessage
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates and returns a reply to this message.
    com.yahoo.vdslib.SearchResult
     
    com.yahoo.vdslib.DocumentSummary
     
    int
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public DocumentReply createReply()
      Description copied from class: DocumentMessage
      Creates and returns a reply to this message.
      Specified by:
      createReply in class DocumentMessage
      Returns:
      The created reply.
    • getType

      public int getType()
      Specified by:
      getType in class com.yahoo.messagebus.Routable