Class StringMatchQuery

  • All Implemented Interfaces:
    Query

    public class StringMatchQuery
    extends java.lang.Object
    implements Query
    Query for matching string fields with wildcard string.
    • Constructor Summary

      Constructors 
      Constructor Description
      StringMatchQuery​(int col, java.lang.String searchString, boolean caseSensitive)
      Construct a new StringMatchQuery
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean matches​(Record record)
      Returns true if the given record matches the querys condition.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StringMatchQuery

        public StringMatchQuery​(int col,
                                java.lang.String searchString,
                                boolean caseSensitive)
        Construct a new StringMatchQuery
        Parameters:
        col - column index
        searchString - string to match
        caseSensitive - true if the match should be case sensitive
    • Method Detail

      • matches

        public boolean matches​(Record record)
        Description copied from interface: Query
        Returns true if the given record matches the querys condition.
        Specified by:
        matches in interface Query
        Parameters:
        record - the record to test for compliance.