

PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 
java.lang.Object com.onewebsql.query.Exp com.onewebsql.query.AExp
public class AExp
Represents an arithemetic expression i.e., the one which has arithmetic value.
It is convenient to distinguished to types of arithmetic expressions used in this component
expression type  description 

terminal expressions  Expression which has a value. A terminal expression is created from an object representing this value. 
nonterminal expressions  Expression which is composed of other expression with arithmetical operations: addition, mulitplication, etc. 
Field Summary  

protected String 
expression
Part of SQL query which represents this expression. 
protected Value 
value
An object representing the value of this expression, it will be bound to SQL query. 
Fields inherited from class com.onewebsql.query.Exp 

brackets, left, operator, right 
Fields inherited from interface com.onewebsql.query.Expression 

COMMA, DOT, LB, QUESTION_MARK, RB, SPACE 
Constructor Summary  

protected 
AExp()
Creates an arithmetics expression without fililing the fields. 
Method Summary  

AExp 
add(AExp exp)
Creates a nonterminal arithmetic expression which represents which represents addition ('+'). 
static AExp 
add(AExp left,
AExp right)
Creates a nonterminal arithmetic expression which represents addition ('+'). 
AExp 
add(BigDecimal exp)
Creates a nonterminal arithmetic expression which represents which represents addition ('+'). 
AExp 
add(double exp)
Creates a nonterminal arithmetic expression which represents which represents addition ('+'). 
AExp 
add(Double exp)
Creates a nonterminal arithmetic expression which represents which represents addition ('+'). 
AExp 
add(Float exp)
Creates a nonterminal arithmetic expression which represents which represents addition ('+'). 
AExp 
add(Integer exp)
Creates a nonterminal arithmetic expression which represents which represents addition ('+'). 
AExp 
add(long exp)
Creates a nonterminal arithmetic expression which represents which represents addition ('+'). 
AExp 
add(Long exp)
Creates a nonterminal arithmetic expression which represents which represents addition ('+'). 
AExp 
alias(String tableAlias,
String columnAlias)
Returns an expression which represents a reference to the expression using the specified table/column alias. 
static AExp 
all(SelectQuery query)
Creates a nonterminal arithmetic expression which represents the 'ALL' operation. 
static AExp 
any(SelectQuery query)
Creates a nonterminal arithmetic expression which represents the 'ANY' operation. 
LExp 
between(AExp lower,
AExp greater)
Creates a nonterminal logical expression using the operator 'BETWEEN'. 
LExp 
between(BigDecimal lower,
BigDecimal greater)
Creates a nonterminal logical expression using the operator 'BETWEEN'. 
LExp 
between(Date lower,
Date greater)
Creates a nonterminal logical expression using the operator 'BETWEEN'. 
LExp 
between(Date lower,
Date greater)
Creates a nonterminal logical expression using the operator 'BETWEEN'. 
LExp 
between(double lower,
double greater)
Creates a nonterminal logical expression using the operator 'BETWEEN'. 
LExp 
between(Double lower,
Double greater)
Creates a nonterminal logical expression using the operator 'BETWEEN'. 
LExp 
between(Float lower,
Float greater)
Creates a nonterminal logical expression using the operator 'BETWEEN'. 
LExp 
between(Integer lower,
Integer greater)
Creates a nonterminal logical expression using the operator 'BETWEEN'. 
LExp 
between(long lower,
long greater)
Creates a nonterminal logical expression using the operator 'BETWEEN'. 
LExp 
between(Long lower,
Long greater)
Creates a nonterminal logical expression using the operator 'BETWEEN'. 
LExp 
between(SelectQuery lower,
SelectQuery greater)
Creates a nonterminal logical expression using the operator 'BETWEEN'. 
LExp 
between(Timestamp lower,
Timestamp greater)
Creates a nonterminal logical expression using the operator 'BETWEEN'. 
LExp 
between(Time lower,
Time greater)
Creates a nonterminal logical expression using the operator 'BETWEEN'. 
static AExp 
br(AExp exp)
Puts parentheses around the specifed arithmetic expression. 
void 
build(StringBuilder sb,
String schemaName,
List<Value> objects,
DBAdapter adapter)
Builds the text of the query (or a part of it) represented by this object. 
AExp 
div(AExp exp)
Creates a nonterminal arithmetic expression which represents which represents division ('/'). 
static AExp 
div(AExp left,
AExp right)
Creates a nonterminal arithmetic expression which represents division ('/'). 
AExp 
div(BigDecimal exp)
Creates a nonterminal arithmetic expression which represents which represents division ('/'). 
AExp 
div(double exp)
Creates a nonterminal arithmetic expression which represents which represents division ('/'). 
AExp 
div(Double exp)
Creates a nonterminal arithmetic expression which represents which represents division ('/'). 
AExp 
div(Float exp)
Creates a nonterminal arithmetic expression which represents which represents division ('/'). 
AExp 
div(Integer exp)
Creates a nonterminal arithmetic expression which represents which represents division ('/'). 
AExp 
div(long exp)
Creates a nonterminal arithmetic expression which represents which represents division ('/'). 
AExp 
div(Long exp)
Creates a nonterminal arithmetic expression which represents which represents division ('/'). 
LExp 
eq(AExp exp)
Creates a nonterminal logical expression using the equality operator ('='). 
LExp 
eq(BigDecimal exp)
Creates a nonterminal logical expression using the equality operator ('='). 
LExp 
eq(boolean exp)
Creates a nonterminal logical expression using the equality operator ('='). 
LExp 
eq(Boolean exp)
Creates a nonterminal logical expression using the equality operator ('='). 
LExp 
eq(Date exp)
Creates a nonterminal logical expression using the equality operator ('='). 
LExp 
eq(Date exp)
Creates a nonterminal logical expression using the equality operator ('='). 
LExp 
eq(double exp)
Creates a nonterminal logical expression using the equality operator ('='). 
LExp 
eq(Double exp)
Creates a nonterminal logical expression using the equality operator ('='). 
LExp 
eq(Float exp)
Creates a nonterminal logical expression using the equality operator ('='). 
LExp 
eq(Integer exp)
Creates a nonterminal logical expression using the equality operator ('='). 
LExp 
eq(long exp)
Creates a nonterminal logical expression using the equality operator ('='). 
LExp 
eq(Long exp)
Creates a nonterminal logical expression using the equality operator ('='). 
LExp 
eq(Object exp)
Creates a nonterminal logical expression using the equality operator ('='). 
LExp 
eq(SelectQuery exp)
Creates a nonterminal logical expression using the equality operator ('='). 
LExp 
eq(String exp)
Creates a nonterminal logical expression using the equality operator ('='). 
LExp 
eq(Time exp)
Creates a nonterminal logical expression using the equality operator ('='). 
LExp 
eq(Timestamp exp)
Creates a nonterminal logical expression using the equality operator ('='). 
boolean 
equals(Object obj)

