Class AbstractWhereClauseMatchCriteria

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.StringBuilder sbClause
      Stores where clause string
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addCriteria​(java.lang.String column)
      Adds a parameterized selection criterion of the form column=? to the where clause.
      protected void addCriteria​(java.lang.String column, java.lang.String operator)
      Adds a parameterized selection criterion of the form "column [operator] ?" to the where clause.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • sbClause

        protected java.lang.StringBuilder sbClause
        Stores where clause string
    • Constructor Detail

      • AbstractWhereClauseMatchCriteria

        public AbstractWhereClauseMatchCriteria()
    • Method Detail

      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface WhereClauseMatchCriteria
        Overrides:
        toString in class java.lang.Object
        Returns:
        The where clause text beginning with the string " WHERE" such that the return value can be directly appended to a SQL statement with no where clause.
      • addCriteria

        protected void addCriteria​(java.lang.String column)
        Adds a parameterized selection criterion of the form column=? to the where clause.
        Parameters:
        column - Database column name.
      • addCriteria

        protected void addCriteria​(java.lang.String column,
                                   java.lang.String operator)
        Adds a parameterized selection criterion of the form "column [operator] ?" to the where clause.
        Parameters:
        column - Database column name.
        operator - the operator to use to separate.