2021-01-15 15:28:54 +08:00
|
|
|
package queryservice
|
|
|
|
|
|
|
|
import (
|
|
|
|
"google.golang.org/grpc"
|
|
|
|
|
2021-01-16 15:31:10 +08:00
|
|
|
"github.com/zilliztech/milvus-distributed/internal/proto/internalpb2"
|
2021-01-15 15:28:54 +08:00
|
|
|
"github.com/zilliztech/milvus-distributed/internal/proto/querypb"
|
|
|
|
queryServiceImpl "github.com/zilliztech/milvus-distributed/internal/queryservice"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Server struct {
|
|
|
|
grpcServer *grpc.Server
|
2021-01-16 15:31:10 +08:00
|
|
|
queryService queryServiceImpl.Interface
|
|
|
|
}
|
|
|
|
|
2021-01-21 10:01:29 +08:00
|
|
|
func (s *Server) Init() error {
|
2021-01-16 15:31:10 +08:00
|
|
|
panic("implement me")
|
|
|
|
}
|
|
|
|
|
2021-01-21 10:01:29 +08:00
|
|
|
func (s *Server) Start() error {
|
2021-01-16 15:31:10 +08:00
|
|
|
panic("implement me")
|
|
|
|
}
|
|
|
|
|
2021-01-21 10:01:29 +08:00
|
|
|
func (s *Server) Stop() error {
|
2021-01-16 15:31:10 +08:00
|
|
|
panic("implement me")
|
|
|
|
}
|
|
|
|
|
2021-01-20 11:02:29 +08:00
|
|
|
func (s *Server) GetComponentStates() (*internalpb2.ComponentStates, error) {
|
2021-01-16 15:31:10 +08:00
|
|
|
panic("implement me")
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *Server) GetTimeTickChannel() (string, error) {
|
|
|
|
panic("implement me")
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *Server) GetStatisticsChannel() (string, error) {
|
|
|
|
panic("implement me")
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (s *Server) RegisterNode(req querypb.RegisterNodeRequest) (querypb.RegisterNodeResponse, error) {
|
2021-01-16 15:31:10 +08:00
|
|
|
panic("implement me")
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (s *Server) ShowCollections(req querypb.ShowCollectionRequest) (querypb.ShowCollectionResponse, error) {
|
2021-01-16 15:31:10 +08:00
|
|
|
panic("implement me")
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (s *Server) LoadCollection(req querypb.LoadCollectionRequest) error {
|
2021-01-16 15:31:10 +08:00
|
|
|
panic("implement me")
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (s *Server) ReleaseCollection(req querypb.ReleaseCollectionRequest) error {
|
2021-01-16 15:31:10 +08:00
|
|
|
panic("implement me")
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (s *Server) ShowPartitions(req querypb.ShowPartitionRequest) (querypb.ShowPartitionResponse, error) {
|
2021-01-16 15:31:10 +08:00
|
|
|
panic("implement me")
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (s *Server) GetPartitionStates(req querypb.PartitionStatesRequest) (querypb.PartitionStatesResponse, error) {
|
2021-01-16 15:31:10 +08:00
|
|
|
panic("implement me")
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (s *Server) LoadPartitions(req querypb.LoadPartitionRequest) error {
|
2021-01-16 15:31:10 +08:00
|
|
|
panic("implement me")
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (s *Server) ReleasePartitions(req querypb.ReleasePartitionRequest) error {
|
2021-01-16 15:31:10 +08:00
|
|
|
panic("implement me")
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (s *Server) CreateQueryChannel() (querypb.CreateQueryChannelResponse, error) {
|
2021-01-16 15:31:10 +08:00
|
|
|
panic("implement me")
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|