|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.search.Filter com.esri.gpt.server.assertion.index.AsnFilter
public class AsnFilter
A filter associated with a field and value.
Field Summary | |
---|---|
static String |
CHAINED_OPERAND_AND
Chained and operand = "and" |
static String |
CHAINED_OPERAND_ANDNOT
Chained and not operand = "andnot" |
static String |
CHAINED_OPERAND_OR
Chained or operand = "or" |
Constructor Summary | |
---|---|
AsnFilter(AsnFilter[] chain,
String chainedOperand)
Constructs with an associated field and value. |
|
AsnFilter(String fieldName,
String value)
Constructs with an associated field and value. |
Method Summary | |
---|---|
DocIdSet |
getDocIdSet(IndexReader reader)
Applies the filter and returns a DocIdSet of matching documents. |
long |
getTimeMillis()
Gets the execution time. |
protected void |
setTimeMillis(long millis)
Sets the execution time. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CHAINED_OPERAND_AND
public static final String CHAINED_OPERAND_ANDNOT
public static final String CHAINED_OPERAND_OR
Constructor Detail |
---|
public AsnFilter(String fieldName, String value)
fieldName
- the field namevalue
- the field namepublic AsnFilter(AsnFilter[] chain, String chainedOperand)
chain
- chainchainedOperand
- operandMethod Detail |
---|
public long getTimeMillis()
protected void setTimeMillis(long millis)
millis
- the execution time (in milliseconds)public DocIdSet getDocIdSet(IndexReader reader) throws IOException
getDocIdSet
in class Filter
reader
- the index reader
IOException
- if an exception is encountered while reading the index
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |