yql_outproc_udf_resolver.h 897 B

123456789101112131415161718192021222324252627282930
  1. #pragma once
  2. #include <yql/essentials/core/yql_udf_resolver.h>
  3. #include <yql/essentials/core/file_storage/file_storage.h>
  4. #include <yql/essentials/minikql/mkql_function_registry.h>
  5. #include <yql/essentials/providers/common/proto/udf_resolver.pb.h>
  6. #include <util/generic/map.h>
  7. #include <util/generic/string.h>
  8. namespace NYql {
  9. namespace NCommon {
  10. void LoadSystemModulePaths(
  11. const TString& resolverPath,
  12. const TString& dir,
  13. NKikimr::NMiniKQL::TUdfModulePathsMap* paths);
  14. IUdfResolver::TPtr CreateOutProcUdfResolver(
  15. const NKikimr::NMiniKQL::IFunctionRegistry* functionRegistry,
  16. const TFileStoragePtr& fileStorage,
  17. const TString& resolverPath,
  18. const TString& user,
  19. const TString& group,
  20. bool filterSysCalls,
  21. const TString& udfDependencyStubPath,
  22. const TMap<TString, TString>& path2md5 = {});
  23. } // namespace NCommon
  24. } // namespace NYql