Method Summary |
|
public static QueryExp | and(QueryExp leftexp, QueryExp rightexp) Returns a query expression that is the conjunction of two other query
expressions.
Parameters: leftexp - A query expression. Parameters: rightexp - Another query expression. |
public static QueryExp | anySubString(AttributeValueExp attrvexp, StringValueExp strvexp) Returns a query expression that represents a matching constraint on
a string argument. |
public static AttributeValueExp | attr(String name) Returns a new attribute expression.
Parameters: name - The name of the attribute. |
public static AttributeValueExp | attr(String className, String name) Returns a new qualified attribute expression.
Parameters: className - The name of the class possessing the attribute. Parameters: name - The name of the attribute. |
public static QueryExp | between(ValueExp leftvexp, ValueExp checkvexp, ValueExp rightvexp) Returns a query expression that represents the constraint that one
value is between two other values.
Parameters: leftvexp - A value expression that is "between" v2 and v3. Parameters: checkvexp - Value expression that represents a boundary of the constraint. Parameters: rightvexp - Value expression that represents a boundary of the constraint. |
public static AttributeValueExp | classattr() Returns a new class attribute expression which can be used in any
Query call that expects a ValueExp. |
public static ValueExp | div(ValueExp leftvexp, ValueExp rightvexp) Returns a binary expression representing the quotient of two numeric
values.
Parameters: leftvexp - The first '/' operand. Parameters: rightvexp - The second '/' operand. |
public static QueryExp | eq(ValueExp leftvexp, ValueExp rightvexp) Returns a query expression that represents an equality constraint on
two values.
Parameters: leftvexp - A value expression. Parameters: rightvexp - Another value expression. |
public static QueryExp | finalSubString(AttributeValueExp attrvexp, StringValueExp strvexp) Returns a query expression that represents a matching constraint on
a string argument. |
public static QueryExp | geq(ValueExp leftvexp, ValueExp rightvexp) Returns a query expression that represents a "greater than or equal
to" constraint on two values.
Parameters: leftvexp - A value expression. Parameters: rightvexp - Another value expression. |
public static QueryExp | gt(ValueExp leftvexp, ValueExp rightvexp) Returns a query expression that represents a "greater than" constraint on
two values.
Parameters: leftvexp - A value expression. Parameters: rightvexp - Another value expression. |
public static QueryExp | in(ValueExp vexp, ValueExp[] vexps) Returns an expression constraining a value to be one of an explicit list.
Parameters: vexp - A value to be constrained. Parameters: vexps - An array of ValueExps. |
public static QueryExp | initialSubString(AttributeValueExp attrvexp, StringValueExp strvexp) Returns a query expression that represents a matching constraint on
a string argument. |
public static QueryExp | leq(ValueExp leftvexp, ValueExp rightvexp) Returns a query expression that represents a "less than or equal to"
constraint on two values.
Parameters: leftvexp - A value expression. Parameters: rightvexp - Another value expression. |
public static QueryExp | lt(ValueExp leftvexp, ValueExp rightvexp) Returns a query expression that represents a "less than" constraint on
two values.
Parameters: leftvexp - A value expression. Parameters: rightvexp - Another value expression. |
public static QueryExp | match(AttributeValueExp attrvexp, StringValueExp strvexp) Returns a query expression that represents a matching constraint on
a string argument. |
public static ValueExp | minus(ValueExp leftvexp, ValueExp rightvexp) Returns a binary expression representing the difference between two numeric
values.
Parameters: leftvexp - The first '-' operand. Parameters: rightvexp - The second '-' operand. |
public static QueryExp | not(QueryExp queryexp) Returns a constraint that is the negation of its argument.
Parameters: queryexp - The constraint to negate. |
public static QueryExp | or(QueryExp leftexp, QueryExp rightexp) Returns a query expression that is the disjunction of two other query
expressions.
Parameters: leftexp - A query expression. Parameters: rightexp - Another query expression. |
public static ValueExp | plus(ValueExp leftvexp, ValueExp rightvexp) Returns a binary expression representing the sum of two numeric values,
or the concatenation of two string values.
Parameters: leftvexp - The first '+' operand. Parameters: rightvexp - The second '+' operand. |
public static ValueExp | times(ValueExp leftvexp, ValueExp rightvexp) Returns a binary expression representing the product of two numeric values.
Parameters: leftvexp - The first '*' operand. Parameters: rightvexp - The second '*' operand. |
public static StringValueExp | value(String value) Returns a new string expression.
Parameters: value - The string value. |
public static ValueExp | value(Number value) Returns a numeric value expression that can be used in any Query call
that expects a ValueExp.
Parameters: value - An instance of Number. |
public static ValueExp | value(int value) Returns a numeric value expression that can be used in any Query call
that expects a ValueExp.
Parameters: value - An int value. |
public static ValueExp | value(long value) Returns a numeric value expression that can be used in any Query call
that expects a ValueExp.
Parameters: value - A long value. |
public static ValueExp | value(float value) Returns a numeric value expression that can be used in any Query call
that expects a ValueExp.
Parameters: value - A float value. |
public static ValueExp | value(double value) Returns a numeric value expression that can be used in any Query call
that expects a ValueExp.
Parameters: value - A double value. |
public static ValueExp | value(boolean flag) Returns a boolean value expression that can be used in any Query call
that expects a ValueExp.
Parameters: flag - A boolean value. |