ydb_grpc/generated/
ydb.formats.rs

1// This file is @generated by prost-build.
2#[derive(serde::Serialize, serde::Deserialize)]
3#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
4pub struct ArrowBatchSettings {
5    #[prost(bytes = "vec", tag = "1")]
6    pub schema: ::prost::alloc::vec::Vec<u8>,
7}
8#[derive(serde::Serialize, serde::Deserialize)]
9#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
10pub struct CsvSettings {
11    /// Number of rows to skip before CSV data. It should be present only in the first upsert of CSV file.
12    #[prost(uint32, tag = "1")]
13    pub skip_rows: u32,
14    /// Fields delimiter in CSV file. It's "," if not set.
15    #[prost(bytes = "vec", tag = "2")]
16    pub delimiter: ::prost::alloc::vec::Vec<u8>,
17    /// String value that would be interpreted as NULL.
18    #[prost(bytes = "vec", tag = "3")]
19    pub null_value: ::prost::alloc::vec::Vec<u8>,
20    /// First not skipped line is a CSV header (list of column names).
21    #[prost(bool, tag = "4")]
22    pub header: bool,
23    #[prost(message, optional, tag = "5")]
24    pub quoting: ::core::option::Option<csv_settings::Quoting>,
25}
26/// Nested message and enum types in `CsvSettings`.
27pub mod csv_settings {
28    #[derive(serde::Serialize, serde::Deserialize)]
29    #[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
30    pub struct Quoting {
31        #[prost(bool, tag = "1")]
32        pub disabled: bool,
33        #[prost(bytes = "vec", tag = "2")]
34        pub quote_char: ::prost::alloc::vec::Vec<u8>,
35        #[prost(bool, tag = "3")]
36        pub double_quote_disabled: bool,
37    }
38}