blob: 4087a81d44be6cf2efe7bbbcdeafced7a7f63a73 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
#pragma once
#include <yt/yt/core/misc/public.h>
namespace NYT::NFormats {
////////////////////////////////////////////////////////////////////////////////
YT_DEFINE_ERROR_ENUM(
((InvalidFormat) (2800))
);
DEFINE_ENUM(EComplexTypeMode,
(Positional)
(Named)
);
DEFINE_ENUM(EDictMode,
(Positional)
(Named)
);
DEFINE_ENUM(EDecimalMode,
(Text)
(Binary)
);
DEFINE_ENUM(ETimeMode,
(Text)
(Binary)
);
DEFINE_ENUM(EUuidMode,
(TextYql)
(TextYt)
(Binary)
);
//! Type of data that can be read or written by a driver command.
DEFINE_ENUM(EDataType,
(Null)
(Binary)
(Structured)
(Tabular)
);
DEFINE_ENUM(EFormatType,
(Null)
(Yson)
(Json)
(Dsv)
(Yamr)
(YamredDsv)
(SchemafulDsv)
(Protobuf)
(WebJson)
(Skiff)
);
////////////////////////////////////////////////////////////////////////////////
DECLARE_REFCOUNTED_CLASS(TYsonFormatConfig)
DECLARE_REFCOUNTED_CLASS(TTableFormatConfigBase)
DECLARE_REFCOUNTED_CLASS(TYamrFormatConfig)
DECLARE_REFCOUNTED_CLASS(TYamrFormatConfigBase)
DECLARE_REFCOUNTED_CLASS(TDsvFormatConfig)
DECLARE_REFCOUNTED_CLASS(TDsvFormatConfigBase)
DECLARE_REFCOUNTED_CLASS(TYamredDsvFormatConfig)
DECLARE_REFCOUNTED_CLASS(TSchemafulDsvFormatConfig)
DECLARE_REFCOUNTED_CLASS(TProtobufTypeConfig)
DECLARE_REFCOUNTED_CLASS(TProtobufColumnConfig)
DECLARE_REFCOUNTED_CLASS(TProtobufTableConfig)
DECLARE_REFCOUNTED_CLASS(TProtobufFormatConfig)
DECLARE_REFCOUNTED_CLASS(TWebJsonFormatConfig)
DECLARE_REFCOUNTED_CLASS(TSkiffFormatConfig)
DECLARE_REFCOUNTED_STRUCT(IYamrConsumer)
DECLARE_REFCOUNTED_STRUCT(ISchemalessFormatWriter)
DECLARE_REFCOUNTED_CLASS(TControlAttributesConfig)
struct IParser;
class TEscapeTable;
class TFormat;
////////////////////////////////////////////////////////////////////////////////
} // namespace NYT::NFormats
|