public final class IndexInfo extends Object
Modifier and Type | Field and Description |
---|---|
int |
costs
Costs of index access. 0 = no results; 1 = exactly one results;
all other values may be estimates (the smaller, the better).
|
Expr |
expr
Index expression.
|
IndexContext |
ic
Index context.
|
String |
info
Optimization info.
|
QueryContext |
qc
Query context.
|
Step |
step
Step with predicate that can be rewritten for index access.
|
NameTest |
test
Name test of parent element.
|
boolean |
text
Flag for text index access.
|
Constructor and Description |
---|
IndexInfo(IndexContext ic,
QueryContext qc,
Step step)
Constructor.
|
public final QueryContext qc
public final IndexContext ic
public final Step step
public NameTest test
public boolean text
public String info
public Expr expr
public int costs
public IndexInfo(IndexContext ic, QueryContext qc, Step step)
ic
- index contextqc
- query contextstep
- index steppublic boolean check(Expr ex, boolean ft)
Copyright © 2005–2015 BaseX Team. All rights reserved.