Package ghidra.program.database.util
Class FieldMatchQuery
- java.lang.Object
-
- ghidra.program.database.util.FieldMatchQuery
-
-
Constructor Summary
Constructors Constructor Description FieldMatchQuery(int column, Field value)
Constructs a new FieldMatchQuery that tests a records field against a particular value.
-
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.
-
-
-
Constructor Detail
-
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 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 interfaceQuery
- Parameters:
record
- the record to test for compliance.- See Also:
Query.matches(db.Record)
-
-