static AExp 
exp(BigDecimal exp)
Creates a terminal arithmetic expression from the specified parameter. 
static AExp 
exp(boolean exp)
Creates a terminal arithmetic expression from the specified parameter. 
static AExp 
exp(Boolean exp)
Creates a terminal arithmetic expression from the specified parameter. 
static AExp 
exp(Byte exp)
Creates a terminal arithmetic expression from the specified parameter. 
static AExp 
exp(byte[] exp)
Creates a terminal arithmetic expression from the specified parameter. 
static AExp 
exp(Date exp)
Creates a terminal arithmetic expression from the specified parameter. 
static AExp 
exp(Date exp)
Creates a terminal arithmetic expression from the specified parameter. 
static AExp 
exp(double exp)
Creates a terminal arithmetic expression from the specified parameter. 
static AExp 
exp(Double exp)
Creates a terminal arithmetic expression from the specified parameter. 
static AExp 
exp(Float exp)
Creates a terminal arithmetic expression from the specified parameter. 
static AExp 
exp(Integer exp)
Creates a terminal arithmetic expression from the specified parameter. 
static AExp 
exp(long exp)
Creates a terminal arithmetic expression from the specified parameter. 
static AExp 
exp(Long exp)
Creates a terminal arithmetic expression from the specified parameter. 
static AExp 
exp(Object exp)
Creates a terminal arithmetic expression from the specified parameter, choosing an appropriate JDBC type from the class of the parameter. 
static AExp 
exp(Short exp)
Creates a terminal arithmetic expression from the specified parameter. 
static AExp 
exp(String exp)
Creates a terminal arithmetic expression from the specified parameter. 
static AExp 
exp(Time exp)
Creates a terminal arithmetic expression from the specified parameter. 
static AExp 
exp(Timestamp exp)
Creates a terminal arithmetic expression from the specified parameter. 
static AExp 
fun(String name,
AExp param)
Creates a nonterminal arithmetic expression which represents invokation of an SQL function. 
static AExp 
fun(String name,
List<AExp> params)
Creates a nonterminal arithmetic expression which represents invokation of an SQL function. 
LExp 
ge(AExp exp)
Creates a nonterminal logical expression using the greater than or equal operator ('>='). 
LExp 
ge(BigDecimal exp)
Creates a nonterminal logical expression using the greater than or equal operator ('>='). 
LExp 
ge(Date exp)
Creates a nonterminal logical expression using the greater than or equal operator ('>='). 
LExp 
ge(Date exp)
Creates a nonterminal logical expression using the greater than or equal operator ('>='). 
LExp 
ge(double exp)
Creates a nonterminal logical expression using the greater than or equal operator ('>='). 
LExp 
ge(Double exp)
Creates a nonterminal logical expression using the greater than or equal operator ('>='). 
LExp 
ge(Float exp)
Creates a nonterminal logical expression using the greater than or equal operator ('>='). 
LExp 
ge(Integer exp)
Creates a nonterminal logical expression using the greater than or equal operator ('>='). 
LExp 
ge(long exp)
Creates a nonterminal logical expression using the greater than or equal operator ('>='). 
LExp 
ge(Long exp)
Creates a nonterminal logical expression using the greater than or equal operator ('>='). 
LExp 
ge(SelectQuery exp)
Creates a nonterminal logical expression using the greater than or equal operator ('>='). 
LExp 
ge(Time exp)
Creates a nonterminal logical expression using the greater than or equal operator ('>='). 
LExp 
ge(Timestamp exp)
Creates a nonterminal logical expression using the greater than or equal operator ('>='). 
Value 
getValue()
Returns the value of the 'value' field. 
LExp 
gt(AExp exp)
Creates a nonterminal logical expression using the greater than operator ('>'). 
LExp 
gt(BigDecimal exp)
Creates a nonterminal logical expression using the greater than operator ('>'). 
LExp 
gt(Date exp)
Creates a nonterminal logical expression using the greater than operator ('>'). 
LExp 
gt(Date exp)
Creates a nonterminal logical expression using the greater than operator ('>'). 
LExp 
gt(double exp)
Creates a nonterminal logical expression using the greater than operator ('>'). 
LExp 
gt(Double exp)
Creates a nonterminal logical expression using the greater than operator ('>'). 
LExp 
gt(Float exp)
Creates a nonterminal logical expression using the greater than operator ('>'). 
LExp 
gt(Integer exp)
Creates a nonterminal logical expression using the greater than operator ('>'). 
LExp 
gt(long exp)
Creates a nonterminal logical expression using the greater than operator ('>'). 
LExp 
gt(Long exp)
Creates a nonterminal logical expression using the greater than operator ('>'). 
LExp 
gt(SelectQuery exp)
Creates a nonterminal logical expression using the greater than operator ('>'). 
LExp 
gt(Time exp)
Creates a nonterminal logical expression using the greater than operator ('>'). 
LExp 
gt(Timestamp exp)
Creates a nonterminal logical expression using the greater than operator ('>'). 
int 
hashCode()

