org.josql.expressions |
|
Java Source File Name | Type | Comment |
Accessor.java | Class | Represents an "accessor" into an object. |
AliasedExpression.java | Class | Represents an expression that also has an alias. |
AliasedFunction.java | Class | A function that also has an alias. |
AndOrExpression.java | Class | Represents either an AND expression or a OR expression.
Lazy evaluation is employed here such if the expression is: LHS OR RHS
and LHS = true then the RHS is NOT evaluated, if the expression is: LHS AND RHS
and LHS = false then the RHS is NOT evaluated (see
AndOrExpression.isTrue(Object,Query) ). |
ArithmeticExpression.java | Class | Represents the arithmetic expressions: *, +, /, - and %. |
BetweenExpression.java | Class | Represents a "BETWEEN x AND y" expression. |
BinaryExpression.java | Class | Super-class of Expressions that return a binary result.
A binary expression must always have a LHS. |
BindVariable.java | Class | This class represents a "bind variable" used within a SQL statement.
A bind variable can be either:
- Named - a named bind variable is prefixed with ":", the value of the
variable is set in the
Query object via:
Query.setVariable(StringObject) .
The parser used (javacc generated) is a little picky about "reserved keywords" and as
such you cannot use the following as the names of bind variables: select, from, limit,
execute, on, all, results, where, having, order, by, group.
|
BooleanExpression.java | Class | This class represents a "boolean" expression, either true or false . |
ConstantExpression.java | Class | This class represents a constant String or number. |
EqualsExpression.java | Class | This class represents an "=" or "!=" expression. |
Expression.java | Class | The base class for all expressions. |
ExpressionList.java | Class | This class represents a list of expressions used within a SQL statement. |
Function.java | Class | This class represents a Function that can be "called" in JoSQL. |
GTLTExpression.java | Class | This class represents one of the following:
- > - Greater than
- < - Less than
- >= - Greater than or equal to
- <= - Less than or equal to
You can also force a "string" comparison by prefixing with "$". |
InExpression.java | Class | This class represents in [ NOT ] IN [ LIKE ] [ ALL ] expression.
If any of the values listed are Maps or Collections then they are iterated over to see if a match
is found. |
IsNullExpression.java | Class | Represents an "IS NULL" (or "IS NOT NULL") expression. |
LikeExpression.java | Class | Represents a LHS [ NOT ] [ $ ] LIKE RHS expression. |
NewObjectExpression.java | Class | |
SaveValue.java | Class | |
SelectItemExpression.java | Class | |
SubQueryExpression.java | Class | |
ValueExpression.java | Class | |