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

Method GetInstance

cpp/src/arrow/compute/registry_test.cc:169–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167class ExampleOptionsType : public FunctionOptionsType {
168 public:
169 static const FunctionOptionsType* GetInstance() {
170 static std::unique_ptr<FunctionOptionsType> instance(
171 new ExampleOptionsType<kExampleSeqNum>());
172 return instance.get();
173 }
174 const char* type_name() const override {
175 static std::string name = std::string("example") + std::to_string(kExampleSeqNum);
176 return name.c_str();

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected