Class LocalNameQuery
- java.lang.Object
-
- org.apache.lucene.search.Query
-
- org.apache.jackrabbit.core.query.lucene.LocalNameQuery
-
- All Implemented Interfaces:
Serializable,Cloneable
public class LocalNameQuery extends Query
LocalNameQueryimplements a query for the local name of a node.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocalNameQuery(String localName, IndexFormatVersion version)Creates a newLocalNameQueryfor the givenlocalName.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidextractTerms(Set<Term> terms)Queryrewrite(IndexReader reader)StringtoString(String field)-
Methods inherited from class org.apache.lucene.search.Query
clone, combine, createWeight, equals, getBoost, getSimilarity, hashCode, mergeBooleanQueries, setBoost, toString, weight
-
-
-
-
Constructor Detail
-
LocalNameQuery
public LocalNameQuery(String localName, IndexFormatVersion version)
Creates a newLocalNameQueryfor the givenlocalName.- Parameters:
localName- the local name of a node.version- the version of the index.
-
-
Method Detail
-
rewrite
public Query rewrite(IndexReader reader) throws IOException
- Overrides:
rewritein classQuery- Throws:
IOException
-
extractTerms
public void extractTerms(Set<Term> terms)
- Overrides:
extractTermsin classQuery
-
-