Ydb_Scripting_V1

package
v0.0.0-...-8dd88c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
var File_ydb_scripting_v1_proto protoreflect.FileDescriptor
View Source
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.

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.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL