clickhouse_format/
format_name.rs

1#[derive(strum::Display, strum::EnumString, PartialEq, Eq, Debug, Clone)]
2pub enum FormatName {
3    //
4    #[strum(serialize = "JSON")]
5    Json,
6    #[strum(serialize = "JSONStrings")]
7    JsonStrings,
8    #[strum(serialize = "JSONCompact")]
9    JsonCompact,
10    #[strum(serialize = "JSONCompactStrings")]
11    JsonCompactStrings,
12    //
13    #[strum(serialize = "TSV")]
14    Tsv,
15    #[strum(serialize = "TSVRaw")]
16    TsvRaw,
17    #[strum(serialize = "TSVWithNames")]
18    TsvWithNames,
19    #[strum(serialize = "TSVWithNamesAndTypes")]
20    TsvWithNamesAndTypes,
21    //
22    #[strum(serialize = "JSONEachRow")]
23    JsonEachRow,
24    #[strum(serialize = "JSONStringsEachRow")]
25    JsonStringsEachRow,
26    #[strum(serialize = "JSONCompactEachRow")]
27    JsonCompactEachRow,
28    #[strum(serialize = "JSONCompactStringsEachRow")]
29    JsonCompactStringsEachRow,
30    #[strum(serialize = "JSONEachRowWithProgress")]
31    JsonEachRowWithProgress,
32    #[strum(serialize = "JSONStringsEachRowWithProgress")]
33    JsonStringsEachRowWithProgress,
34    #[strum(serialize = "JSONCompactEachRowWithNamesAndTypes")]
35    JsonCompactEachRowWithNamesAndTypes,
36    #[strum(serialize = "JSONCompactStringsEachRowWithNamesAndTypes")]
37    JsonCompactStringsEachRowWithNamesAndTypes,
38}