UNPKG

@ydbjs/api

Version:

TypeScript gRPC service definitions and protobuf types for all YDB APIs. Enables strongly-typed client generation and low-level protocol access.

284 lines 17.2 kB
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=js" // @generated from file protos/ydb_query.proto (package Ydb.Query, syntax proto3) /* eslint-disable */ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1"; import { file_google_protobuf_duration } from "../google/protobuf/duration_pb.js"; import { file_protos_annotations_validation } from "./annotations/validation_pb.js"; import { file_protos_ydb_issue_message } from "./ydb_issue_message_pb.js"; import { file_protos_ydb_operation } from "./ydb_operation_pb.js"; import { file_protos_ydb_query_stats } from "./ydb_query_stats_pb.js"; import { file_protos_ydb_status_codes } from "./ydb_status_codes_pb.js"; import { file_protos_ydb_value } from "./ydb_value_pb.js"; /** * Describes the file protos/ydb_query.proto. */ export const file_protos_ydb_query = /*@__PURE__*/ fileDesc("ChZwcm90b3MveWRiX3F1ZXJ5LnByb3RvEglZZGIuUXVlcnkiFgoUQ3JlYXRlU2Vzc2lvblJlcXVlc3QiowEKFUNyZWF0ZVNlc3Npb25SZXNwb25zZRIpCgZzdGF0dXMYASABKA4yGS5ZZGIuU3RhdHVzSWRzLlN0YXR1c0NvZGUSJwoGaXNzdWVzGAIgAygLMhcuWWRiLklzc3VlLklzc3VlTWVzc2FnZRIbCgpzZXNzaW9uX2lkGAMgASgJQgei5ioDGIAIEhkKB25vZGVfaWQYBCABKANCCLLmKgQ+PSAwIjMKFERlbGV0ZVNlc3Npb25SZXF1ZXN0EhsKCnNlc3Npb25faWQYASABKAlCB6LmKgMYgAgiawoVRGVsZXRlU2Vzc2lvblJlc3BvbnNlEikKBnN0YXR1cxgBIAEoDjIZLllkYi5TdGF0dXNJZHMuU3RhdHVzQ29kZRInCgZpc3N1ZXMYAiADKAsyFy5ZZGIuSXNzdWUuSXNzdWVNZXNzYWdlIjMKFEF0dGFjaFNlc3Npb25SZXF1ZXN0EhsKCnNlc3Npb25faW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G9zL1lkYl9RdWVyefgBAWIGcHJvdG8z", [file_google_protobuf_duration, file_protos_annotations_validation, file_protos_ydb_issue_message, file_protos_ydb_operation, file_protos_ydb_query_stats, file_protos_ydb_status_codes, file_protos_ydb_value]); /** * Describes the message Ydb.Query.CreateSessionRequest. * Use `create(CreateSessionRequestSchema)` to create a new message. */ export const CreateSessionRequestSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 0); /** * Describes the message Ydb.Query.CreateSessionResponse. * Use `create(CreateSessionResponseSchema)` to create a new message. */ export const CreateSessionResponseSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 1); /** * Describes the message Ydb.Query.DeleteSessionRequest. * Use `create(DeleteSessionRequestSchema)` to create a new message. */ export const DeleteSessionRequestSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 2); /** * Describes the message Ydb.Query.DeleteSessionResponse. * Use `create(DeleteSessionResponseSchema)` to create a new message. */ export const DeleteSessionResponseSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 3); /** * Describes the message Ydb.Query.AttachSessionRequest. * Use `create(AttachSessionRequestSchema)` to create a new message. */ export const AttachSessionRequestSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 4); /** * Describes the message Ydb.Query.SessionState. * Use `create(SessionStateSchema)` to create a new message. */ export const SessionStateSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 5); /** * Describes the message Ydb.Query.SerializableModeSettings. * Use `create(SerializableModeSettingsSchema)` to create a new message. */ export const SerializableModeSettingsSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 6); /** * Describes the message Ydb.Query.OnlineModeSettings. * Use `create(OnlineModeSettingsSchema)` to create a new message. */ export const OnlineModeSettingsSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 7); /** * Describes the message Ydb.Query.StaleModeSettings. * Use `create(StaleModeSettingsSchema)` to create a new message. */ export const StaleModeSettingsSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 8); /** * Describes the message Ydb.Query.SnapshotModeSettings. * Use `create(SnapshotModeSettingsSchema)` to create a new message. */ export const SnapshotModeSettingsSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 9); /** * Describes the message Ydb.Query.TransactionSettings. * Use `create(TransactionSettingsSchema)` to create a new message. */ export const TransactionSettingsSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 10); /** * Describes the message Ydb.Query.TransactionControl. * Use `create(TransactionControlSchema)` to create a new message. */ export const TransactionControlSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 11); /** * Describes the message Ydb.Query.BeginTransactionRequest. * Use `create(BeginTransactionRequestSchema)` to create a new message. */ export const BeginTransactionRequestSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 12); /** * Describes the message Ydb.Query.TransactionMeta. * Use `create(TransactionMetaSchema)` to create a new message. */ export const TransactionMetaSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 13); /** * Describes the message Ydb.Query.BeginTransactionResponse. * Use `create(BeginTransactionResponseSchema)` to create a new message. */ export const BeginTransactionResponseSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 14); /** * Describes the message Ydb.Query.CommitTransactionRequest. * Use `create(CommitTransactionRequestSchema)` to create a new message. */ export const CommitTransactionRequestSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 15); /** * Describes the message Ydb.Query.CommitTransactionResponse. * Use `create(CommitTransactionResponseSchema)` to create a new message. */ export const CommitTransactionResponseSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 16); /** * Describes the message Ydb.Query.RollbackTransactionRequest. * Use `create(RollbackTransactionRequestSchema)` to create a new message. */ export const RollbackTransactionRequestSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 17); /** * Describes the message Ydb.Query.RollbackTransactionResponse. * Use `create(RollbackTransactionResponseSchema)` to create a new message. */ export const RollbackTransactionResponseSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 18); /** * Describes the message Ydb.Query.QueryContent. * Use `create(QueryContentSchema)` to create a new message. */ export const QueryContentSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 19); /** * Describes the message Ydb.Query.ExecuteQueryRequest. * Use `create(ExecuteQueryRequestSchema)` to create a new message. */ export const ExecuteQueryRequestSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 20); /** * Describes the message Ydb.Query.ResultSetMeta. * Use `create(ResultSetMetaSchema)` to create a new message. */ export const ResultSetMetaSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 21); /** * Describes the message Ydb.Query.ExecuteQueryResponsePart. * Use `create(ExecuteQueryResponsePartSchema)` to create a new message. */ export const ExecuteQueryResponsePartSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 22); /** * Describes the message Ydb.Query.ExecuteScriptRequest. * Use `create(ExecuteScriptRequestSchema)` to create a new message. */ export const ExecuteScriptRequestSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 23); /** * Describes the message Ydb.Query.ExecuteScriptMetadata. * Use `create(ExecuteScriptMetadataSchema)` to create a new message. */ export const ExecuteScriptMetadataSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 24); /** * Describes the message Ydb.Query.FetchScriptResultsRequest. * Use `create(FetchScriptResultsRequestSchema)` to create a new message. */ export const FetchScriptResultsRequestSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 25); /** * Describes the message Ydb.Query.FetchScriptResultsResponse. * Use `create(FetchScriptResultsResponseSchema)` to create a new message. */ export const FetchScriptResultsResponseSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 26); /** * Describes the message Ydb.Query.Script. * Use `create(ScriptSchema)` to create a new message. */ export const ScriptSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_query, 27); /** * @generated from enum Ydb.Query.Syntax */ export var Syntax; (function (Syntax) { /** * @generated from enum value: SYNTAX_UNSPECIFIED = 0; */ Syntax[Syntax["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** * YQL * * @generated from enum value: SYNTAX_YQL_V1 = 1; */ Syntax[Syntax["YQL_V1"] = 1] = "YQL_V1"; /** * PostgresQL * * @generated from enum value: SYNTAX_PG = 2; */ Syntax[Syntax["PG"] = 2] = "PG"; })(Syntax || (Syntax = {})); /** * Describes the enum Ydb.Query.Syntax. */ export const SyntaxSchema = /*@__PURE__*/ enumDesc(file_protos_ydb_query, 0); /** * @generated from enum Ydb.Query.ExecMode */ export var ExecMode; (function (ExecMode) { /** * @generated from enum value: EXEC_MODE_UNSPECIFIED = 0; */ ExecMode[ExecMode["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** * @generated from enum value: EXEC_MODE_PARSE = 10; */ ExecMode[ExecMode["PARSE"] = 10] = "PARSE"; /** * @generated from enum value: EXEC_MODE_VALIDATE = 20; */ ExecMode[ExecMode["VALIDATE"] = 20] = "VALIDATE"; /** * @generated from enum value: EXEC_MODE_EXPLAIN = 30; */ ExecMode[ExecMode["EXPLAIN"] = 30] = "EXPLAIN"; /** * @generated from enum value: EXEC_MODE_EXECUTE = 50; */ ExecMode[ExecMode["EXECUTE"] = 50] = "EXECUTE"; })(ExecMode || (ExecMode = {})); /** * Describes the enum Ydb.Query.ExecMode. */ export const ExecModeSchema = /*@__PURE__*/ enumDesc(file_protos_ydb_query, 1); /** * @generated from enum Ydb.Query.StatsMode */ export var StatsMode; (function (StatsMode) { /** * @generated from enum value: STATS_MODE_UNSPECIFIED = 0; */ StatsMode[StatsMode["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** * Stats collection is disabled * * @generated from enum value: STATS_MODE_NONE = 10; */ StatsMode[StatsMode["NONE"] = 10] = "NONE"; /** * Aggregated stats of reads, updates and deletes per table * * @generated from enum value: STATS_MODE_BASIC = 20; */ StatsMode[StatsMode["BASIC"] = 20] = "BASIC"; /** * Add execution stats and plan on top of STATS_MODE_BASIC * * @generated from enum value: STATS_MODE_FULL = 30; */ StatsMode[StatsMode["FULL"] = 30] = "FULL"; /** * Detailed execution stats including stats for individual tasks and channels * * @generated from enum value: STATS_MODE_PROFILE = 40; */ StatsMode[StatsMode["PROFILE"] = 40] = "PROFILE"; })(StatsMode || (StatsMode = {})); /** * Describes the enum Ydb.Query.StatsMode. */ export const StatsModeSchema = /*@__PURE__*/ enumDesc(file_protos_ydb_query, 2); /** * @generated from enum Ydb.Query.ExecStatus */ export var ExecStatus; (function (ExecStatus) { /** * @generated from enum value: EXEC_STATUS_UNSPECIFIED = 0; */ ExecStatus[ExecStatus["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** * @generated from enum value: EXEC_STATUS_STARTING = 10; */ ExecStatus[ExecStatus["STARTING"] = 10] = "STARTING"; /** * @generated from enum value: EXEC_STATUS_ABORTED = 20; */ ExecStatus[ExecStatus["ABORTED"] = 20] = "ABORTED"; /** * @generated from enum value: EXEC_STATUS_CANCELLED = 30; */ ExecStatus[ExecStatus["CANCELLED"] = 30] = "CANCELLED"; /** * @generated from enum value: EXEC_STATUS_COMPLETED = 40; */ ExecStatus[ExecStatus["COMPLETED"] = 40] = "COMPLETED"; /** * @generated from enum value: EXEC_STATUS_FAILED = 50; */ ExecStatus[ExecStatus["FAILED"] = 50] = "FAILED"; })(ExecStatus || (ExecStatus = {})); /** * Describes the enum Ydb.Query.ExecStatus. */ export const ExecStatusSchema = /*@__PURE__*/ enumDesc(file_protos_ydb_query, 3); //# sourceMappingURL=ydb_query_pb.js.map