Package org.h2.command.query
Class AllColumnsForPlan
- java.lang.Object
-
- org.h2.command.query.AllColumnsForPlan
-
public class AllColumnsForPlan extends java.lang.Object
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 Modifier and Type Field Description private TableFilter[]
filters
private java.util.HashMap<Table,java.util.ArrayList<Column>>
map
-
Constructor Summary
Constructors Constructor Description AllColumnsForPlan(TableFilter[] filters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Column newCol)
Called by ExpressionVisitor.java.util.ArrayList<Column>
get(Table table)
Used by index to calculate the cost of a scan.
-
-
-
Field Detail
-
filters
private final TableFilter[] filters
-
-
Constructor Detail
-
AllColumnsForPlan
public AllColumnsForPlan(TableFilter[] filters)
-
-