LExp 
ilike(String exp)
Creates a nonterminal logical expression using the operator 'ILIKE' (caseinsensitive 'LIKE'). 
LExp 
ilike(String exp,
Locale locale)
Creates a nonterminal logical expression using the operator 'ILIKE' (caseinsensitive 'LIKE'). 
LExp 
in(Collection<AExp> params)
Creates a terminal logical expression using the operator 'IN' and a specified list of AExp objects. 
LExp 
in(SelectQuery query)
Creates a terminal logical expression using the operator 'IN'. 
LExp 
inIds(Collection<? extends Object> params)
Creates a terminal logical expression using the operator 'IN' with the list of ids retrieved from the specified objects. 
LExp 
inIds(Collection<? extends Object> params,
String idColumnName)
Creates a terminal logical expression using the operator 'IN' and the list of values of the property idColumName retrieved from the specified objects. 
LExp 
inValues(Collection<? extends Object> params)
Creates a terminal logical expression using the operator 'IN' with the specified list of objects. 
LExp 
le(AExp exp)
Creates a nonterminal logical expression using the less or equal than operator ('<='). 
LExp 
le(BigDecimal exp)
Creates a nonterminal logical expression using the less or equal than operator ('<='). 
LExp 
le(Date exp)
Creates a nonterminal logical expression using the less or equal than operator ('<='). 
LExp 
le(Date exp)
Creates a nonterminal logical expression using the less or equal than operator ('<='). 
LExp 
le(double exp)
Creates a nonterminal logical expression using the less or equal than operator ('<='). 
LExp 
le(Double exp)
Creates a nonterminal logical expression using the less or equal than operator ('<='). 
LExp 
le(Float exp)
Creates a nonterminal logical expression using the less or equal than operator ('<='). 
LExp 
le(Integer exp)
Creates a nonterminal logical expression using the less or equal than operator ('<='). 
LExp 
le(long exp)
Creates a nonterminal logical expression using the less or equal than operator ('<='). 
LExp 
le(Long exp)
Creates a nonterminal logical expression using the less or equal than operator ('<='). 
LExp 
le(SelectQuery exp)
Creates a nonterminal logical expression using the less or equal than operator ('<='). 
LExp 
le(Time exp)
Creates a nonterminal logical expression using the less or equal than operator ('<='). 
LExp 
le(Timestamp exp)
Creates a nonterminal logical expression using the less or equal than operator ('<='). 
LExp 
like(AExp exp)
Creates a nonterminal logical expression using the operator 'LIKE'. 
LExp 
like(String exp)
Creates a nonterminal logical expression using the operator 'LIKE'. 
LExp 
lt(AExp exp)
Creates a nonterminal logical expression using the less than operator ('<'). 
LExp 
lt(BigDecimal exp)
Creates a nonterminal logical expression using the less than operator ('<'). 
LExp 
lt(Date exp)
Creates a nonterminal logical expression using the less than operator ('<'). 
LExp 
lt(Date exp)
Creates a nonterminal logical expression using the less than operator ('<'). 
LExp 
lt(double exp)
Creates a nonterminal logical expression using the less than operator ('<'). 
LExp 
lt(Double exp)
Creates a nonterminal logical expression using the less than operator ('<'). 
LExp 
lt(Float exp)
Creates a nonterminal logical expression using the less than operator ('<'). 
LExp 
lt(Integer exp)
Creates a nonterminal logical expression using the less than operator ('<'). 
LExp 
lt(long exp)
Creates a nonterminal logical expression using the less than operator ('<'). 
LExp 
lt(Long exp)
Creates a nonterminal logical expression using the less than operator ('<'). 
LExp 
lt(SelectQuery exp)
Creates a nonterminal logical expression using the less than operator ('<'). 
LExp 
lt(Time exp)
Creates a nonterminal logical expression using the less than operator ('<'). 
LExp 
lt(Timestamp exp)
Creates a nonterminal logical expression using the less than operator ('<'). 
AExp 
mul(AExp exp)
Creates a nonterminal arithmetic expression which represents which represents mutliplication ('*'). 
static AExp 
mul(AExp left,
AExp right)
Creates a nonterminal arithmetic expression which represents multiplication ('*'). 
AExp 
mul(BigDecimal exp)
Creates a nonterminal arithmetic expression which represents which represents mutliplication ('*'). 
AExp 
mul(double exp)
Creates a nonterminal arithmetic expression which represents which represents mutliplication ('*'). 
AExp 
mul(Double exp)
Creates a nonterminal arithmetic expression which represents which represents mutliplication ('*'). 
AExp 
mul(Float exp)
Creates a nonterminal arithmetic expression which represents which represents mutliplication ('*'). 
AExp 
mul(Integer exp)
Creates a nonterminal arithmetic expression which represents which represents mutliplication ('*'). 
AExp 
mul(long exp)
Creates a nonterminal arithmetic expression which represents which represents mutliplication ('*'). 
AExp 
mul(Long exp)
Creates a nonterminal arithmetic expression which represents which represents mutliplication ('*'). 
LExp 
ne(AExp exp)
Creates a nonterminal logical expression using the inequality operator ('<>'). 
LExp 
ne(BigDecimal exp)
Creates a nonterminal logical expression using the inequality operator ('<>'). 
LExp 
ne(boolean exp)
Creates a nonterminal logical expression using the inequality operator ('<>'). 
LExp 
ne(Boolean exp)
Creates a nonterminal logical expression using the inequality operator ('<>'). 
LExp 
ne(Date exp)
Creates a nonterminal logical expression using the inequality operator ('<>'). 
LExp 
ne(Date exp)
Creates a nonterminal logical expression using the inequality operator ('<>'). 
LExp 
ne(double exp)
Creates a nonterminal logical expression using the inequality operator ('<>'). 
LExp 
ne(Double exp)
Creates a nonterminal logical expression using the inequality operator ('<>'). 
LExp 
ne(Float exp)
Creates a nonterminal logical expression using the inequality operator ('<>'). 
LExp 
ne(Integer exp)
Creates a nonterminal logical expression using the inequality operator ('<>'). 
LExp 
ne(long exp)
Creates a nonterminal logical expression using the inequality operator ('<>'). 
LExp 
ne(Long exp)
Creates a nonterminal logical expression using the inequality operator ('<>'). 
LExp 
ne(SelectQuery exp)
Creates a nonterminal logical expression using the inequality operator ('<>'). 
LExp 
ne(String exp)
Creates a nonterminal logical expression using the inequality operator ('<>'). 
LExp 
ne(Time exp)
Creates a nonterminal logical expression using the inequality operator ('<>'). 
LExp 
ne(Timestamp exp)
Creates a nonterminal logical expression using the inequality operator ('<>'). 
static AExp 
neg(AExp right)
Creates a nonterminal arithmetic expression which represents a negation (single argumetn ''). 
static AExp 
some(SelectQuery query)
Creates a nonterminal arithmetic expression which represents the 'SOME' operation. 
AExp 
sub(AExp exp)
Creates a nonterminal arithmetic expression which represents which represents subtraction (''). 
static AExp 
sub(AExp left,
AExp right)
Creates a nonterminal arithmetic expression which represents substraction (''). 
AExp 
sub(BigDecimal exp)
Creates a nonterminal arithmetic expression which represents which represents subtraction (''). 
AExp 
sub(double exp)
Creates a nonterminal arithmetic expression which represents which represents subtraction (''). 
AExp 
sub(Double exp)
Creates a nonterminal arithmetic expression which represents which represents subtraction (''). 
AExp 
sub(Float exp)
Creates a nonterminal arithmetic expression which represents which represents subtraction (''). 
AExp 
sub(Integer exp)
Creates a nonterminal arithmetic expression which represents which represents subtraction (''). 
AExp 
sub(long exp)
Creates a nonterminal arithmetic expression which represents which represents subtraction (''). 
AExp 
sub(Long exp)
Creates a nonterminal arithmetic expression which represents which represents subtraction (''). 
String 
toString()
Returns a string representation of the object. 
Methods inherited from class com.onewebsql.query.Exp 

