Class SQLLike

java.lang.Object
net.ontopia.persistence.query.sql.SQLLike
All Implemented Interfaces:
SQLExpressionIF

public class SQLLike extends Object implements 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 Details

    • left

      protected SQLValueIF left
    • caseSensitive

      protected boolean caseSensitive
  • Constructor Details

  • Method Details

    • getType

      public int getType()
      Description copied from interface: SQLExpressionIF
      INTERNAL: Returns the expression type. The type is represented by one of the constants in the SQLExpressionIF interface.
      Specified by:
      getType in interface SQLExpressionIF
    • getLeft

      public SQLValueIF getLeft()
    • setLeft

      public void setLeft(SQLValueIF left)
    • getRight

      public SQLValueIF getRight()
    • setRight

      public void setRight(SQLValueIF right)
    • getCaseSensitive

      public boolean getCaseSensitive()
    • setCaseSensitive

      public void setCaseSensitive(boolean caseSensitive)
    • toString

      public String toString()
      Overrides:
      toString in class Object