Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Gen4NotSupportedF ¶
Gen4NotSupportedF returns a common error for shortcomings in the gen4 planner
Types ¶
type SemTable ¶
type SemTable struct { Tables []table // contains filtered or unexported fields }
SemTable contains semantic analysis information about the query.
func (*SemTable) Dependencies ¶
Dependencies return the table dependencies of the expression.
func (*SemTable) TableSetFor ¶
TableSetFor returns the bitmask for this particular tableshoe
type TableSet ¶
type TableSet uint64 // we can only join 64 tables with this underlying data type
TableSet is how a set of tables is expressed. Tables get unique bits assigned in the order that they are encountered during semantic analysis
func (TableSet) Constituents ¶
Constituents returns an slice with all the individual tables in their own TableSet identifier
func (TableSet) IsOverlapping ¶
IsOverlapping returns true if at least one table exists in both sets
func (TableSet) IsSolvedBy ¶
IsSolvedBy returns true if all of `ts` is contained in `b`
func (TableSet) NumberOfTables ¶
NumberOfTables returns the number of bits set