aliasColumn, aliasTable 
Methods inherited from class java.lang.Object 

clone, finalize, getClass, notify, notifyAll, wait, wait, wait 
Field Detail 

protected String expression
protected Value value
Constructor Detail 

protected AExp()
Column
which inherits from this class.
Method Detail 

public static AExp br(AExp exp)
exp
 arithmetic expression
exp
with parentheses around itpublic static AExp exp(boolean exp)
exp
 the value of the expression
public static AExp exp(long exp)
exp
 the value of the expression
public static AExp exp(double exp)
exp
 the value of the expression
public static AExp exp(Boolean exp)
exp
 the value of the expression
public static AExp exp(Integer exp)
exp
 the value of the expression
public static AExp exp(Byte exp)
exp
 the value of the expression
public static AExp exp(Short exp)
exp
 the value of the expression
public static AExp exp(Long exp)
exp
 the value of the expression
public static AExp exp(Float exp)
exp
 the value of the expression
public static AExp exp(Double exp)
exp
 the value of the expression
public static AExp exp(BigDecimal exp)
exp
 the value of the expression
public static AExp exp(String exp)
exp
 the value of the expression
public static AExp exp(Date exp)
exp
 the value of the expression
public static AExp exp(Date exp)
exp
 the value of the expression
public static AExp exp(Time exp)
exp
 the value of the expression
