|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Operator
Operator generates an SQL operation on two expressions.
Field Summary | |
---|---|
static Operator |
EQUALS
Common operator equals ("="). |
static Operator |
GREATER_THAN
Operator greater than (">"). |
static Operator |
IN
|
static Operator |
IS
Operator is (" IS ") for comparing to null. |
static Operator |
LESS_THAN
Operator less than ("<"). |
static Operator |
LIKE
|
Method Summary | |
---|---|
java.lang.String |
operation(java.lang.String variable,
java.lang.String value)
Generates SQL operation using given expressions as arguments. |
java.lang.String |
operatorString()
|
Field Detail |
---|
static final Operator EQUALS
IS
when comparing to null value.
static final Operator IS
EQUALS
static final Operator LESS_THAN
static final Operator GREATER_THAN
static final Operator LIKE
static final Operator IN
Method Detail |
---|
java.lang.String operation(java.lang.String variable, java.lang.String value)
variable
- variable expression (i.e. left-hand expression).value
- value expression (i.e. right-hand expression).
java.lang.String operatorString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |