Modifier and Type | Method and Description |
---|---|
long |
atomSize()
Computes the number of atomized items.
|
Value |
atomValue(InputInfo ii)
Evaluates the expression and returns the atomized items.
|
Item |
ebv(QueryContext qc,
InputInfo ii)
Checks if the effective boolean value can be computed for this expression:
If it yields an empty sequence,
Bln.FALSE will be returned. |
long |
end()
Returns the last value.
|
static Value |
get(long min,
long size,
boolean asc)
Returns a value representation of the specified items.
|
boolean |
homogeneous()
Checks if all items of this value share the same type.
|
Item |
itemAt(long pos)
Gets the item at the given position in the value.
|
Value |
materialize(InputInfo ii)
Materializes streamable values, or returns a self reference.
|
void |
plan(FElem plan)
Creates an expression tree.
|
Value |
reverse()
Returns a sequence in reverse order.
|
boolean |
sameAs(Expr cmp)
Compares the current and specified expression for equality.
|
SeqType |
seqType()
Returns the static type of the resulting value.
|
long |
start()
Returns the first value.
|
Object |
toJava()
Returns a Java representation of the value.
|
String |
toString() |
int |
writeTo(Item[] arr,
int index)
Writes this value's items out to the given array.
|
atomItem, get, get, get, hash, item, iter, size, test, toErrorString
accept, atomValue, cache, checkUp, compile, copy, count, description, exprSize, has, inline, isValue, iter, iterator, removable, serialize, serialize, value
atomIter, data, hasFreeVars, indexAccessible, inlineAll, isEmpty, isFunction, isVacuous, iterable, markTailCalls, optimize, optimizeEbv, typeCheck, uses, visitAll
public static Value get(long min, long size, boolean asc)
min
- minimum valuesize
- sizeasc
- ascendingpublic long start()
public long end()
public Object toJava()
Value
public Item ebv(QueryContext qc, InputInfo ii) throws QueryException
Expr
Checks if the effective boolean value can be computed for this expression:
Bln.FALSE
will be returned.
A single numeric item may later be evaluated as positional predicate.
ebv
in class Expr
qc
- query contextii
- input infoQueryException
- query exceptionpublic SeqType seqType()
Expr
public boolean sameAs(Expr cmp)
Expr
public int writeTo(Item[] arr, int index)
Value
public Item itemAt(long pos)
Value
public Value reverse()
Seq
public Value materialize(InputInfo ii)
Value
materialize
in class Value
ii
- input infopublic Value atomValue(InputInfo ii)
Value
public long atomSize()
Value
public boolean homogeneous()
Value
homogeneous
in class Value
public void plan(FElem plan)
ExprInfo
Copyright © 2005–2015 BaseX Team. All rights reserved.