Package ghidra.program.database.util

# 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 Summary

  Constructors
  Constructor
  Description
  `StringMatchQuery(int col, String searchString, boolean caseSensitive)`
  Construct a new StringMatchQuery

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `matches(DBRecord 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 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.