Class TextIndex.Query

    • Constructor Summary

      Constructors 
      Constructor Description
      Query()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.String> evaluate​(TextIndex ti)
      Returns the set of document IDs that satisfy the query in the specified text index.
      abstract TextIndex.Result execute​(TextIndex ti)
      Returns the Result of performing this query against a specific text index.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Query

        public Query()
    • Method Detail

      • evaluate

        public java.util.Set<java.lang.String> evaluate​(TextIndex ti)
        Returns the set of document IDs that satisfy the query in the specified text index. This is equivalent to calling execute( ti ).getResultSet( ti )
        Parameters:
        ti - the text index to query
        Returns:
        the set of documents that match the query