if i have a txt file contain the following :
select [epl | liga | epl or liga | liga or epl] where [subqueries]
select epl where Goals > 2
select epl or liga where Goals > 2 and Goals < 5 and Assists > 0.1
select epl where Matches != 2 and Matches != 4 and Matches != 6 and PKAttempts > 0
select epl or liga where Goals > 5 and Goals <= 6 and Minutes >= 1245
select liga where Goals = 12 and OwnGoals > 0
i want to read what is after where (subqueries) what to do?
the following method should do so
/**
* 1 - receives the List of Strings, each is a single token
* 2 - assesses their content, creates the relevant Query & SubQuery objects
* 3 - and then returns a List of the Query objects
*
* @param queryTokens The List of tokenized Strings from the readQueryFile method
* @return List of all Query objects
* @throws IllegalArgumentException if the provided query tokens are invalid (e.g. non-numbers
* as boundary values, invalid operators, etc)
*/
public abstract List<Query> readQueries(List<String> queryTokens) throws IllegalArgumentException;