|
DODS 7.2 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.dods.cache.Condition
public class Condition
This class stores one condition declared in WHERE part of SELECT clause.
Field Summary | |
---|---|
protected int |
columnIndex
Column index in the table. |
protected java.lang.String |
operator
Operator (relation) of the condition. |
protected java.lang.Object |
value
Value to which the column DO is compared against. |
Constructor Summary | |
---|---|
Condition(int colIndex,
boolean value,
java.lang.String oper)
Constructor (int, boolean, String). |
|
Condition(int colIndex,
double value,
java.lang.String oper)
Constructor (int, double, String). |
|
Condition(int colIndex,
java.lang.Object value,
java.lang.String oper)
Constructor (int, Object, String). |
Method Summary | |
---|---|
int |
getColumnIndex()
Returns column index. |
java.lang.String |
getOperator()
Returns operator. |
java.lang.Object |
getValue()
Returns column value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int columnIndex
protected java.lang.Object value
protected java.lang.String operator
Constructor Detail |
---|
public Condition(int colIndex, java.lang.Object value, java.lang.String oper)
colIndex
- Index of the column whose value will be compared.value
- The value to compare against.oper
- Operator.public Condition(int colIndex, boolean value, java.lang.String oper)
colIndex
- Index of the column whose value will be compared.value
- The boolean value to compare against.oper
- Operator.public Condition(int colIndex, double value, java.lang.String oper)
colIndex
- Index of the column whose value will be compared.value
- The double value to compare against.oper
- Operator.Method Detail |
---|
public int getColumnIndex()
public java.lang.Object getValue()
public java.lang.String getOperator()
|
DODS 7.2 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |