blob: 56c3660c5b1062474ab3ddb180e20bf98141f2aa (
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
|
#pragma once
#include <yt/yt/core/misc/guid.h>
#include <library/cpp/yt/misc/enum.h>
namespace NYT::NQueryTrackerClient {
///////////////////////////////////////////////////////////////////////////////
YT_DEFINE_ERROR_ENUM(
((IncarnationMismatch) (3900))
((QueryNotFound) (3901))
((QueryResultNotFound) (3902))
);
////////////////////////////////////////////////////////////////////////////////
using TQueryId = TGuid;
////////////////////////////////////////////////////////////////////////////////
DEFINE_STRING_SERIALIZABLE_ENUM(EQueryEngine,
(Ql)
(Yql)
(Chyt)
(Mock)
);
DEFINE_STRING_SERIALIZABLE_ENUM(EQueryState,
(Draft)
(Pending)
(Running)
(Aborting)
(Aborted)
(Completing)
(Completed)
(Failing)
(Failed)
);
///////////////////////////////////////////////////////////////////////////////
} // namespace NYT::NQueryTrackerClient
|