| Modifier and Type | Field and Description |
|---|---|
boolean |
complete
Complete.
|
int[] |
pres
Pre values.
|
| Modifier and Type | Method and Description |
|---|---|
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(IntList v,
Data d,
boolean docs,
boolean c)
Creates a node sequence with the given data reference and pre values.
|
boolean |
homogenous()
Checks if all items of this value share the same type.
|
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 does not contain
any duplicates and if all results are sorted.
|
void |
plan(Serializer ser)
Serializes the expression tree.
|
boolean |
sameAs(Expr cmp)
Compares the current and specified expression for equality.
|
java.lang.Object |
toJava()
Returns a Java representation of the value.
|
SeqType |
type()
Returns the sequence type of the evaluated value.
|
int |
writeTo(Item[] arr,
int start)
Writes this value's items out to the given array.
|
cache, comp, count, description, info, isValue, iter, iterator, removable, remove, uses, valueaddText, compEbv, hasFreeVars, indexAccessible, indexEquivalent, isEmpty, isFunction, isItem, isVacuous, markTailCallspublic final int[] pres
public final boolean complete
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 databasepublic Data data()
Valuepublic java.lang.Object toJava()
Valuepublic Item ebv(QueryContext ctx, InputInfo ii)
Exprpublic SeqType type()
Exprpublic boolean iterable()
ExprAxisPath.public boolean sameAs(Expr cmp)
Exprpublic int writeTo(Item[] arr, int start)
Valuepublic DBNode itemAt(long pos)
Valuepublic boolean homogenous()
Valuehomogenous in class Valuepublic void plan(Serializer ser) throws java.io.IOException
ExprInfo