| Modifier and Type | Field and Description |
|---|---|
| private boolean[] | |
| private ArrayListIdentity | |
| private Table | |
| pack-priv Expression | |
| pack-priv int[] | |
| pack-priv int | |
| pack-priv HsqlArrayList | |
| pack-priv Expression[] | |
| private int | |
| public Index | |
| pack-priv GroupSet | |
| private int | |
| public int | |
| private int | |
| private int | |
| public int | |
| public int | |
| private int | |
| public int | |
| public boolean | |
| pack-priv boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| private boolean | |
| public boolean | |
| private boolean | |
| public boolean | |
| private RangeGroup[] | |
| pack-priv Expression | |
| private HsqlArrayList | |
| pack-priv RangeVariable[] | |
| private ArrayListIdentity | |
| pack-priv Type[] | |
| public int | |
| pack-priv int | |
| private OrderedHashSet |
| Access | Constructor and Description |
|---|---|
| pack-priv | QuerySpecification(Session session, Table table, ParserDQL.
|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| public void | |
| pack-priv void | addGroupingExpressions(Expression[] nodes, OrderedHashSet<Expression> set)
collect all expressions in an extended group by expression set the flags for grouping set and group by |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public boolean | |
| private Result | |
| pack-priv void | |
| public OrderedHashSet | collectAllExpressions(OrderedHashSet<Expression> set, OrderedIntHashSet typeSet, OrderedIntHashSet stopAtTypeSet)
Overrides org.
|
| public void | |
| public OrderedHashSet | |
| pack-priv OrderedHashSet | collectRangeVariables(RangeVariable[] rangeVars, OrderedHashSet<RangeVariable> set)
Overrides org.
|
| pack-priv OrderedHashSet | |
| private HashSet | |
| private void | |
| private void | |
| pack-priv void | |
| pack-priv void | |
| public String | |
| private void | |
| private HashSet | |
| public Table | |
| public int[] | |
| pack-priv void | |
| public Expression | |
| public int | |
| public String[] | |
| public Type[] | |
| public int | |
| public Expression | |
| public ResultMetaData | |
| public RangeVariable[] | getRangeVariables()
Overrides org. Implements org.
|
| pack-priv Result | Returns: the result of executing this Selectmay be 0 to indicate no limit on the number of rows.
Positive values limit the size of the result set. maxRows)Overrides org. Returns the result of executing this Select. |
| private void | |
| public String | |
| public OrderedHashSet | |
| public TableDerived | |
| public boolean | |
| pack-priv boolean | isEquivalent(QueryExpression other)
Overrides org. returns true if almost equivalent |
| public boolean | |
| pack-priv void | mergeQuery(Session session)
isBaseMergeable is simply a flag to allow merging the current query isMergeable is a flag to allow this to act as base for a query |
| private int | |
| public void | replaceColumnReferences(Session session, RangeVariable range, Expression[] list)
Overrides org.
|
| public void | replaceExpressions(OrderedHashSet<Expression> expressions, int resultRangePosition)
Overrides org. non-working temp code for replacing aggregate functions with simple column |
| public void | replaceRangeVariables(RangeVariable[] ranges, RangeVariable[] newRanges)
Overrides org.
|
| private void | |
| private void | resolveColumnReferences(Session session, RangeGroup[] rangeGroups)
Resolves all column expressions in the GROUP BY clause and beyond. |
| private boolean | |
| private void | resolveColumnReferencesAndAllocate(Session session, Expression expression, int rangeCount, RangeGroup[] rangeGroups, boolean withSequences)
|
| private void | |
| pack-priv void | resolveColumnReferencesInGroupingSets(Session session, RangeGroup[] rangeGroups)
fully resolve all group by columns add each group by expression to exprColumnList |
| pack-priv void | resolveColumnReferencesInOrderBy(Session session, RangeGroup[] rangeGroups, SortAndSlice sortAndSlice)
|
| public void | resolveExpressionTypes(Session session)
Sets the types of all the expressions used in this SELECT list. |
| pack-priv boolean | |
| public void | resolveGroupingSets()
replace all expressions in select list and having condition with pointers to columns for group by and aggregate expressions |
| private void | |
| private void | |
| public void | resolveReferences(Session session, RangeGroup[] rangeGroups)
Overrides org.
|
| public void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | resolveTypesPartTwoRecursive(Session session)
Overrides org. additional resolution for union |
| private void | |
| pack-priv void | |
| private void | |
| private void | |
| pack-priv void | |
| pack-priv void | |
| private void | |
| pack-priv void | |
| private void | |
| pack-priv void | |
| private void | |
| private void | |
| public void | |
| pack-priv void | setReturningResultSet()
Overrides org. Sets the scope to SESSION for the QueryExpression object that creates the table |
| pack-priv void |
| aggregateCheck | back to summary |
|---|---|
| private boolean[] aggregateCheck | |
| aggregateList | back to summary |
|---|---|
| private ArrayListIdentity<Expression> aggregateList | |
| baseTable | back to summary |
|---|---|
| private Table baseTable | |
| checkQueryCondition | back to summary |
|---|---|
| pack-priv Expression checkQueryCondition | |
| columnMap | back to summary |
|---|---|
| pack-priv int[] columnMap | |
| endInnerRange | back to summary |
|---|---|
| pack-priv int endInnerRange | |
| exprColumnList | back to summary |
|---|---|
| pack-priv HsqlArrayList<Expression> exprColumnList | |
| exprColumns | back to summary |
|---|---|
| pack-priv Expression[] exprColumns | |
| groupByColumnCount | back to summary |
|---|---|
| private int groupByColumnCount | |
| groupIndex | back to summary |
|---|---|
| public Index groupIndex | |
| groupSet | back to summary |
|---|---|
| pack-priv GroupSet groupSet | |
| havingColumnCount | back to summary |
|---|---|
| private int havingColumnCount | |
| indexLimitData | back to summary |
|---|---|
| public int indexLimitData | |
| indexLimitExpressions | back to summary |
|---|---|
| private int indexLimitExpressions | |
| indexLimitRowId | back to summary |
|---|---|
| private int indexLimitRowId | |
| indexLimitVisible | back to summary |
|---|---|
| public int indexLimitVisible | |
| indexStartAggregates | back to summary |
|---|---|
| public int indexStartAggregates | |
| indexStartHaving | back to summary |
|---|---|
| private int indexStartHaving | |
| indexStartOrderBy | back to summary |
|---|---|
| public int indexStartOrderBy | |
| isAggregated | back to summary |
|---|---|
| public boolean isAggregated | |
| isDistinctGroups | back to summary |
|---|---|
| pack-priv boolean isDistinctGroups | |
| isDistinctSelect | back to summary |
|---|---|
| public boolean isDistinctSelect | |
| isGrouped | back to summary |
|---|---|
| public boolean isGrouped | |
| isGroupingSets | back to summary |
|---|---|
| public boolean isGroupingSets | |
| isOrderSensitive | back to summary |
|---|---|
| public boolean isOrderSensitive | |
| isSimpleCount | back to summary |
|---|---|
| private boolean isSimpleCount | |
| isSimpleDistinct | back to summary |
|---|---|
| public boolean isSimpleDistinct | |
| isSingleMemoryTable | back to summary |
|---|---|
| private boolean isSingleMemoryTable | |
| isUniqueResultRows | back to summary |
|---|---|
| public boolean isUniqueResultRows | |
| outerRanges | back to summary |
|---|---|
| private RangeGroup[] outerRanges | |
| queryCondition | back to summary |
|---|---|
| pack-priv Expression queryCondition | |
| rangeVariableList | back to summary |
|---|---|
| private HsqlArrayList<RangeVariable> rangeVariableList | |
| rangeVariables | back to summary |
|---|---|
| pack-priv RangeVariable[] rangeVariables | |
| resolvedSubqueryExpressions | back to summary |
|---|---|
| private ArrayListIdentity<Expression> resolvedSubqueryExpressions | |
| resultColumnTypes | back to summary |
|---|---|
| pack-priv Type[] resultColumnTypes | |
| resultRangePosition | back to summary |
|---|---|
| public int resultRangePosition | |
| startInnerRange | back to summary |
|---|---|
| pack-priv int startInnerRange | |
| tempSet | back to summary |
|---|---|
| private OrderedHashSet<Expression> tempSet | |
| QuerySpecification | back to summary |
|---|---|
| pack-priv QuerySpecification(Session session, Table table, ParserDQL. | |
| QuerySpecification | back to summary |
|---|---|
| pack-priv QuerySpecification(ParserDQL. | |
| addAggregateToList | back to summary |
|---|---|
| private void addAggregateToList(Expression parent, Expression e) | |
| addAllJoinedColumns | back to summary |
|---|---|
| private void addAllJoinedColumns(Expression e) | |
| addExtraConditions | back to summary |
|---|---|
| public void addExtraConditions(Expression e) | |
| addGroupingExpressions | back to summary |
|---|---|
| pack-priv void addGroupingExpressions(Expression[] nodes, OrderedHashSet<Expression> set) collect all expressions in an extended group by expression set the flags for grouping set and group by | |
| addGroupingSets | back to summary |
|---|---|
| pack-priv void addGroupingSets(Expression[] groupingExpressions) | |
| addHavingExpression | back to summary |
|---|---|
| pack-priv void addHavingExpression(Expression e) | |
| addQueryCondition | back to summary |
|---|---|
| pack-priv void addQueryCondition(Expression e) | |
| addRangeVariable | back to summary |
|---|---|
| pack-priv void addRangeVariable(Session session, RangeVariable rangeVar) | |
| addSelectColumnExpression | back to summary |
|---|---|
| pack-priv void addSelectColumnExpression(Expression e) | |
| addSortAndSlice | back to summary |
|---|---|
| pack-priv void addSortAndSlice(SortAndSlice sortAndSlice) Overrides org. | |
| areColumnsResolved | back to summary |
|---|---|
| public boolean areColumnsResolved() | |
| buildResult | back to summary |
|---|---|
| private Result buildResult(Session session, RowSetNavigatorData navigator, int skipCount, int limitCount) | |
| checkLobUsage | back to summary |
|---|---|
| pack-priv void checkLobUsage() | |
| collectAllExpressions | back to summary |
|---|---|
| public OrderedHashSet | |
| collectObjectNames | back to summary |
|---|---|
| public void collectObjectNames(Set<HsqlNameManager. | |
| collectOuterColumnExpressions | back to summary |
|---|---|
| public OrderedHashSet | |
| collectRangeVariables | back to summary |
|---|---|
| pack-priv OrderedHashSet | |
| collectRangeVariables | back to summary |
|---|---|
| pack-priv OrderedHashSet | |
| collectReferencesInSubQueries | back to summary |
|---|---|
| private HashSet | |
| createFullIndex | back to summary |
|---|---|
| private void createFullIndex(Session session) | |
| createResultMetaData | back to summary |
|---|---|
| private void createResultMetaData(Session session) | |
| createResultTable | back to summary |
|---|---|
| pack-priv void createResultTable(Session session) Overrides org. | |
| createTable | back to summary |
|---|---|
| pack-priv void createTable(Session session) Overrides org. | |
| describe | back to summary |
|---|---|
| public String describe(Session session, int blanks) Overrides org. | |
| finaliseColumns | back to summary |
|---|---|
| private void finaliseColumns() | |
| getAllNamedJoinColumns | back to summary |
|---|---|
| private HashSet | |
| getBaseTable | back to summary |
|---|---|
| public Table getBaseTable() Overrides org. | |
| getBaseTableColumnMap | back to summary |
|---|---|
| public int[] getBaseTableColumnMap() | |
| getBaseTableNames | back to summary |
|---|---|
| pack-priv void getBaseTableNames(OrderedHashSet<HsqlNameManager. Overrides org. | |
| getCheckCondition | back to summary |
|---|---|
| public Expression getCheckCondition() Overrides org. | |
| getColumnCount | back to summary |
|---|---|
| public int getColumnCount() Overrides org. | |
| getColumnNames | back to summary |
|---|---|
| public String[] getColumnNames() Overrides org. | |
| getColumnTypes | back to summary |
|---|---|
| public Type[] getColumnTypes() Overrides org. | |
| getCurrentRangeVariableCount | back to summary |
|---|---|
| public int getCurrentRangeVariableCount() | |
| getEquiJoinExpressions | back to summary |
|---|---|
| public Expression getEquiJoinExpressions(OrderedHashSet<String> nameSet, RangeVariable rightRange, boolean fullList) | |
| getMetaData | back to summary |
|---|---|
| public ResultMetaData getMetaData() Overrides org. | |
| getRangeVariables | back to summary |
|---|---|
| public RangeVariable[] getRangeVariables() Overrides org. Implements org. | |
| getResult | back to summary |
|---|---|
| pack-priv Result getResult(Session session, int maxRows) Overrides org. Returns the result of executing this Select.
| |
| getSimpleCountResult | back to summary |
|---|---|
| private void getSimpleCountResult(Session session, RowSetNavigatorData navigator) | |
| getSQL | back to summary |
|---|---|
| public String getSQL() | |
| getSubqueries | back to summary |
|---|---|
| public OrderedHashSet Overrides org. | |
| getValueListTable | back to summary |
|---|---|
| public TableDerived getValueListTable() | |
| hasReference | back to summary |
|---|---|
| public boolean hasReference(RangeVariable range) Overrides org. | |
| isEquivalent | back to summary |
|---|---|
| pack-priv boolean isEquivalent(QueryExpression other) Overrides org. returns true if almost equivalent | |
| isSingleColumn | back to summary |
|---|---|
| public boolean isSingleColumn() Overrides org. | |
| mergeQuery | back to summary |
|---|---|
| pack-priv void mergeQuery(Session session) isBaseMergeable is simply a flag to allow merging the current query isMergeable is a flag to allow this to act as base for a query | |
| replaceColumnIndexInOrderBy | back to summary |
|---|---|
| private int replaceColumnIndexInOrderBy(Expression orderBy) | |
| replaceColumnReferences | back to summary |
|---|---|
| public void replaceColumnReferences(Session session, RangeVariable range, Expression[] list) Overrides org. | |
| replaceExpressions | back to summary |
|---|---|
| public void replaceExpressions(OrderedHashSet<Expression> expressions, int resultRangePosition) Overrides org. Doc from org. non-working temp code for replacing aggregate functions with simple column | |
| replaceRangeVariables | back to summary |
|---|---|
| public void replaceRangeVariables(RangeVariable[] ranges, RangeVariable[] newRanges) | |
| resolveAggregates | back to summary |
|---|---|
| private void resolveAggregates() | |
| resolveColumnReferences | back to summary |
|---|---|
| private void resolveColumnReferences(Session session, RangeGroup[] rangeGroups) Resolves all column expressions in the GROUP BY clause and beyond. Replaces any alias column expression in the ORDER BY clause with the actual select column expression. | |
| resolveColumnReferences | back to summary |
|---|---|
| private boolean resolveColumnReferences(Session session, Expression e, int rangeCount, boolean withSequences) | |
| resolveColumnReferencesAndAllocate | back to summary |
|---|---|
| private void resolveColumnReferencesAndAllocate(Session session, Expression expression, int rangeCount, RangeGroup[] rangeGroups, boolean withSequences) | |
| resolveColumnReferencesForAsterisk | back to summary |
|---|---|
| private void resolveColumnReferencesForAsterisk() | |
| resolveColumnReferencesInGroupingSets | back to summary |
|---|---|
| pack-priv void resolveColumnReferencesInGroupingSets(Session session, RangeGroup[] rangeGroups) fully resolve all group by columns add each group by expression to exprColumnList | |
| resolveColumnReferencesInOrderBy | back to summary |
|---|---|
| pack-priv void resolveColumnReferencesInOrderBy(Session session, RangeGroup[] rangeGroups, SortAndSlice sortAndSlice) | |
| resolveExpressionTypes | back to summary |
|---|---|
| public void resolveExpressionTypes(Session session) Sets the types of all the expressions used in this SELECT list. | |
| resolveForGroupBy | back to summary |
|---|---|
| pack-priv boolean resolveForGroupBy(List<Expression> unresolvedSet) | |
| resolveGroupingSets | back to summary |
|---|---|
| public void resolveGroupingSets() replace all expressions in select list and having condition with pointers to columns for group by and aggregate expressions | |
| resolveGroups | back to summary |
|---|---|
| private void resolveGroups() | |
| resolveRangeVariables | back to summary |
|---|---|
| private void resolveRangeVariables(Session session, RangeGroup[] rangeGroups) | |
| resolveReferences | back to summary |
|---|---|
| public void resolveReferences(Session session, RangeGroup[] rangeGroups) Overrides org. | |
| resolveTypes | back to summary |
|---|---|
| public void resolveTypes(Session session) Overrides org. | |
| resolveTypesPartOne | back to summary |
|---|---|
| pack-priv void resolveTypesPartOne(Session session) | |
| resolveTypesPartThree | back to summary |
|---|---|
| pack-priv void resolveTypesPartThree(Session session) | |
| resolveTypesPartTwo | back to summary |
|---|---|
| pack-priv void resolveTypesPartTwo(Session session) | |
| resolveTypesPartTwoRecursive | back to summary |
|---|---|
| pack-priv void resolveTypesPartTwoRecursive(Session session) Overrides org. additional resolution for union | |
| setAggregateConditions | back to summary |
|---|---|
| private void setAggregateConditions(Session session) | |
| setColumnAliases | back to summary |
|---|---|
| pack-priv void setColumnAliases(HsqlNameManager. | |
| setColumnIndexes | back to summary |
|---|---|
| private void setColumnIndexes() | |
| setDistinctConditions | back to summary |
|---|---|
| private void setDistinctConditions(Session session) | |
| setDistinctGroups | back to summary |
|---|---|
| pack-priv void setDistinctGroups() | |
| setDistinctSelect | back to summary |
|---|---|
| pack-priv void setDistinctSelect() | |
| setGroupedAggregateConditions | back to summary |
|---|---|
| private void setGroupedAggregateConditions(Session session) | |
| setMergeability | back to summary |
|---|---|
| pack-priv void setMergeability() | |
| setRangeVariableConditions | back to summary |
|---|---|
| private void setRangeVariableConditions(Session session) | |
| setReferenceableColumns | back to summary |
|---|---|
| pack-priv void setReferenceableColumns() | |
| setResultColumnTypes | back to summary |
|---|---|
| private void setResultColumnTypes() | |
| setResultNullability | back to summary |
|---|---|
| private void setResultNullability() | |
| setReturningResult | back to summary |
|---|---|
| public void setReturningResult() Overrides org. Not for views. Only used on root node. | |
| setReturningResultSet | back to summary |
|---|---|
| pack-priv void setReturningResultSet() Overrides org. Doc from org. Sets the scope to SESSION for the QueryExpression object that creates the table | |
| setUpdatability | back to summary |
|---|---|
| pack-priv void setUpdatability(Session session) | |