Methods Summary |
---|
public boolean | equals(java.lang.Object o)
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (!super.equals(o)) return false;
final RegexQuery that = (RegexQuery) o;
return regexImpl.equals(that.regexImpl);
|
protected org.apache.lucene.search.FilteredTermEnum | getEnum(org.apache.lucene.index.IndexReader reader)
Term term = new Term(getTerm().field(), getTerm().text());
return new RegexTermEnum(reader, term, regexImpl);
|
public RegexCapabilities | getRegexImplementation()
return regexImpl;
|
public int | hashCode()
int result = super.hashCode();
result = 29 * result + regexImpl.hashCode();
return result;
|
public void | setRegexImplementation(RegexCapabilities impl)Defines which {@link RegexCapabilities} implementation is used by this instance.
this.regexImpl = impl;
|