summaryrefslogtreecommitdiffstats
path: root/yql/essentials/parser/pg_wrapper/interface/compare.h
diff options
context:
space:
mode:
authorvvvv <[email protected]>2024-11-06 23:54:28 +0300
committervvvv <[email protected]>2024-11-07 00:04:25 +0300
commitcf2a23963ac10add28c50cc114fbf48953eca5aa (patch)
tree174b849b8ecfa96b0c8e4409ab3287721a9210c8 /yql/essentials/parser/pg_wrapper/interface/compare.h
parent3a3113a2bf5a7fab32bde414932082b264c559fc (diff)
Prepare move yql/minikql YQL-19206
types,jsonpath,dom commit_hash:6b54be5968b6a30b6d97fe3a1611574bcefc749e
Diffstat (limited to 'yql/essentials/parser/pg_wrapper/interface/compare.h')
-rw-r--r--yql/essentials/parser/pg_wrapper/interface/compare.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/yql/essentials/parser/pg_wrapper/interface/compare.h b/yql/essentials/parser/pg_wrapper/interface/compare.h
new file mode 100644
index 00000000000..233218e0c29
--- /dev/null
+++ b/yql/essentials/parser/pg_wrapper/interface/compare.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include <yql/essentials/public/udf/udf_type_builder.h>
+#include <yql/essentials/public/udf/arrow/block_item_comparator.h>
+#include <yql/essentials/public/udf/arrow/block_item_hasher.h>
+
+namespace NKikimr {
+namespace NMiniKQL {
+
+class TPgType;
+
+NUdf::IHash::TPtr MakePgHash(const TPgType* type);
+NUdf::ICompare::TPtr MakePgCompare(const TPgType* type);
+NUdf::IEquate::TPtr MakePgEquate(const TPgType* type);
+NUdf::IBlockItemComparator::TPtr MakePgItemComparator(ui32 typeId);
+NUdf::IBlockItemHasher::TPtr MakePgItemHasher(ui32 typeId);
+
+} // namespace NMiniKQL
+} // namespace NKikimr