aboutsummaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/client/format_hints.h
blob: f6576b1045156302b7526ef6d2db857222f0e103 (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
#pragma once

#include <yt/cpp/mapreduce/interface/fwd.h>

#include <util/generic/maybe.h>

namespace NYT {
namespace NDetail {

////////////////////////////////////////////////////////////////////////////////

template <typename TRow>
void ApplyFormatHints(TFormat* format, const TMaybe<TFormatHints>& formatHints);

template <>
void ApplyFormatHints<TNode>(TFormat* format, const TMaybe<TFormatHints>& formatHints);

template <>
void ApplyFormatHints<TYaMRRow>(TFormat* format, const TMaybe<TFormatHints>& formatHints);

template <>
void ApplyFormatHints<::google::protobuf::Message>(TFormat* format, const TMaybe<TFormatHints>& formatHints);

////////////////////////////////////////////////////////////////////////////////

} // namespace NDetail
} // namespace NYT