Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExaminationIndexResult ¶
type ExaminationIndexResult struct { IndexTarget *IndexTarget ExecutionTimeMillis int64 }
func NewExaminationIndexResult ¶
func NewExaminationIndexResult(it *IndexTarget, time int64) *ExaminationIndexResult
func (*ExaminationIndexResult) ToViewModel ¶
func (eir *ExaminationIndexResult) ToViewModel() *viewmodel.VmExaminationIndexResult
type ExaminationResult ¶
type ExaminationResult struct { OriginalTimeMillis int64 IndexResults []*ExaminationIndexResult }
func NewExaminationResult ¶
func NewExaminationResult(irs []*ExaminationIndexResult, time int64) *ExaminationResult
func (*ExaminationResult) ToViewModel ¶
func (er *ExaminationResult) ToViewModel() *viewmodel.VmExaminationResult
type IndexColumn ¶
type IndexColumn struct {
Name string
}
func NewIndexColumn ¶
func NewIndexColumn(name string) (*IndexColumn, error)
func (*IndexColumn) Equals ¶
func (ic *IndexColumn) Equals(other *IndexColumn) bool
func (*IndexColumn) SafeName ¶
func (ic *IndexColumn) SafeName() string
func (*IndexColumn) ToViewModel ¶
func (ic *IndexColumn) ToViewModel() *viewmodel.VmIndexColumn
type IndexTarget ¶
type IndexTarget struct { TableName string Columns []*IndexColumn }
func NewIndexTarget ¶
func NewIndexTarget(tableName string, columns []string) *IndexTarget
func NewIndexTargetFromText ¶
func NewIndexTargetFromText(text string) (*IndexTarget, error)
func NewIndexTargetsFromTexts ¶
func NewIndexTargetsFromTexts(texts []string) ([]*IndexTarget, error)
func (*IndexTarget) CombinationString ¶
func (it *IndexTarget) CombinationString() string
func (*IndexTarget) Equals ¶
func (it *IndexTarget) Equals(other *IndexTarget) bool
func (*IndexTarget) HasSameIdxColumns ¶
func (it *IndexTarget) HasSameIdxColumns(info *IndexTarget) bool
func (*IndexTarget) IsSafe ¶
func (it *IndexTarget) IsSafe() bool
func (*IndexTarget) ToViewModel ¶
func (it *IndexTarget) ToViewModel() *viewmodel.VmIndexTarget
type SingleTableExplainResult ¶
func (*SingleTableExplainResult) String ¶
func (st *SingleTableExplainResult) String() string
Click to show internal directories.
Click to hide internal directories.