hservice

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IndexExaminer

type IndexExaminer struct {
	// contains filtered or unexported fields
}

func NewIndexExaminer

func NewIndexExaminer(cli *hasura.Client, query string, v map[string]interface{}) *IndexExaminer

func (*IndexExaminer) CreateIndex

func (ie *IndexExaminer) CreateIndex(name string, it *dmodel.IndexTarget) error

func (*IndexExaminer) DropIndex

func (ie *IndexExaminer) DropIndex(name string, it *dmodel.IndexTarget) error

func (*IndexExaminer) Execute

func (ie *IndexExaminer) Execute() (int64, error)

type IndexGetter

type IndexGetter struct {
	// contains filtered or unexported fields
}

func NewIndexGetter

func NewIndexGetter(cli *hasura.Client) *IndexGetter

func (*IndexGetter) GetIndexes

func (ig *IndexGetter) GetIndexes(dbSchema string, tables []string) ([]*dmodel.IndexTarget, error)

type IndexSuggester

type IndexSuggester struct {
	// contains filtered or unexported fields
}

func NewIndexSuggester

func NewIndexSuggester(cli *hasura.Client) *IndexSuggester

func (*IndexSuggester) Suggest

func (is *IndexSuggester) Suggest(query string) ([]*dmodel.IndexTarget, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL