utils.h 509 B

1234567891011121314151617181920
  1. #pragma once
  2. #include <yql/essentials/public/udf/udf_data_type.h>
  3. #include <yql/essentials/public/udf/udf_value_builder.h>
  4. #include <util/generic/maybe.h>
  5. namespace NYql {
  6. ui32 ConvertToPgType(NKikimr::NUdf::EDataSlot slot);
  7. TMaybe<NKikimr::NUdf::EDataSlot> ConvertFromPgType(ui32 typeId);
  8. bool ParsePgIntervalModifier(const TString& str, i32& ret);
  9. std::unique_ptr<NUdf::IPgBuilder> CreatePgBuilder();
  10. bool HasPgKernel(ui32 procOid);
  11. ui64 HexEncode(const char *src, size_t len, char *dst);
  12. } // NYql