public abstract class FilterDirective extends java.lang.Object implements Directive
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
not
Deprecated.
|
protected Directive |
query
Deprecated.
|
static int |
RES_EXCLUDE
Deprecated.
|
static int |
RES_IGNORE
Deprecated.
|
static int |
RES_INCLUDE
Deprecated.
|
| Constructor and Description |
|---|
FilterDirective(Directive query,
boolean not)
Deprecated.
Creates a new instance of FilterDirective
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract int |
_includeRow(ResultRow row,
Topic context,
TopicMap tm,
java.lang.Object param)
Deprecated.
Return one of RES_INCLUDE, RES_EXCLUDE or RES_INGORE to indicate how to filter the
row.
|
void |
endQuery(QueryContext context,
java.lang.Object param)
Deprecated.
Called when query evaluation is done.
|
boolean |
includeRow(ResultRow row,
Topic context,
TopicMap tm,
java.lang.Object param)
Deprecated.
|
boolean |
isContextSensitive()
Deprecated.
|
java.util.ArrayList<ResultRow> |
query(QueryContext context)
Deprecated.
|
java.lang.Object |
startQuery(QueryContext context)
Deprecated.
Called when evaluation of this filter query is about to start.
|
public static final int RES_INCLUDE
public static final int RES_EXCLUDE
public static final int RES_IGNORE
protected Directive query
protected boolean not
public FilterDirective(Directive query, boolean not)
public java.lang.Object startQuery(QueryContext context) throws TopicMapException
TopicMapExceptionpublic void endQuery(QueryContext context, java.lang.Object param) throws TopicMapException
TopicMapExceptionprotected abstract int _includeRow(ResultRow row, Topic context, TopicMap tm, java.lang.Object param) throws TopicMapException
TopicMapExceptionpublic boolean includeRow(ResultRow row, Topic context, TopicMap tm, java.lang.Object param) throws TopicMapException
TopicMapExceptionpublic java.util.ArrayList<ResultRow> query(QueryContext context) throws TopicMapException
query in interface DirectiveTopicMapExceptionpublic boolean isContextSensitive()
isContextSensitive in interface DirectiveCopyright 2004-2015 Wandora Team