Package org.h2.command.query
Class AllColumnsForPlan
java.lang.Object
org.h2.command.query.AllColumnsForPlan
This information is expensive to compute for large queries, so do so
on-demand. Also store the information pre-mapped by table to avoid expensive
traversal.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
filters
-
map
-
-
Constructor Details
-
AllColumnsForPlan
-
-
Method Details
-
add
Called by ExpressionVisitor.- Parameters:
newCol
- new column to be added.
-
get
Used by index to calculate the cost of a scan.- Parameters:
table
- the table.- Returns:
- all table's referenced columns.
-