Class SQLLike
java.lang.Object
net.ontopia.persistence.query.sql.SQLLike
- All Implemented Interfaces:
SQLExpressionIF
INTERNAL: SQL condition: like
A LIKE condition specifies a test involving pattern matching. Note that right value must be a pattern, i.e. a string.
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetLeft()getRight()intgetType()INTERNAL: Returns the expression type.voidsetCaseSensitive(boolean caseSensitive) voidsetLeft(SQLValueIF left) voidsetRight(SQLValueIF right) toString()
-
Field Details
-
left
-
right
-
caseSensitive
protected boolean caseSensitive
-
-
Constructor Details
-
SQLLike
-
-
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
-
getCaseSensitive
public boolean getCaseSensitive() -
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive) -
toString
-