public static AExp exp(Timestamp exp)
exp
 the value of the expression
public static AExp exp(byte[] exp)
exp
 the value of the expression
public static AExp exp(Object exp)
java.lang.String
java.math.BigDecimal
java.lang.Boolean
java.lang.Integer
java.lang.Byte
java.lang.Short
java.lang.Long
java.lang.Float
java.lang.Double
byte[]
java.util.Date
java.sql.Date
java.sql.Time
java.sql.Timestamp
com.onewebsql.query.AExp
IllegalArgumentException
is thrown.
exp
 the value of the expression
IllegalArgumentException
 if the parameter is null or it is not an object of the supported classpublic static AExp add(AExp left, AExp right)
left
 left operandright
 right operand
public static AExp sub(AExp left, AExp right)
left
 left operandright
 right operand
public static AExp mul(AExp left, AExp right)
left
 left operandright
 right operand
public static AExp div(AExp left, AExp right)
left
 left operandright
 right operand
public static AExp neg(AExp right)
right
 right operand
public static AExp fun(String name, AExp param)
name
 name of the invoked functionparam
 function parameter
public static AExp fun(String name, List<AExp> params)
name
 name of the invoked functionparams
 function parameters
public static AExp all(SelectQuery query)
query
 SELECT
query
public static AExp any(SelectQuery query)
query
 SELECT
