Do you expect more parameters? As you specify the constants directly here in the interface, you could have executeQuery(String onField, String matching, boolean isWildcard) as well...