|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.data.ExprInfo
org.basex.query.expr.Expr
org.basex.query.value.Value
org.basex.query.value.seq.Seq
org.basex.query.value.seq.NativeSeq
org.basex.query.value.seq.DBNodeSeq
public final class DBNodeSeq
Sequence, containing at least two ordered database nodes.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
---|
Expr.Flag |
Field Summary | |
---|---|
boolean |
complete
Complete. |
int[] |
pres
Pre values. |
Fields inherited from class org.basex.query.value.Value |
---|
type |
Method Summary | |
---|---|
Data |
data()
Returns the data reference (if) attached to this value. |
Item |
ebv(QueryContext ctx,
InputInfo ii)
Checks if the iterator can be dissolved into an effective boolean value. |
static Value |
get(int[] v,
Data d,
Type t,
boolean c)
Creates a node sequence with the given data reference and pre values. |
static Value |
get(IntList v,
Data d,
boolean docs,
boolean c)
Creates a node sequence with the given data reference and pre values. |
DBNode |
itemAt(long pos)
Gets the item at the given position in the value. |
boolean |
iterable()
Returns true if the expression is iterable, i.e., if it will not contain any duplicate nodes and if all nodes will be are sorted. |
Value |
reverse()
Returns a sequence in reverse order. |
boolean |
sameAs(Expr cmp)
Compares the current and specified expression for equality. |
Value |
sub(long start,
long length)
Returns a subsequence. |
Methods inherited from class org.basex.query.value.seq.NativeSeq |
---|
homogeneous, type, writeTo |
Methods inherited from class org.basex.query.value.seq.Seq |
---|
get, get, hash, item, iter, plan, size, test, toJava, toString |
Methods inherited from class org.basex.query.value.Value |
---|
accept, cache, checkUp, compile, copy, count, description, exprSize, has, inline, isValue, iter, iterator, removable, serialize, value |
Methods inherited from class org.basex.query.expr.Expr |
---|
addText, compEbv, copy, hasFreeVars, indexAccessible, indexEquivalent, inlineAll, isEmpty, isFunction, isItem, isVacuous, markTailCalls, optimize, uses, visitAll |
Methods inherited from class org.basex.data.ExprInfo |
---|
addPlan, addPlan, info, planAttr, planElem |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final int[] pres
public final boolean complete
Method Detail |
---|
public Data data()
Value
DBNode
and DBNodeSeq
.
data
in class Value
public Item ebv(QueryContext ctx, InputInfo ii)
Expr
ebv
in class NativeSeq
ctx
- query contextii
- input info
public boolean iterable()
Expr
AxisPath
.
iterable
in class Expr
public boolean sameAs(Expr cmp)
Expr
sameAs
in class Expr
cmp
- expression to be compared
public DBNode itemAt(long pos)
Value
itemAt
in class Value
pos
- position
public Value sub(long start, long length)
Seq
sub
in class Seq
start
- first valuelength
- length of sequence
public Value reverse()
Seq
reverse
in class Seq
public static Value get(IntList v, Data d, boolean docs, boolean c)
v
- pre valuesd
- data referencedocs
- indicates if all values reference document nodesc
- indicates if values include all document nodes of a database
public static Value get(int[] v, Data d, Type t, boolean c)
v
- pre valuesd
- data referencet
- node typec
- indicates if values include all document nodes of a database
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |