Class FieldMatchQuery

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

public class FieldMatchQuery extends Object implements Query
Query implementation used to test a field in a record to match a given value.
  • Constructor Details

    • FieldMatchQuery

      public FieldMatchQuery(int column, Field value)
      Constructs a new FieldMatchQuery that tests a records field against a particular value.
      Parameters:
      column - the field index in the record to test.
      value - the Field value to test the record's field against.
  • 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.
      See Also: