Package adql.db
Class CheckContext
java.lang.Object
adql.db.CheckContext
State of the
DBChecker
at one recursion level inside an ADQL query.
An instance of this class aims to list columns and Common Table Expressions (i.e. CTE - temporary tables defined in the WITH clause) available inside a specific ADQL (sub-)query.
- Since:
- 2.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SearchColumnList
List of available columns (of all tables).final SearchTableApi
List of available CTEs at this level. -
Constructor Summary
ConstructorsConstructorDescriptionCheckContext
(SearchTableApi cteTables, SearchColumnList columns) Create a context with the given list of CTEs and columns. -
Method Summary
-
Field Details
-
cteTables
List of available CTEs at this level. -
availableColumns
List of available columns (of all tables).
-
-
Constructor Details
-
CheckContext
Create a context with the given list of CTEs and columns.- Parameters:
cteTables
- All available CTEs. Replaced by an empty list, if NULL.columns
- All available columns. Replaced by an empty list, if NULL.
-
-
Method Details
-
getCopy
Create a deep copy of this context.- Returns:
- Deep copy.
-