Interface QueryResultHandler<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void end()
      Signal that query processing has completed
      void handle​(T theResult)
      Handle a result to a query
      void links​(java.util.List<java.lang.String> theLinks)
      Handle the set of links from the result
      void start()
      Signal that query processing is starting
    • Method Detail

      • links

        void links​(@Nonnull
                   java.util.List<java.lang.String> theLinks)
        Handle the set of links from the result
        Parameters:
        theLinks - The links
        See Also:
        "link"
      • handle

        void handle​(@Nonnull
                    T theResult)
        Handle a result to a query
        Parameters:
        theResult - the result
      • start

        void start()
        Signal that query processing is starting
      • end

        void end()
        Signal that query processing has completed