|
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.catalog.lucene.SchemaFilter
public class SchemaFilter
A filter that limits the response to a specific schema name.
e.g. http://www.isotc211.org/2005/gmd
Constructor Summary | |
---|---|
SchemaFilter(String schemaName,
Filter chained)
Constructs with an associated schema name. |
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 |
Constructor Detail |
---|
public SchemaFilter(String schemaName, Filter chained)
schemaName
- the schema namechained
- a chained filterMethod 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 |