public final class IndexContext
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
QueryContext |
ctx
Query context.
|
Data |
data
Data reference.
|
boolean |
iterable
Flag for iterative evaluation.
|
boolean |
not
Flag for ftnot expressions.
|
boolean |
seq
Flag for sequential processing.
|
AxisStep |
step
Index Step.
|
| Constructor and Description |
|---|
IndexContext(QueryContext c,
Data d,
AxisStep s,
boolean i)
Constructor.
|
public final QueryContext ctx
public final Data data
public final AxisStep step
public final boolean iterable
public boolean not
public boolean seq
public IndexContext(QueryContext c, Data d, AxisStep s, boolean i)
c - query contextd - data references - index stepi - iterable flagpublic Expr invert(Expr ex, ParseExpr root, boolean text)
ex - expression to be rewrittenroot - new root expressiontext - text flagpublic void addCosts(int c)
c - cost to be addedpublic void costs(int c)
c - cost to be addedpublic int costs()