aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/minikql/mkql_node_serialization.h
blob: a074d192a47ba5ca278f48097de76ca8b60ebf9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once
#include "defs.h"
#include "mkql_node.h"
#include "mkql_node_visitor.h"

namespace NKikimr {
namespace NMiniKQL {

TString SerializeNode(TNode* node, const TTypeEnvironment& env) noexcept;
TString SerializeRuntimeNode(TRuntimeNode node, const TTypeEnvironment& env) noexcept;
TString SerializeRuntimeNode(TExploringNodeVisitor& explorer, TRuntimeNode node, const TTypeEnvironment& env) noexcept;
TNode* DeserializeNode(const TStringBuf& buffer, const TTypeEnvironment& env);
TRuntimeNode DeserializeRuntimeNode(const TStringBuf& buffer, const TTypeEnvironment& env);

}
}