Documentation ¶
Index ¶
- func RegisterValdServer(s *grpc.Server, srv ValdServer)
- type UnimplementedValdServer
- func (*UnimplementedValdServer) Exists(ctx context.Context, req *payload.Object_ID) (*payload.Object_ID, error)
- func (*UnimplementedValdServer) GetObject(ctx context.Context, req *payload.Object_ID) (*payload.Backup_MetaVector, error)
- func (*UnimplementedValdServer) Insert(ctx context.Context, req *payload.Object_Vector) (*payload.Empty, error)
- func (*UnimplementedValdServer) MultiInsert(ctx context.Context, req *payload.Object_Vectors) (*payload.Empty, error)
- func (*UnimplementedValdServer) MultiRemove(ctx context.Context, req *payload.Object_IDs) (*payload.Empty, error)
- func (*UnimplementedValdServer) MultiUpdate(ctx context.Context, req *payload.Object_Vectors) (*payload.Empty, error)
- func (*UnimplementedValdServer) MultiUpsert(ctx context.Context, req *payload.Object_Vectors) (*payload.Empty, error)
- func (*UnimplementedValdServer) Remove(ctx context.Context, req *payload.Object_ID) (*payload.Empty, error)
- func (*UnimplementedValdServer) Search(ctx context.Context, req *payload.Search_Request) (*payload.Search_Response, error)
- func (*UnimplementedValdServer) SearchByID(ctx context.Context, req *payload.Search_IDRequest) (*payload.Search_Response, error)
- func (*UnimplementedValdServer) StreamGetObject(srv Vald_StreamGetObjectServer) error
- func (*UnimplementedValdServer) StreamInsert(srv Vald_StreamInsertServer) error
- func (*UnimplementedValdServer) StreamRemove(srv Vald_StreamRemoveServer) error
- func (*UnimplementedValdServer) StreamSearch(srv Vald_StreamSearchServer) error
- func (*UnimplementedValdServer) StreamSearchByID(srv Vald_StreamSearchByIDServer) error
- func (*UnimplementedValdServer) StreamUpdate(srv Vald_StreamUpdateServer) error
- func (*UnimplementedValdServer) StreamUpsert(srv Vald_StreamUpsertServer) error
- func (*UnimplementedValdServer) Update(ctx context.Context, req *payload.Object_Vector) (*payload.Empty, error)
- func (*UnimplementedValdServer) Upsert(ctx context.Context, req *payload.Object_Vector) (*payload.Empty, error)
- type ValdClient
- type ValdServer
- type Vald_StreamGetObjectClient
- type Vald_StreamGetObjectServer
- type Vald_StreamInsertClient
- type Vald_StreamInsertServer
- type Vald_StreamRemoveClient
- type Vald_StreamRemoveServer
- type Vald_StreamSearchByIDClient
- type Vald_StreamSearchByIDServer
- type Vald_StreamSearchClient
- type Vald_StreamSearchServer
- type Vald_StreamUpdateClient
- type Vald_StreamUpdateServer
- type Vald_StreamUpsertClient
- type Vald_StreamUpsertServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterValdServer ¶
func RegisterValdServer(s *grpc.Server, srv ValdServer)
Types ¶
type UnimplementedValdServer ¶
type UnimplementedValdServer struct { }
UnimplementedValdServer can be embedded to have forward compatible implementations.
func (*UnimplementedValdServer) GetObject ¶
func (*UnimplementedValdServer) GetObject(ctx context.Context, req *payload.Object_ID) (*payload.Backup_MetaVector, error)
func (*UnimplementedValdServer) Insert ¶
func (*UnimplementedValdServer) Insert(ctx context.Context, req *payload.Object_Vector) (*payload.Empty, error)
func (*UnimplementedValdServer) MultiInsert ¶
func (*UnimplementedValdServer) MultiInsert(ctx context.Context, req *payload.Object_Vectors) (*payload.Empty, error)
func (*UnimplementedValdServer) MultiRemove ¶
func (*UnimplementedValdServer) MultiRemove(ctx context.Context, req *payload.Object_IDs) (*payload.Empty, error)
func (*UnimplementedValdServer) MultiUpdate ¶
func (*UnimplementedValdServer) MultiUpdate(ctx context.Context, req *payload.Object_Vectors) (*payload.Empty, error)
func (*UnimplementedValdServer) MultiUpsert ¶
func (*UnimplementedValdServer) MultiUpsert(ctx context.Context, req *payload.Object_Vectors) (*payload.Empty, error)
func (*UnimplementedValdServer) Search ¶
func (*UnimplementedValdServer) Search(ctx context.Context, req *payload.Search_Request) (*payload.Search_Response, error)
func (*UnimplementedValdServer) SearchByID ¶
func (*UnimplementedValdServer) SearchByID(ctx context.Context, req *payload.Search_IDRequest) (*payload.Search_Response, error)
func (*UnimplementedValdServer) StreamGetObject ¶
func (*UnimplementedValdServer) StreamGetObject(srv Vald_StreamGetObjectServer) error
func (*UnimplementedValdServer) StreamInsert ¶
func (*UnimplementedValdServer) StreamInsert(srv Vald_StreamInsertServer) error
func (*UnimplementedValdServer) StreamRemove ¶
func (*UnimplementedValdServer) StreamRemove(srv Vald_StreamRemoveServer) error
func (*UnimplementedValdServer) StreamSearch ¶
func (*UnimplementedValdServer) StreamSearch(srv Vald_StreamSearchServer) error
func (*UnimplementedValdServer) StreamSearchByID ¶
func (*UnimplementedValdServer) StreamSearchByID(srv Vald_StreamSearchByIDServer) error
func (*UnimplementedValdServer) StreamUpdate ¶
func (*UnimplementedValdServer) StreamUpdate(srv Vald_StreamUpdateServer) error
func (*UnimplementedValdServer) StreamUpsert ¶
func (*UnimplementedValdServer) StreamUpsert(srv Vald_StreamUpsertServer) error
func (*UnimplementedValdServer) Update ¶
func (*UnimplementedValdServer) Update(ctx context.Context, req *payload.Object_Vector) (*payload.Empty, error)
func (*UnimplementedValdServer) Upsert ¶
func (*UnimplementedValdServer) Upsert(ctx context.Context, req *payload.Object_Vector) (*payload.Empty, error)
type ValdClient ¶
type ValdClient interface { Exists(ctx context.Context, in *payload.Object_ID, opts ...grpc.CallOption) (*payload.Object_ID, error) Search(ctx context.Context, in *payload.Search_Request, opts ...grpc.CallOption) (*payload.Search_Response, error) SearchByID(ctx context.Context, in *payload.Search_IDRequest, opts ...grpc.CallOption) (*payload.Search_Response, error) StreamSearch(ctx context.Context, opts ...grpc.CallOption) (Vald_StreamSearchClient, error) StreamSearchByID(ctx context.Context, opts ...grpc.CallOption) (Vald_StreamSearchByIDClient, error) Insert(ctx context.Context, in *payload.Object_Vector, opts ...grpc.CallOption) (*payload.Empty, error) StreamInsert(ctx context.Context, opts ...grpc.CallOption) (Vald_StreamInsertClient, error) MultiInsert(ctx context.Context, in *payload.Object_Vectors, opts ...grpc.CallOption) (*payload.Empty, error) Update(ctx context.Context, in *payload.Object_Vector, opts ...grpc.CallOption) (*payload.Empty, error) StreamUpdate(ctx context.Context, opts ...grpc.CallOption) (Vald_StreamUpdateClient, error) MultiUpdate(ctx context.Context, in *payload.Object_Vectors, opts ...grpc.CallOption) (*payload.Empty, error) Upsert(ctx context.Context, in *payload.Object_Vector, opts ...grpc.CallOption) (*payload.Empty, error) StreamUpsert(ctx context.Context, opts ...grpc.CallOption) (Vald_StreamUpsertClient, error) MultiUpsert(ctx context.Context, in *payload.Object_Vectors, opts ...grpc.CallOption) (*payload.Empty, error) Remove(ctx context.Context, in *payload.Object_ID, opts ...grpc.CallOption) (*payload.Empty, error) StreamRemove(ctx context.Context, opts ...grpc.CallOption) (Vald_StreamRemoveClient, error) MultiRemove(ctx context.Context, in *payload.Object_IDs, opts ...grpc.CallOption) (*payload.Empty, error) GetObject(ctx context.Context, in *payload.Object_ID, opts ...grpc.CallOption) (*payload.Backup_MetaVector, error) StreamGetObject(ctx context.Context, opts ...grpc.CallOption) (Vald_StreamGetObjectClient, error) }
ValdClient is the client API for Vald service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewValdClient ¶
func NewValdClient(cc *grpc.ClientConn) ValdClient
type ValdServer ¶
type ValdServer interface { Exists(context.Context, *payload.Object_ID) (*payload.Object_ID, error) Search(context.Context, *payload.Search_Request) (*payload.Search_Response, error) SearchByID(context.Context, *payload.Search_IDRequest) (*payload.Search_Response, error) StreamSearch(Vald_StreamSearchServer) error StreamSearchByID(Vald_StreamSearchByIDServer) error Insert(context.Context, *payload.Object_Vector) (*payload.Empty, error) StreamInsert(Vald_StreamInsertServer) error MultiInsert(context.Context, *payload.Object_Vectors) (*payload.Empty, error) Update(context.Context, *payload.Object_Vector) (*payload.Empty, error) StreamUpdate(Vald_StreamUpdateServer) error MultiUpdate(context.Context, *payload.Object_Vectors) (*payload.Empty, error) Upsert(context.Context, *payload.Object_Vector) (*payload.Empty, error) StreamUpsert(Vald_StreamUpsertServer) error MultiUpsert(context.Context, *payload.Object_Vectors) (*payload.Empty, error) Remove(context.Context, *payload.Object_ID) (*payload.Empty, error) StreamRemove(Vald_StreamRemoveServer) error MultiRemove(context.Context, *payload.Object_IDs) (*payload.Empty, error) GetObject(context.Context, *payload.Object_ID) (*payload.Backup_MetaVector, error) StreamGetObject(Vald_StreamGetObjectServer) error }
ValdServer is the server API for Vald service.
type Vald_StreamGetObjectClient ¶
type Vald_StreamGetObjectClient interface { Send(*payload.Object_ID) error Recv() (*payload.Backup_MetaVector, error) grpc.ClientStream }
type Vald_StreamGetObjectServer ¶
type Vald_StreamGetObjectServer interface { Send(*payload.Backup_MetaVector) error Recv() (*payload.Object_ID, error) grpc.ServerStream }
type Vald_StreamInsertClient ¶
type Vald_StreamInsertClient interface { Send(*payload.Object_Vector) error Recv() (*payload.Empty, error) grpc.ClientStream }
type Vald_StreamInsertServer ¶
type Vald_StreamInsertServer interface { Send(*payload.Empty) error Recv() (*payload.Object_Vector, error) grpc.ServerStream }
type Vald_StreamRemoveClient ¶
type Vald_StreamRemoveServer ¶
type Vald_StreamSearchByIDClient ¶
type Vald_StreamSearchByIDClient interface { Send(*payload.Search_IDRequest) error Recv() (*payload.Search_Response, error) grpc.ClientStream }
type Vald_StreamSearchByIDServer ¶
type Vald_StreamSearchByIDServer interface { Send(*payload.Search_Response) error Recv() (*payload.Search_IDRequest, error) grpc.ServerStream }
type Vald_StreamSearchClient ¶
type Vald_StreamSearchClient interface { Send(*payload.Search_Request) error Recv() (*payload.Search_Response, error) grpc.ClientStream }
type Vald_StreamSearchServer ¶
type Vald_StreamSearchServer interface { Send(*payload.Search_Response) error Recv() (*payload.Search_Request, error) grpc.ServerStream }
type Vald_StreamUpdateClient ¶
type Vald_StreamUpdateClient interface { Send(*payload.Object_Vector) error Recv() (*payload.Empty, error) grpc.ClientStream }
type Vald_StreamUpdateServer ¶
type Vald_StreamUpdateServer interface { Send(*payload.Empty) error Recv() (*payload.Object_Vector, error) grpc.ServerStream }
type Vald_StreamUpsertClient ¶
type Vald_StreamUpsertClient interface { Send(*payload.Object_Vector) error Recv() (*payload.Empty, error) grpc.ClientStream }
type Vald_StreamUpsertServer ¶
type Vald_StreamUpsertServer interface { Send(*payload.Empty) error Recv() (*payload.Object_Vector, error) grpc.ServerStream }
Click to show internal directories.
Click to hide internal directories.