Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AnalyzedQuery ¶
type AnalyzedQuery struct { QueryStructure string Complexity PlanComplexity PlanOutput json.RawMessage }
type Output ¶
type Output struct { FileType string `json:"fileType"` PassThrough []AnalyzedQuery `json:"passThrough"` SimpleRouted []AnalyzedQuery `json:"simpleRouted"` Complex []AnalyzedQuery `json:"complex"` Unplannable []AnalyzedQuery `json:"unplannable"` }
func ReadPlanalyzeFile ¶
type PlanComplexity ¶
type PlanComplexity int
const ( PassThrough PlanComplexity = iota SimpleRouted Complex Unplannable )
func (PlanComplexity) String ¶
func (p PlanComplexity) String() string
type Planalyze ¶
type Planalyze struct {
Queries [4][]AnalyzedQuery
}
Planalyze is the main struct for the planalyze tool. It is a size four slice as we have four different types of analyzed queries
Click to show internal directories.
Click to hide internal directories.