/
githubmirror
/
nbs
Обзор
Документация
Войти
/
githubmirror
/
nbs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
yt/cpp/mapreduce/common/helpers.h
37 строк
1 KB
Anton Myagkov
Update ydb version to 24.4 (#4579)
07 фев 2026, 11:59
Не верифицирован
07 фев 2026, 11:59
2c21cae
Код
Авторство
О чём код?
#pragma once #include "fwd.h" #include <library/cpp/yson/node/node_io.h> // backward compatibility #include <yt/cpp/mapreduce/interface/node.h> #include <yt/cpp/mapreduce/interface/common.h> #include <library/cpp/yson/public.h> namespace NYT { //////////////////////////////////////////////////////////////////////////////// TString NodeListToYsonString(const TNode::TListType& nodes); TNode PathToNode(const TRichYPath& path); TNode PathToParamNode(const TRichYPath& path); TString AttributesToYsonString(const TNode& attributes); TString AttributeFilterToYsonString(const TAttributeFilter& filter); TNode NodeFromTableSchema(const TTableSchema& schema); void MergeNodes(TNode& dst, const TNode& src); TYPath AddPathPrefix(const TYPath& path, const TString& pathPrefix); TString GetWriteTableCommand(const TString& apiVersion); TString GetReadTableCommand(const TString& apiVersion); TString GetWriteFileCommand(const TString& apiVersion); TString GetReadFileCommand(const TString& apiVersion); //////////////////////////////////////////////////////////////////////////////// } // namespace NYT