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.

81 lines 2.5 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/ydb_formats.proto. */ export declare const file_protos_ydb_formats: GenFile; /** * @generated from message Ydb.Formats.ArrowBatchSettings */ export type ArrowBatchSettings = Message<"Ydb.Formats.ArrowBatchSettings"> & { /** * @generated from field: bytes schema = 1; */ schema: Uint8Array; }; /** * Describes the message Ydb.Formats.ArrowBatchSettings. * Use `create(ArrowBatchSettingsSchema)` to create a new message. */ export declare const ArrowBatchSettingsSchema: GenMessage<ArrowBatchSettings>; /** * @generated from message Ydb.Formats.CsvSettings */ export type CsvSettings = Message<"Ydb.Formats.CsvSettings"> & { /** * Number of rows to skip before CSV data. It should be present only in the first upsert of CSV file. * * @generated from field: uint32 skip_rows = 1; */ skipRows: number; /** * Fields delimiter in CSV file. It's "," if not set. * * @generated from field: bytes delimiter = 2; */ delimiter: Uint8Array; /** * String value that would be interpreted as NULL. * * @generated from field: bytes null_value = 3; */ nullValue: Uint8Array; /** * First not skipped line is a CSV header (list of column names). * * @generated from field: bool header = 4; */ header: boolean; /** * @generated from field: Ydb.Formats.CsvSettings.Quoting quoting = 5; */ quoting?: CsvSettings_Quoting; }; /** * Describes the message Ydb.Formats.CsvSettings. * Use `create(CsvSettingsSchema)` to create a new message. */ export declare const CsvSettingsSchema: GenMessage<CsvSettings>; /** * @generated from message Ydb.Formats.CsvSettings.Quoting */ export type CsvSettings_Quoting = Message<"Ydb.Formats.CsvSettings.Quoting"> & { /** * @generated from field: bool disabled = 1; */ disabled: boolean; /** * @generated from field: bytes quote_char = 2; */ quoteChar: Uint8Array; /** * @generated from field: bool double_quote_disabled = 3; */ doubleQuoteDisabled: boolean; }; /** * Describes the message Ydb.Formats.CsvSettings.Quoting. * Use `create(CsvSettings_QuotingSchema)` to create a new message. */ export declare const CsvSettings_QuotingSchema: GenMessage<CsvSettings_Quoting>; //# sourceMappingURL=ydb_formats_pb.d.ts.map