MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / process

Method process

extensions/sql/data/WriteCallback.h:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 }
35
36 int64_t process(const std::shared_ptr<io::BaseStream>& stream) {
37 if (data_.empty())
38 return 0;
39
40 return stream->write(reinterpret_cast<uint8_t*>(const_cast<char*>(data_.c_str())), data_.size());
41 }
42
43 const std::string& data_;
44};

Callers

nothing calls this directly

Calls 4

c_strMethod · 0.80
emptyMethod · 0.45
writeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected