public class BooleanFilter extends Filter
Constructor and Description |
---|
BooleanFilter() |
Modifier and Type | Method and Description |
---|---|
void |
add(FilterClause filterClause)
Adds a new FilterClause to the Boolean Filter container
|
boolean |
equals(java.lang.Object obj) |
protected DocIdSet |
finalResult(OpenBitSetDISI result,
int maxDocs)
Provide a SortedVIntList when it is definitely smaller than an OpenBitSet
|
DocIdSet |
getDocIdSet(IndexReader reader)
Returns the a DocIdSetIterator representing the Boolean composition
of the filters that have been added.
|
int |
hashCode() |
java.lang.String |
toString()
Prints a user-readable version of this query.
|
public DocIdSet getDocIdSet(IndexReader reader) throws java.io.IOException
getDocIdSet
in class Filter
java.io.IOException
protected DocIdSet finalResult(OpenBitSetDISI result, int maxDocs)
public void add(FilterClause filterClause)
filterClause
- A FilterClause object containing a Filter and an Occur parameterpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.