Class SQLIn
java.lang.Object
net.ontopia.persistence.query.sql.SQLIn
- All Implemented Interfaces:
SQLExpressionIF
INTERNAL: SQL condition: in. Evaluates to true if the left
value contains the right value.
An IN condition tests for existence of rows in a subquery.
-
Field Summary
FieldsFields inherited from interface net.ontopia.persistence.query.sql.SQLExpressionIF
AND, EQUALS, EXISTS, FALSE, IN, IS_NULL, JOIN, LIKE, NOT, NOT_EQUALS, OR, SET_OPERATION, VALUE_EXPRESSION, VERBATIM -
Constructor Summary
ConstructorsModifierConstructorDescriptionSQLIn(SQLColumns left, SQLParameter right) SQLIn(SQLTuple left, SQLParameter right) protectedSQLIn(SQLValueIF left, SQLValueIF right) -
Method Summary
Modifier and TypeMethodDescriptiongetLeft()getRight()intgetType()INTERNAL: Returns the expression type.voidsetLeft(SQLValueIF left) voidsetRight(SQLValueIF right) toString()
-
Field Details
-
left
-
right
-
-
Constructor Details
-
SQLIn
-
SQLIn
-
SQLIn
-
-
Method Details
-
getType
public int getType()Description copied from interface:SQLExpressionIFINTERNAL: Returns the expression type. The type is represented by one of the constants in theSQLExpressionIFinterface.- Specified by:
getTypein interfaceSQLExpressionIF
-
getLeft
-
setLeft
-
getRight
-
setRight
-
toString
-