Documentation ¶
Index ¶
- Variables
- func RegisterFrontendForQuerierServer(s grpc.ServiceRegistrar, srv FrontendForQuerierServer)
- type FrontendForQuerierClient
- type FrontendForQuerierServer
- type QueryResultRequest
- func (*QueryResultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResultRequest) GetHttpResponse() *httpgrpc.HTTPResponse
- func (x *QueryResultRequest) GetQueryID() uint64
- func (x *QueryResultRequest) GetStats() *stats.Stats
- func (m *QueryResultRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *QueryResultRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *QueryResultRequest) MarshalVT() (dAtA []byte, err error)
- func (*QueryResultRequest) ProtoMessage()
- func (x *QueryResultRequest) ProtoReflect() protoreflect.Message
- func (x *QueryResultRequest) Reset()
- func (m *QueryResultRequest) SizeVT() (n int)
- func (x *QueryResultRequest) String() string
- func (m *QueryResultRequest) UnmarshalVT(dAtA []byte) error
- type QueryResultResponse
- func (*QueryResultResponse) Descriptor() ([]byte, []int)deprecated
- func (m *QueryResultResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *QueryResultResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *QueryResultResponse) MarshalVT() (dAtA []byte, err error)
- func (*QueryResultResponse) ProtoMessage()
- func (x *QueryResultResponse) ProtoReflect() protoreflect.Message
- func (x *QueryResultResponse) Reset()
- func (m *QueryResultResponse) SizeVT() (n int)
- func (x *QueryResultResponse) String() string
- func (m *QueryResultResponse) UnmarshalVT(dAtA []byte) error
- type UnimplementedFrontendForQuerierServer
- type UnsafeFrontendForQuerierServer
Constants ¶
This section is empty.
Variables ¶
var File_frontend_frontendpb_frontend_proto protoreflect.FileDescriptor
var FrontendForQuerier_ServiceDesc = grpc.ServiceDesc{ ServiceName: "frontendpb.FrontendForQuerier", HandlerType: (*FrontendForQuerierServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "QueryResult", Handler: _FrontendForQuerier_QueryResult_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "frontend/frontendpb/frontend.proto", }
FrontendForQuerier_ServiceDesc is the grpc.ServiceDesc for FrontendForQuerier service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterFrontendForQuerierServer ¶
func RegisterFrontendForQuerierServer(s grpc.ServiceRegistrar, srv FrontendForQuerierServer)
Types ¶
type FrontendForQuerierClient ¶
type FrontendForQuerierClient interface {
QueryResult(ctx context.Context, in *QueryResultRequest, opts ...grpc.CallOption) (*QueryResultResponse, error)
}
FrontendForQuerierClient is the client API for FrontendForQuerier service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewFrontendForQuerierClient ¶
func NewFrontendForQuerierClient(cc grpc.ClientConnInterface) FrontendForQuerierClient
type FrontendForQuerierServer ¶
type FrontendForQuerierServer interface { QueryResult(context.Context, *QueryResultRequest) (*QueryResultResponse, error) // contains filtered or unexported methods }
FrontendForQuerierServer is the server API for FrontendForQuerier service. All implementations must embed UnimplementedFrontendForQuerierServer for forward compatibility
type QueryResultRequest ¶
type QueryResultRequest struct { QueryID uint64 `protobuf:"varint,1,opt,name=queryID,proto3" json:"queryID,omitempty"` HttpResponse *httpgrpc.HTTPResponse `protobuf:"bytes,2,opt,name=httpResponse,proto3" json:"httpResponse,omitempty"` Stats *stats.Stats `protobuf:"bytes,3,opt,name=stats,proto3" json:"stats,omitempty"` // contains filtered or unexported fields }
func (*QueryResultRequest) Descriptor
deprecated
func (*QueryResultRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryResultRequest.ProtoReflect.Descriptor instead.
func (*QueryResultRequest) GetHttpResponse ¶
func (x *QueryResultRequest) GetHttpResponse() *httpgrpc.HTTPResponse
func (*QueryResultRequest) GetQueryID ¶
func (x *QueryResultRequest) GetQueryID() uint64
func (*QueryResultRequest) GetStats ¶
func (x *QueryResultRequest) GetStats() *stats.Stats
func (*QueryResultRequest) MarshalToSizedBufferVT ¶
func (m *QueryResultRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryResultRequest) MarshalToVT ¶
func (m *QueryResultRequest) MarshalToVT(dAtA []byte) (int, error)
func (*QueryResultRequest) MarshalVT ¶
func (m *QueryResultRequest) MarshalVT() (dAtA []byte, err error)
func (*QueryResultRequest) ProtoMessage ¶
func (*QueryResultRequest) ProtoMessage()
func (*QueryResultRequest) ProtoReflect ¶
func (x *QueryResultRequest) ProtoReflect() protoreflect.Message
func (*QueryResultRequest) Reset ¶
func (x *QueryResultRequest) Reset()
func (*QueryResultRequest) SizeVT ¶
func (m *QueryResultRequest) SizeVT() (n int)
func (*QueryResultRequest) String ¶
func (x *QueryResultRequest) String() string
func (*QueryResultRequest) UnmarshalVT ¶
func (m *QueryResultRequest) UnmarshalVT(dAtA []byte) error
type QueryResultResponse ¶
type QueryResultResponse struct {
// contains filtered or unexported fields
}
func (*QueryResultResponse) Descriptor
deprecated
func (*QueryResultResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResultResponse.ProtoReflect.Descriptor instead.
func (*QueryResultResponse) MarshalToSizedBufferVT ¶
func (m *QueryResultResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryResultResponse) MarshalToVT ¶
func (m *QueryResultResponse) MarshalToVT(dAtA []byte) (int, error)
func (*QueryResultResponse) MarshalVT ¶
func (m *QueryResultResponse) MarshalVT() (dAtA []byte, err error)
func (*QueryResultResponse) ProtoMessage ¶
func (*QueryResultResponse) ProtoMessage()
func (*QueryResultResponse) ProtoReflect ¶
func (x *QueryResultResponse) ProtoReflect() protoreflect.Message
func (*QueryResultResponse) Reset ¶
func (x *QueryResultResponse) Reset()
func (*QueryResultResponse) SizeVT ¶
func (m *QueryResultResponse) SizeVT() (n int)
func (*QueryResultResponse) String ¶
func (x *QueryResultResponse) String() string
func (*QueryResultResponse) UnmarshalVT ¶
func (m *QueryResultResponse) UnmarshalVT(dAtA []byte) error
type UnimplementedFrontendForQuerierServer ¶
type UnimplementedFrontendForQuerierServer struct { }
UnimplementedFrontendForQuerierServer must be embedded to have forward compatible implementations.
func (UnimplementedFrontendForQuerierServer) QueryResult ¶
func (UnimplementedFrontendForQuerierServer) QueryResult(context.Context, *QueryResultRequest) (*QueryResultResponse, error)
type UnsafeFrontendForQuerierServer ¶
type UnsafeFrontendForQuerierServer interface {
// contains filtered or unexported methods
}
UnsafeFrontendForQuerierServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FrontendForQuerierServer will result in compilation errors.