partitioning.h 543 B

12345678910111213141516171819
  1. #pragma once
  2. #include "translation_settings.h"
  3. #include <util/generic/map.h>
  4. #include <util/generic/string.h>
  5. #include <util/generic/vector.h>
  6. namespace NSQLTranslation {
  7. struct TBindingInfo {
  8. TString ClusterType;
  9. TString Cluster;
  10. TString Path;
  11. TString Schema;
  12. TMap<TString, TVector<TString>> Attributes;
  13. };
  14. // returns error message if any
  15. TString ExtractBindingInfo(const TTranslationSettings& settings, const TString& binding, TBindingInfo& result);
  16. } // namespace NSQLTranslation