org.apache.nutch.searcher
Class Query.Phrase
java.lang.Object
org.apache.nutch.searcher.Query.Phrase
- Enclosing class:
- Query
public static class Query.Phrase
- extends Object
A phrase query clause.
Query.Phrase
public Query.Phrase(Query.Term[] terms)
Query.Phrase
public Query.Phrase(String[] terms)
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