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 org.apache.lucene.search.Query
LocalNameQuery
implements 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 newLocalNameQuery
for the givenlocalName
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
extractTerms(Set<org.apache.lucene.index.Term> terms)
org.apache.lucene.search.Query
rewrite(org.apache.lucene.index.IndexReader reader)
String
toString(String field)
-
-
-
Constructor Detail
-
LocalNameQuery
public LocalNameQuery(String localName, IndexFormatVersion version)
Creates a newLocalNameQuery
for the givenlocalName
.- Parameters:
localName
- the local name of a node.version
- the version of the index.
-
-
Method Detail
-
rewrite
public org.apache.lucene.search.Query rewrite(org.apache.lucene.index.IndexReader reader) throws IOException
- Overrides:
rewrite
in classorg.apache.lucene.search.Query
- Throws:
IOException
-
extractTerms
public void extractTerms(Set<org.apache.lucene.index.Term> terms)
- Overrides:
extractTerms
in classorg.apache.lucene.search.Query
-
-