MCPcopy Create free account
hub / github.com/apache/arrow / Random

Function Random

cpp/src/arrow/testing/generator.cc:378–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378std::shared_ptr<ArrayGenerator> Random(std::shared_ptr<DataType> type) {
379 return std::make_shared<RandomGenerator>(std::move(type));
380}
381
382std::shared_ptr<DataGenerator> Gen(std::vector<GeneratorField> fields) {
383 return std::make_shared<DataGeneratorImpl>(std::move(fields));

Callers 3

CheckErrorFunction · 0.50
TestTableFunction · 0.50
AddRandomMethod · 0.50

Calls

no outgoing calls

Tested by 3

CheckErrorFunction · 0.40
TestTableFunction · 0.40
AddRandomMethod · 0.40