Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterScriptingServiceServer(s grpc.ServiceRegistrar, srv ScriptingServiceServer)
- type ScriptingServiceClient
- type ScriptingServiceServer
- type ScriptingService_StreamExecuteYqlClient
- type ScriptingService_StreamExecuteYqlServer
- type UnimplementedScriptingServiceServer
- func (UnimplementedScriptingServiceServer) ExecuteYql(context.Context, *Ydb_Scripting.ExecuteYqlRequest) (*Ydb_Scripting.ExecuteYqlResponse, error)
- func (UnimplementedScriptingServiceServer) ExplainYql(context.Context, *Ydb_Scripting.ExplainYqlRequest) (*Ydb_Scripting.ExplainYqlResponse, error)
- func (UnimplementedScriptingServiceServer) StreamExecuteYql(*Ydb_Scripting.ExecuteYqlRequest, ScriptingService_StreamExecuteYqlServer) error
- type UnsafeScriptingServiceServer
Constants ¶
const ( ScriptingService_ExecuteYql_FullMethodName = "/Ydb.Scripting.V1.ScriptingService/ExecuteYql" ScriptingService_StreamExecuteYql_FullMethodName = "/Ydb.Scripting.V1.ScriptingService/StreamExecuteYql" ScriptingService_ExplainYql_FullMethodName = "/Ydb.Scripting.V1.ScriptingService/ExplainYql" )
Variables ¶
var File_ydb_scripting_v1_proto protoreflect.FileDescriptor
var ScriptingService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Ydb.Scripting.V1.ScriptingService", HandlerType: (*ScriptingServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ExecuteYql", Handler: _ScriptingService_ExecuteYql_Handler, }, { MethodName: "ExplainYql", Handler: _ScriptingService_ExplainYql_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamExecuteYql", Handler: _ScriptingService_StreamExecuteYql_Handler, ServerStreams: true, }, }, Metadata: "ydb_scripting_v1.proto", }
ScriptingService_ServiceDesc is the grpc.ServiceDesc for ScriptingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterScriptingServiceServer ¶
func RegisterScriptingServiceServer(s grpc.ServiceRegistrar, srv ScriptingServiceServer)
Types ¶
type ScriptingServiceClient ¶
type ScriptingServiceClient interface { ExecuteYql(ctx context.Context, in *Ydb_Scripting.ExecuteYqlRequest, opts ...grpc.CallOption) (*Ydb_Scripting.ExecuteYqlResponse, error) // Executes yql request with streaming result. StreamExecuteYql(ctx context.Context, in *Ydb_Scripting.ExecuteYqlRequest, opts ...grpc.CallOption) (ScriptingService_StreamExecuteYqlClient, error) ExplainYql(ctx context.Context, in *Ydb_Scripting.ExplainYqlRequest, opts ...grpc.CallOption) (*Ydb_Scripting.ExplainYqlResponse, error) }
ScriptingServiceClient is the client API for ScriptingService 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 NewScriptingServiceClient ¶
func NewScriptingServiceClient(cc grpc.ClientConnInterface) ScriptingServiceClient
type ScriptingServiceServer ¶
type ScriptingServiceServer interface { ExecuteYql(context.Context, *Ydb_Scripting.ExecuteYqlRequest) (*Ydb_Scripting.ExecuteYqlResponse, error) // Executes yql request with streaming result. StreamExecuteYql(*Ydb_Scripting.ExecuteYqlRequest, ScriptingService_StreamExecuteYqlServer) error ExplainYql(context.Context, *Ydb_Scripting.ExplainYqlRequest) (*Ydb_Scripting.ExplainYqlResponse, error) // contains filtered or unexported methods }
ScriptingServiceServer is the server API for ScriptingService service. All implementations must embed UnimplementedScriptingServiceServer for forward compatibility
type ScriptingService_StreamExecuteYqlClient ¶
type ScriptingService_StreamExecuteYqlClient interface { Recv() (*Ydb_Scripting.ExecuteYqlPartialResponse, error) grpc.ClientStream }
type ScriptingService_StreamExecuteYqlServer ¶
type ScriptingService_StreamExecuteYqlServer interface { Send(*Ydb_Scripting.ExecuteYqlPartialResponse) error grpc.ServerStream }
type UnimplementedScriptingServiceServer ¶
type UnimplementedScriptingServiceServer struct { }
UnimplementedScriptingServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedScriptingServiceServer) ExecuteYql ¶
func (UnimplementedScriptingServiceServer) ExecuteYql(context.Context, *Ydb_Scripting.ExecuteYqlRequest) (*Ydb_Scripting.ExecuteYqlResponse, error)
func (UnimplementedScriptingServiceServer) ExplainYql ¶
func (UnimplementedScriptingServiceServer) ExplainYql(context.Context, *Ydb_Scripting.ExplainYqlRequest) (*Ydb_Scripting.ExplainYqlResponse, error)
func (UnimplementedScriptingServiceServer) StreamExecuteYql ¶
func (UnimplementedScriptingServiceServer) StreamExecuteYql(*Ydb_Scripting.ExecuteYqlRequest, ScriptingService_StreamExecuteYqlServer) error
type UnsafeScriptingServiceServer ¶
type UnsafeScriptingServiceServer interface {
// contains filtered or unexported methods
}
UnsafeScriptingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ScriptingServiceServer will result in compilation errors.