|
NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
#include <CompilationCache.hpp>
Public Member Functions | |
| bool | contains (const SourceCode &code) |
| check if the binary for a query already exists More... | |
| void | insert (const SourceCode &code, CompilationResult &compilationResult) |
| inserts a compilation result for a new source code More... | |
| CompilationResult | get (const SourceCode &code) |
| method to retrieve the compilation result for a given source code More... | |
This class is used to cache the already generated binaries to not compile the the query over and over again
| bool NES::Compiler::CompilationCache::contains | ( | const SourceCode & | code | ) |
check if the binary for a query already exists
| code |
Referenced by insert(), and NES::Compiler::TEST_F().
| CompilationResult NES::Compiler::CompilationCache::get | ( | const SourceCode & | code | ) |
method to retrieve the compilation result for a given source code
| code |
| void NES::Compiler::CompilationCache::insert | ( | const SourceCode & | code, |
| CompilationResult & | compilationResult | ||
| ) |
inserts a compilation result for a new source code
| sourceCode | reference to the source code |
| compilationResult | reference to the compilation result |
References contains(), and NES_WARNING.
Referenced by NES::Compiler::TEST_F().