public class LatticeSuggester extends Object
Algorithm that suggests a set of lattices.
(FrameworkConfig config)Creates a LatticeSuggester.
getLatticeSetReturns the minimal set of lattices necessary to cover all of the queries seen. Any lattices that are subsumed by other lattices are not included.
toRexConverts a column reference to an expression.
addQueryAdds a query.
It may fit within an existing lattice (or lattices). Or it may need a new lattice, or an extension to an existing lattice.
r- Relational expression for a query
- A list of join graphs: usually 1; more if the query contains a cartesian product; zero if the query graph is cyclic