Class ResultDoc<T>


  • public class ResultDoc<T>
    extends Object
    Provides a Result Document class for QueryResults and Streams. The ResultDoc class provides access to the document's content and key.
    See Also:
    Query, QueryResults
    • Method Detail

      • getKey

        public Key getKey()
        Returns:
        the document key
      • getContent

        public T getContent()
        Returns:
        the document content
      • toString

        public String toString()
        Overrides:
        toString in class Object
        Returns:
        the string representation of this object