query
public static AExp some(SelectQuery query)
query
 SELECT
query
public AExp add(AExp exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp add(long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp add(double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp add(Integer exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp add(Long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp add(Float exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp add(Double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp add(BigDecimal exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp sub(AExp exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp sub(long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp sub(double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp sub(Integer exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp sub(Long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp sub(Float exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp sub(Double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp sub(BigDecimal exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp mul(AExp exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp mul(long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp mul(double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp mul(Integer exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp mul(Long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp mul(Float exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp mul(Double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp mul(BigDecimal exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp div(AExp exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp div(long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp div(double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp div(Integer exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp div(Long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp div(Float exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp div(Double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public AExp div(BigDecimal exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp eq(AExp exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp eq(boolean exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp eq(long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp eq(double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp eq(Boolean exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp eq(Integer exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp eq(Long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp eq(Float exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp eq(Double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp eq(BigDecimal exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp eq(String exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp eq(Date exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp eq(Date exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp eq(Time exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp eq(Timestamp exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp eq(SelectQuery exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp eq(Object exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression. The right operand is created by the method exp(Object)
.
exp
 right operand
public LExp ne(AExp exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ne(boolean exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ne(long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ne(double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ne(Boolean exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ne(Integer exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ne(Long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ne(Float exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ne(Double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ne(BigDecimal exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ne(String exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ne(Date exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ne(Date exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ne(Time exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ne(Timestamp exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ne(SelectQuery exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp gt(AExp exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp gt(long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp gt(double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp gt(Integer exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp gt(Long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp gt(Float exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp gt(Double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp gt(BigDecimal exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp gt(Date exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp gt(Date exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp gt(Time exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp gt(Timestamp exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp gt(SelectQuery exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ge(AExp exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ge(long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ge(double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ge(Integer exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ge(Long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ge(Float exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ge(Double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ge(BigDecimal exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ge(Date exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ge(Date exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ge(Time exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ge(Timestamp exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ge(SelectQuery exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp lt(AExp exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp lt(long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp lt(double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp lt(Integer exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp lt(Long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp lt(Float exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp lt(Double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp lt(BigDecimal exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp lt(Date exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp lt(Date exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp lt(Time exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp lt(Timestamp exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp lt(SelectQuery exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp le(AExp exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp le(long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp le(double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp le(Integer exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp le(Long exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp le(Float exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp le(Double exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp le(BigDecimal exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp le(Date exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp le(Date exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp le(Time exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp le(Timestamp exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp le(SelectQuery exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp like(AExp exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp like(String exp)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
exp
 right operand
public LExp ilike(String exp)
this
arithmetic expression as left operand.
Special search characters ('%' and '_') are escaped.
It does not put parentheses
around the created expression.
exp
 right operand
public LExp ilike(String exp, Locale locale)
this
arithmetic expression as left operand.
Special search characters ('%' and '_') are escaped.
It does not put parentheses
around the created expression.
exp
 right operandlocale
 locale changing the letter case
public LExp between(AExp lower, AExp greater)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
lower
 lower limitgreater
 greater limit
public LExp between(long lower, long greater)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
lower
 lower limitgreater
 greater limit
public LExp between(double lower, double greater)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
lower
 lower limitgreater
 greater limit
public LExp between(Integer lower, Integer greater)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
lower
 lower limitgreater
 greater limit
public LExp between(Long lower, Long greater)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
lower
 lower limitgreater
 greater limit
public LExp between(Float lower, Float greater)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
lower
 lower limitgreater
 greater limit
public LExp between(Double lower, Double greater)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
lower
 lower limitgreater
 greater limit
public LExp between(BigDecimal lower, BigDecimal greater)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
lower
 lower limitgreater
 greater limit
public LExp between(Date lower, Date greater)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
lower
 lower limitgreater
 greater limit
public LExp between(Date lower, Date greater)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
lower
 lower limitgreater
 greater limit
public LExp between(Time lower, Time greater)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
lower
 lower limitgreater
 greater limit
public LExp between(Timestamp lower, Timestamp greater)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
lower
 lower limitgreater
 greater limit
public LExp between(SelectQuery lower, SelectQuery greater)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
lower
 lower limitgreater
 greater limit
public LExp in(Collection<AExp> params)
AExp
objects.
It uses this
arithmetic expression as left operand. It does not put parentheses
around the created expression. If the parameter list is empty, it returns LExp.FALSE
.
params
 the list of AExp
expression
LExp.FALSE
if the list is emptypublic LExp inValues(Collection<? extends Object> params)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
params
 the list of objects
public LExp inIds(Collection<? extends Object> params)
this
arithmetic expression as left operand.
It does not put parentheses around the created expression.
params
 the list of objects which have 'id' parameter
public LExp inIds(Collection<? extends Object> params, String idColumnName)
idColumName
retrieved from the specified objects.
It uses this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
params
 the list of objects which have idColumName
parameteridColumnName
 name of the property to be read
public LExp in(SelectQuery query)
this
arithmetic expression as left operand. It does not put parentheses
around the created expression.
query
 SELECT
query
public void build(StringBuilder sb, String schemaName, List<Value> objects, DBAdapter adapter)
Expression
build
in interface Expression
build
in class Exp
sb
 StringBuilder to build the query textschemaName
 name of the database schema used to build the queryobjects
 an accumulator list to which query parameters are appendedadapter
 database adapter which builds builds query in a way specific to the database enginepublic AExp alias(String tableAlias, String columnAlias)
Exp
alias
in class Exp
tableAlias
 table aliascolumnAlias
 column alias
public int hashCode()
hashCode
in class Exp
public boolean equals(Object obj)
equals
in class Exp
public String toString()
Exp
toString
in class Exp
public Value getValue()


PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 