aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/minikql/comp_nodes/mkql_random.h
blob: 93e2c2e076b5810889261b22d527d2eb3f109da2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once
#include <yql/essentials/minikql/computation/mkql_computation_node.h>

namespace NKikimr {
namespace NMiniKQL {

IComputationNode* WrapNewMTRand(TCallable& callable, const TComputationNodeFactoryContext& ctx);
IComputationNode* WrapNextMTRand(TCallable& callable, const TComputationNodeFactoryContext& ctx);

enum class ERandom {
   Double,
   Number,
   Uuid
};

template <ERandom Rnd>
IComputationNode* WrapRandom(TCallable& callable, const TComputationNodeFactoryContext& ctx);


}
}