org.apache.lucene.queryParser.surround.query
Class SrndPrefixQuery
java.lang.Object
org.apache.lucene.queryParser.surround.query.SrndQuery
org.apache.lucene.queryParser.surround.query.SimpleTerm
org.apache.lucene.queryParser.surround.query.SrndPrefixQuery
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable, DistanceSubQuery
public class SrndPrefixQuery
- extends SimpleTerm
Constructor Summary |
SrndPrefixQuery(java.lang.String prefix,
boolean quoted,
char truncator)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SrndPrefixQuery
public SrndPrefixQuery(java.lang.String prefix,
boolean quoted,
char truncator)
getPrefix
public java.lang.String getPrefix()
getSuffixOperator
public char getSuffixOperator()
getLucenePrefixTerm
public Term getLucenePrefixTerm(java.lang.String fieldName)
toStringUnquoted
public java.lang.String toStringUnquoted()
- Specified by:
toStringUnquoted
in class SimpleTerm
suffixToString
protected void suffixToString(java.lang.StringBuffer r)
- Overrides:
suffixToString
in class SimpleTerm
visitMatchingTerms
public void visitMatchingTerms(IndexReader reader,
java.lang.String fieldName,
SimpleTerm.MatchingTermVisitor mtv)
throws java.io.IOException
- Specified by:
visitMatchingTerms
in class SimpleTerm
- Throws:
java.io.IOException
Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.