org.apache.nutch.searcher
Class Query.Phrase

java.lang.Object
  extended by org.apache.nutch.searcher.Query.Phrase
Enclosing class:
Query

public static class Query.Phrase
extends Object

A phrase query clause.


Constructor Summary
Query.Phrase(Query.Term[] terms)
           
Query.Phrase(String[] terms)
           
 
Method Summary
 boolean equals(Object o)
           
 Query.Term[] getTerms()
           
 int hashCode()
           
static Query.Phrase read(DataInput in)
           
 String toString()
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Query.Phrase

public Query.Phrase(Query.Term[] terms)

Query.Phrase

public Query.Phrase(String[] terms)
Method Detail

getTerms

public Query.Term[] getTerms()

write

public void write(DataOutput out)
           throws IOException
Throws:
IOException

read

public static Query.Phrase read(DataInput in)
                         throws IOException
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2006 The Apache Software Foundation