Class StringMatchQuery

java.lang.Object
ghidra.program.database.util.StringMatchQuery
All Implemented Interfaces:
Query

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

    • StringMatchQuery

      public StringMatchQuery(int col, 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 Details

    • matches

      public boolean matches(DBRecord 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.