mkql_random.h 500 B

123456789101112131415161718192021
  1. #pragma once
  2. #include <yql/essentials/minikql/computation/mkql_computation_node.h>
  3. namespace NKikimr {
  4. namespace NMiniKQL {
  5. IComputationNode* WrapNewMTRand(TCallable& callable, const TComputationNodeFactoryContext& ctx);
  6. IComputationNode* WrapNextMTRand(TCallable& callable, const TComputationNodeFactoryContext& ctx);
  7. enum class ERandom {
  8. Double,
  9. Number,
  10. Uuid
  11. };
  12. template <ERandom Rnd>
  13. IComputationNode* WrapRandom(TCallable& callable, const TComputationNodeFactoryContext& ctx);
  14. }
  15. }