service.go 1.8 KB
Newer Older
1 2 3 4 5
package queryservice

import (
	"google.golang.org/grpc"

X
xige-16 已提交
6
	"github.com/zilliztech/milvus-distributed/internal/proto/internalpb2"
7 8 9 10 11 12
	"github.com/zilliztech/milvus-distributed/internal/proto/querypb"
	queryServiceImpl "github.com/zilliztech/milvus-distributed/internal/queryservice"
)

type Server struct {
	grpcServer   *grpc.Server
X
xige-16 已提交
13 14 15
	queryService queryServiceImpl.Interface
}

N
neza2017 已提交
16
func (s *Server) Init() error {
X
xige-16 已提交
17 18 19
	panic("implement me")
}

N
neza2017 已提交
20
func (s *Server) Start() error {
X
xige-16 已提交
21 22 23
	panic("implement me")
}

N
neza2017 已提交
24
func (s *Server) Stop() error {
X
xige-16 已提交
25 26 27
	panic("implement me")
}

28
func (s *Server) GetComponentStates() (*internalpb2.ComponentStates, error) {
X
xige-16 已提交
29 30 31 32 33 34 35 36 37
	panic("implement me")
}

func (s *Server) GetTimeTickChannel() (string, error) {
	panic("implement me")
}

func (s *Server) GetStatisticsChannel() (string, error) {
	panic("implement me")
38 39 40
}

func (s *Server) RegisterNode(req querypb.RegisterNodeRequest) (querypb.RegisterNodeResponse, error) {
X
xige-16 已提交
41
	panic("implement me")
42 43 44
}

func (s *Server) ShowCollections(req querypb.ShowCollectionRequest) (querypb.ShowCollectionResponse, error) {
X
xige-16 已提交
45
	panic("implement me")
46 47 48
}

func (s *Server) LoadCollection(req querypb.LoadCollectionRequest) error {
X
xige-16 已提交
49
	panic("implement me")
50 51 52
}

func (s *Server) ReleaseCollection(req querypb.ReleaseCollectionRequest) error {
X
xige-16 已提交
53
	panic("implement me")
54 55 56
}

func (s *Server) ShowPartitions(req querypb.ShowPartitionRequest) (querypb.ShowPartitionResponse, error) {
X
xige-16 已提交
57
	panic("implement me")
58 59 60
}

func (s *Server) GetPartitionStates(req querypb.PartitionStatesRequest) (querypb.PartitionStatesResponse, error) {
X
xige-16 已提交
61
	panic("implement me")
62 63 64
}

func (s *Server) LoadPartitions(req querypb.LoadPartitionRequest) error {
X
xige-16 已提交
65
	panic("implement me")
66 67 68
}

func (s *Server) ReleasePartitions(req querypb.ReleasePartitionRequest) error {
X
xige-16 已提交
69
	panic("implement me")
70 71 72
}

func (s *Server) CreateQueryChannel() (querypb.CreateQueryChannelResponse, error) {
X
xige-16 已提交
73
	panic("implement me")
74
}