NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
This is a utility, which provides an context, to dump state (e.g., query plans or irs) to a file or the console. More...
#include <DumpHelper.hpp>
Public Member Functions | |
void | dump (const std::string_view &name, const std::string_view &output) const |
Function to dump a specific entity using this context. More... | |
Static Public Member Functions | |
static DumpHelper | create (const std::string &contextIdentifier, bool dumpToConsole, bool dumpToFile, const std::string &outputPath=std::string()) |
Factory method to create the dump utility. More... | |
This is a utility, which provides an context, to dump state (e.g., query plans or irs) to a file or the console.
|
static |
Factory method to create the dump utility.
contextIdentifier | the global identifier for all elements that are dumped by this context |
dumpToConsole | indicator if content is dumped to console |
dumpToFile | indicator if content is dumped to file |
outputPath | output path if content is dumped to a file |
Referenced by NES::QueryCompilation::SampleCPPCodeGenerator::compileQuery().
void NES::DumpHelper::dump | ( | const std::string_view & | name, |
const std::string_view & | output | ||
) | const |
Function to dump a specific entity using this context.
name | identifier of this entry. |
output | the content that should be dumped. |
References NES_INFO.