Package adql.parser
Interface QueryChecker
- All Known Implementing Classes:
DBChecker
public interface QueryChecker
Used at the end of the parsing of each ADQL query by the
ADQLParser, to check the generated ADQLSet
object.
Usually, it consists to check the existence of referenced columns and
tables. In this case, one default implementation of this interface can be
used: DBChecker
-
Method Summary
-
Method Details
-
check
Checks the givenADQLSet.IMPORTANT NOTE: All subqueries must also be checked when calling this function!
If the query is correct, nothing happens. However at the first detected error, a
ParseExceptionis thrown.- Parameters:
query- The query to check.- Throws:
ParseException- If the given query is not correct.
-