|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.triactive.jdo.store.SQLExpression
com.triactive.jdo.store.SetExpression
com.triactive.jdo.store.SetLiteral
class SetLiteral
A SetLiteral is a SQL expression that will test if a column of table
falls within the given Set of values. This is used for Query
s
where a transient Set is passed in as a parameter.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.triactive.jdo.store.SQLExpression |
---|
SQLExpression.DyadicOperator, SQLExpression.IllegalArgumentTypeException, SQLExpression.IllegalOperationException, SQLExpression.MethodInvocationException, SQLExpression.MonadicOperator, SQLExpression.Operator |
Field Summary |
---|
Fields inherited from class com.triactive.jdo.store.SQLExpression |
---|
lowestOperator, OP_ADD, OP_AND, OP_BETWEEN, OP_CONCAT, OP_DIV, OP_EQ, OP_GT, OP_GTEQ, OP_IN, OP_IS, OP_ISNOT, OP_LIKE, OP_LT, OP_LTEQ, OP_MUL, OP_NEG, OP_NOT, OP_NOTEQ, OP_OR, OP_SUB, qs, st |
Constructor Summary | |
---|---|
SetLiteral(QueryStatement qs,
java.util.Set value)
Construct a SetLiteral. |
Method Summary | |
---|---|
BooleanExpression |
containsMethod(SQLExpression expr)
Return the BooleanExpression that results from SetLiteral.contains(SQLExpression). |
BooleanExpression |
isEmptyMethod()
|
Methods inherited from class com.triactive.jdo.store.SQLExpression |
---|
accessField, add, and, callMethod, cast, com, div, eor, eq, getQueryStatement, gt, gteq, in, ior, lt, lteq, mod, mul, neg, not, noteq, sub, toStatementText, toString, typeList |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SetLiteral(QueryStatement qs, java.util.Set value)
qs
- The QueryStatement the SetLiteral will be used in.value
- The transient Set that is the value of the SetLiteral.Method Detail |
---|
public BooleanExpression containsMethod(SQLExpression expr)
expr
- The SQLExpression that is checked for membership in the Set.The
- BooleanExpression that results from SetLiteral.contains(SQLExpression).public BooleanExpression isEmptyMethod()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |