| Modifier and Type | Field and Description |
|---|---|
static Bln |
FALSE
Static boolean item without scoring.
|
static Bln |
TRUE
Static boolean item without scoring.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
bool(InputInfo ii)
Returns a boolean representation of the value.
|
double |
dbl(InputInfo ii)
Returns a double representation of the value.
|
java.math.BigDecimal |
dec(InputInfo ii)
Returns a decimal representation of the value.
|
int |
diff(InputInfo ii,
Item it)
Returns the difference between the current and the specified item.
|
boolean |
eq(InputInfo ii,
Item it)
Checks the items for equality.
|
float |
flt(InputInfo ii)
Returns a float representation of the value.
|
static Bln |
get(boolean b)
Returns a static item instance.
|
static Bln |
get(double s)
Constructor, adding a full-text score.
|
long |
itr(InputInfo ii)
Returns an integer (long) representation of the value.
|
static boolean |
parse(byte[] str,
InputInfo ii)
Converts the specified string to a boolean.
|
boolean |
sameAs(Expr cmp)
Compares the current and specified expression for equality.
|
byte[] |
string()
Returns the string value.
|
byte[] |
string(InputInfo ii)
Returns a string representation of the value.
|
java.lang.Boolean |
toJava()
Returns a Java representation of the value.
|
java.lang.String |
toString() |
comparable, ebv, equiv, hash, homogenous, input, isItem, item, itemAt, iter, iterable, plan, score, score, serialize, size, test, type, writeTo, xdmInfocache, comp, count, data, description, info, isValue, iter, iterator, removable, remove, uses, valueaddText, compEbv, hasFreeVars, indexAccessible, indexEquivalent, isEmpty, isFunction, isVacuous, markTailCallspublic static final Bln TRUE
public static final Bln FALSE
public static Bln get(double s)
s - score valuepublic static Bln get(boolean b)
b - boolean valuepublic byte[] string(InputInfo ii)
Itempublic byte[] string()
public boolean bool(InputInfo ii)
Itempublic long itr(InputInfo ii)
Itempublic float flt(InputInfo ii)
Itempublic double dbl(InputInfo ii)
Itempublic java.math.BigDecimal dec(InputInfo ii)
Itempublic boolean eq(InputInfo ii, Item it) throws QueryException
Itemeq in class Itemii - input infoit - item to be comparedQueryException - query exceptionpublic int diff(InputInfo ii, Item it) throws QueryException
Itemdiff in class Itemii - input infoit - item to be comparedQueryException - query exceptionpublic java.lang.Boolean toJava()
Valuepublic boolean sameAs(Expr cmp)
Exprpublic static boolean parse(byte[] str,
InputInfo ii)
throws QueryException
str - string to be checkedii - input infoQueryException - query exception