mkql_node_serialization.h 585 B

12345678910111213141516
  1. #pragma once
  2. #include "defs.h"
  3. #include "mkql_node.h"
  4. #include "mkql_node_visitor.h"
  5. namespace NKikimr {
  6. namespace NMiniKQL {
  7. TString SerializeNode(TNode* node, const TTypeEnvironment& env) noexcept;
  8. TString SerializeRuntimeNode(TRuntimeNode node, const TTypeEnvironment& env) noexcept;
  9. TString SerializeRuntimeNode(TExploringNodeVisitor& explorer, TRuntimeNode node, const TTypeEnvironment& env) noexcept;
  10. TNode* DeserializeNode(const TStringBuf& buffer, const TTypeEnvironment& env);
  11. TRuntimeNode DeserializeRuntimeNode(const TStringBuf& buffer, const TTypeEnvironment& env);
  12. }
  13. }