Interface FilterParser<T>
- Type Parameters:
T
- The query criteria type appropriate for the requesting Spring Data repository
- All Known Implementing Classes:
RSQLFilterParser
public interface FilterParser<T>
Parse a String containing a structured list of filter params into the appropriate query criteria
type to be passed to the persistence layer query.
- Author:
- Jeff Fischer
-
Method Summary
-
Method Details
-
parse
Parse a String containing a structured list of filter params into the appropriate query criteria type to be passed to the persistence layer query. Will throw aParseException
if unable to parse the supplied filters string.- Parameters:
filters
- The String containing the structured list of filter params- Returns:
- The query criteria defined by the generic type
- Throws:
ParseException
- if there is an issue parsing the filters
-