Modifier and Type | Method and Description |
---|---|
abstract ANum |
abs()
Returns an absolute value.
|
abstract ANum |
ceiling()
Returns an ceiling value.
|
abstract double |
dbl()
Returns an double representation of the value.
|
double |
dbl(InputInfo ii)
Returns a double representation of the value.
|
abstract ANum |
floor()
Returns an floor value.
|
protected abstract float |
flt()
Returns an float representation of the value.
|
float |
flt(InputInfo ii)
Returns a float representation of the value.
|
int |
hash(InputInfo ii)
Returns a hash code for this value.
|
abstract long |
itr()
Returns an integer (long) representation of the value.
|
long |
itr(InputInfo ii)
Returns an integer (long) representation of the value.
|
abstract ANum |
round(int scale,
boolean even)
Returns a rounded value.
|
protected abstract byte[] |
string()
Returns a string representation of the value.
|
byte[] |
string(InputInfo ii)
Returns a string representation of the value.
|
Item |
test(QueryContext qc,
InputInfo ii)
Performs a predicate test and returns the item the if test was successful.
|
String |
toString() |
atomItem, atomItem, atomSize, atomValue, bool, comparable, dec, description, diff, ebv, eq, equiv, homogeneous, input, item, itemAt, iter, iterable, materialize, plan, score, score, seqType, size, typeId, writeTo, xdmInfo
accept, atomValue, cache, checkUp, compile, copy, count, exprSize, has, inline, isValue, iter, iterator, removable, serialize, serialize, toJava, value
atomIter, data, hasFreeVars, indexAccessible, inlineAll, isEmpty, isFunction, isVacuous, markTailCalls, optimize, optimizeEbv, sameAs, typeCheck, uses, visitAll
public final byte[] string(InputInfo ii)
Item
public final double dbl(InputInfo ii)
Item
public final long itr(InputInfo ii)
Item
public final float flt(InputInfo ii)
Item
protected abstract byte[] string()
public abstract long itr()
public abstract double dbl()
protected abstract float flt()
public abstract ANum abs()
public abstract ANum ceiling()
public abstract ANum floor()
public abstract ANum round(int scale, boolean even)
scale
- scaleeven
- half-to-even flagpublic Item test(QueryContext qc, InputInfo ii) throws QueryException
Expr
test
in class Item
qc
- query contextii
- input infoQueryException
- query exceptionpublic final int hash(InputInfo ii)
Value
Copyright © 2005–2015 BaseX Team. All rights reserved.