code: public void compareFilter(String ElementName, String value, int oper) throws DBException
      {
          // Delete the old search filter
          m_filter = null;
          // If this is not a binary operator, throw an exception
          if ((oper & BINARY_OPER_MASK) == 0)
          {
              throw new DBException();
              // Create a SearchBaseLeafComparison node and store it as the filter
          }
          m_filter = new SearchBaseLeafComparison(ElementName, oper, value);
      }
docs: Change the search filter to one that compares an element name to a value.
  The old search filter is deleted.
  
  @param ElementName is the name of the element to be tested
  @param value is the value to be compared against
  @param oper is the binary comparison operator to be used
  @exception DBException