class DBConditionItem extends ParseItem
| Modifier and Type | Field and Description |
|---|---|
static int |
EQUAL |
(package private) String |
fieldName
The fieldname.
|
static int |
GREATER |
static int |
GREATEREQUAL |
(package private) String |
identifier
The field identifier as it appears in SQL expressions, with
table alias prefix (if present), and the fieldname converted to
an allowed fieldname.
|
static int |
NOTEQUAL |
(package private) int |
operator
The comparison operator, must be one of the constants defined
in this class.
|
(package private) String |
prefix
The table alias prefix (if present).
|
static int |
SMALLER |
static int |
SMALLEREQUAL |
(package private) DBValue |
value
The value to compare to.
|
| Constructor and Description |
|---|
DBConditionItem(String item)
Creates the boolean expression
|
| Modifier and Type | Method and Description |
|---|---|
void |
sqlConversion(StringBuffer result)
Appends the converted expression to the stringbuffer.
|
public static final int NOTEQUAL
public static final int EQUAL
public static final int GREATER
public static final int SMALLER
public static final int GREATEREQUAL
public static final int SMALLEREQUAL
String fieldName
String prefix
String identifier
int operator
DBValue value
public DBConditionItem(String item)
public void sqlConversion(StringBuffer result)
sqlConversion in class ParseItemresult - the stringbuffer to which to add the expressionMMBase 1.9-SNAPSHOT - ${javadoctimestamp}