| Modifier and Type | Method and Description |
|---|---|
Item |
ebv(QueryContext ctx,
InputInfo ii)
Checks if the iterator can be dissolved into an effective boolean value.
|
static Value |
get(Expr[] expr,
long size,
Type type)
Creates a sequence with the integers in the specified expressions.
|
static Value |
get(long[] val,
Type type)
Creates a sequence with the specified integers.
|
boolean |
homogenous()
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.
|
void |
plan(Serializer ser)
Serializes the expression tree.
|
long[] |
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, data, description, info, isValue, iter, iterator, removable, remove, uses, valueaddText, compEbv, hasFreeVars, indexAccessible, indexEquivalent, isEmpty, isFunction, isItem, isVacuous, iterable, markTailCalls, sameAspublic boolean homogenous()
Valuehomogenous in class Valuepublic Item itemAt(long pos)
Valuepublic long[] toJava()
Valuepublic int writeTo(Item[] arr, int start)
Valuepublic Item ebv(QueryContext ctx, InputInfo ii) throws QueryException
Exprebv in class Exprctx - query contextii - input infoQueryException - query exceptionpublic SeqType type()
Exprpublic void plan(Serializer ser) throws java.io.IOException
ExprInfopublic static Value get(long[] val, Type type)
val - integerstype - typepublic static Value get(Expr[] expr, long size, Type type) throws QueryException
expr - expressionssize - size of resulting sequencetype - typeQueryException - query exception