Class SQLExists
- java.lang.Object
-
- net.ontopia.persistence.query.sql.SQLExists
-
- All Implemented Interfaces:
SQLExpressionIF
public class SQLExists extends Object implements SQLExpressionIF
INTERNAL: SQL condition: exists. Evaluates to true if the left value contains the right value.An EXISTS condition tests for existence of rows in a subquery.
-
-
Field Summary
Fields Modifier and Type Field Description protected SQLExpressionIF
expression
-
Fields 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
Constructors Constructor Description SQLExists(SQLExpressionIF expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SQLExpressionIF
getExpression()
int
getType()
INTERNAL: Returns the expression type.void
setExpression(SQLExpressionIF expression)
String
toString()
-
-
-
Field Detail
-
expression
protected SQLExpressionIF expression
-
-
Constructor Detail
-
SQLExists
public SQLExists(SQLExpressionIF expression)
-
-
Method Detail
-
getType
public int getType()
Description copied from interface:SQLExpressionIF
INTERNAL: Returns the expression type. The type is represented by one of the constants in theSQLExpressionIF
interface.- Specified by:
getType
in interfaceSQLExpressionIF
-
getExpression
public SQLExpressionIF getExpression()
-
setExpression
public void setExpression(SQLExpressionIF expression)
-
-