NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
Turn this on to have Thread::current_num_threads_ keep a count of currently-active threads. More...
Namespaces | |
detail | |
Execution | |
MemoryLayouts | |
Profiler | |
Classes | |
class | AbstractBufferProvider |
class | AbstractPoolProvider |
class | AbstractBufferStorage |
The Abstract buffer storage class to backup tuple buffers that are passing through node engine. More... | |
class | AbstractLineageManager |
The Abstract Lineage Manager class is used to map of all tuples that got their sequence number changed by stateful operators. More... | |
class | FixedPagesAllocator |
class | NesDefaultMemoryAllocator |
The default memory resource of nes that use posix_memalign. More... | |
class | AsyncTaskExecutor |
This is a multi-threaded task executor that execute asynchronously tasks. Submitted task are paired to a future value that can be retrieved when the async task is executed. More... | |
class | BloomFilter |
A bloom filter that works with 64-bit keys. More... | |
class | BufferManager |
The BufferManager is responsible for: More... | |
class | BufferRecycler |
Interface for buffer recycling mechanism. More... | |
struct | BufferSorter |
class | BufferStorage |
The Buffer Storage class stores tuples inside a queue and trims it when the right acknowledgement is received. More... | |
class | BaseEvent |
This is the base event type. All events supported in NES shall inherit from this class. More... | |
class | CustomEventWrapper |
This class shall be used to define custom events with user-supplied data. More... | |
class | StartSourceEvent |
This class represents a start method for static data sources. More... | |
class | FixedSizeBufferPool |
A local buffer pool that uses N exclusive buffers and then falls back to the global buffer manager. More... | |
class | HardwareManager |
This class is responsible to look up OS/HW specs of the underlying hardware, e.g., numa. More... | |
class | InMemoryLineageManager |
The Lineage Manager class stores map of all tuples that got their sequence number changed by stateful operators. More... | |
class | LocalBufferPool |
A local buffer pool that uses N exclusive buffers and then falls back to the global buffer manager. More... | |
class | NesThread |
class | NodeEngine |
this class represents the interface and entrance point into the query processing part of NES. It provides basic functionality such as deploying, undeploying, starting, and stopping. More... | |
struct | WorkerOpenCLDeviceInfo |
class | OpenCLManager |
class | AbstractQueryManager |
class | DynamicQueryManager |
class | MultiQueueQueryManager |
class | QueryStatistics |
class | Reconfigurable |
Nes components that require to be reconfigured at Runtime need to inherit from this class. It provides a reconfigure callback that will be called per thread and a postReconfigurationCallback that will be called on the last thread the executes the reconfiguration. More... | |
class | ReconfigurationMessage |
this class contains the description of the reconfiguration that must be carried out More... | |
class | RuntimeEventListener |
This is the listener for runtime events. More... | |
class | BasicPhysicalField |
class | Task |
Task abstraction to bind processing (compiled binary) and data (incoming buffers @Limitations: -. More... | |
class | ThreadPool |
the tread pool handles the dynamic scheduling of tasks during Runtime @Limitations More... | |
class | TupleBuffer |
The TupleBuffer allows Runtime components to access memory to store records in a reference-counted and thread-safe manner. More... | |
class | WorkerContext |
A WorkerContext represents the current state of a worker thread Note that it is not thread-safe per se but it is meant to be used in a thread-safe manner by the ThreadPool. More... | |
class | FormatIteratorTestUtil |
Provides utility function to write multiple tuples to a test tuple buffer and to create expected output. Currently, the functionality is limited to a single buffer containing all test tuples. More... | |
struct | JsonKVPair |
In this test, the expected output is consists of JSON key value (KV) pairs. More... | |
class | JsonFormatTest |
Testing the functionality of the iterating over the json format. Since the created json objects may store the key-value-pairs in a different order, compared to our schema, we just check if the results contain the expected strings. More... | |
struct | OpenCLDeviceInfo |
Enumerations | |
enum class | BufferManagerType : uint8_t { GLOBAL , LOCAL , FIXED } |
enum class | EventType : uint8_t { kInvalidEvent , kCustomEvent , kStartSourceEvent } |
this enum defines the event that can occur in the system runtime More... | |
enum class | QueryTerminationType : uint8_t { Graceful = 0 , HardStop , Failure , Reconfiguration , Invalid } |
enum class | ReconfigurationType : uint8_t { Initialize , Destroy , SoftEndOfStream , HardEndOfStream , FailEndOfStream , ConnectToNewReceiver , ConnectionEstablished , UpdateVersion , ReconfigurationMarker } |
enum class | NumaAwarenessFlag : int8_t { ENABLED , DISABLED } |
Functions | |
TupleBuffer | allocateVariableLengthField (std::shared_ptr< AbstractBufferProvider > provider, uint32_t size) |
This function allocates a TupleBuffer of a desired size via a provider. More... | |
constexpr uint32_t | alignBufferSize (uint32_t bufferSize, uint32_t withAlignment) |
Computes aligned buffer size based on original buffer size and alignment. More... | |
ReconfigurationType | terminationTypeToReconfigurationType (QueryTerminationType terminationType) |
QueryTerminationType | reconfigurationTypeToTerminationType (ReconfigurationType reconfigurationType) |
bool | recycleTupleBuffer (void *bufferPointer) |
This method determines the control block based on the ptr to the data region and decrements the reference counter. More... | |
template<typename T > | |
T * | allocateWithin (TupleBuffer &buffer) |
Allocates an object of T in the tuple buffer. Set the number of tuples to one. More... | |
TEST_F (JsonFormatTest, createJsonIterator) | |
Tests that we can construct a json iterator. More... | |
TEST_F (JsonFormatTest, useJsonIteratorWithASingleInteger) | |
Tests that we can convert a tuple buffer with a single integer to json. More... | |
TEST_F (JsonFormatTest, useJsonIteratorWithUnsignedIntegers) | |
Tests that we can convert a tuple buffer with unsigned integers to json. More... | |
TEST_F (JsonFormatTest, useJsonIteratorWithSignedIntegers) | |
Tests that we can convert a tuple buffer with signed integers to json. More... | |
TEST_F (JsonFormatTest, useJsonIteratorWithSignedBoolAndChar) | |
Tests that we can convert a tuple buffer with a lower and uppercase char and a true and a false bool to json. More... | |
TEST_F (JsonFormatTest, useJsonIteratorWithFloatingPoints) | |
Tests that we can convert a tuple buffer with single and a double precision to json. More... | |
TEST_F (JsonFormatTest, useJsonIteratorWithText) | |
Tests that we can convert a tuple buffer containing Text to json. More... | |
TEST_F (JsonFormatTest, useJsonIteratorWithNumberAndText) | |
Tests that we can convert a tuple buffer with a number and text to json. More... | |
TEST_F (JsonFormatTest, useJsonIteratorWithMixedDataTypes) | |
Tests that we can convert a tuple buffer with many different basic types, and multiple Text types to json. More... | |
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE (OpenCLDeviceInfo, platformVendor, platformName, deviceName, doubleFPSupport, maxWorkItems, deviceAddressBits, deviceType, deviceExtensions, availableProcessors) | |
Variables | |
template<typename T > | |
concept | IsNesEvent = requires(T t) { t.getEventType(); } |
const std::chrono::seconds | DEFAULT_BUFFER_TIMEOUT = std::chrono::seconds(10) |
Turn this on to have Thread::current_num_threads_ keep a count of currently-active threads.
This enum reflects the different types of buffer managers in the system global: overall buffer manager local: buffer manager that we give to the processing fixed: buffer manager that we use for sources
typedef std::shared_ptr< AsyncTaskExecutor > NES::Runtime::AsyncTaskExecutorPtr |
typedef std::shared_ptr< BufferManager > NES::Runtime::BufferManagerPtr |
typedef std::shared_ptr< Runtime::BufferStorage > NES::Runtime::BufferStoragePtr |
using NES::Runtime::DynamicQueryManagerPtr = typedef std::shared_ptr<DynamicQueryManager> |
using NES::Runtime::FixedSizeBufferPoolPtr = typedef std::shared_ptr<FixedSizeBufferPool> |
using NES::Runtime::HardwareManagerPtr = typedef std::shared_ptr<HardwareManager> |
using NES::Runtime::LineageManagerPtr = typedef std::shared_ptr<Runtime::InMemoryLineageManager> |
using NES::Runtime::LocalBufferPoolPtr = typedef std::shared_ptr<LocalBufferPool> |
using NES::Runtime::MultiQueueQueryManagerPtr = typedef std::shared_ptr<MultiQueueQueryManager> |
using NES::Runtime::NesDefaultMemoryAllocatorPtr = typedef std::shared_ptr<NesDefaultMemoryAllocator> |
typedef std::shared_ptr< NodeEngine > NES::Runtime::NodeEnginePtr |
using NES::Runtime::OpenCLManagerPtr = typedef std::shared_ptr<OpenCLManager> |
using NES::Runtime::PhysicalFieldPtr = typedef std::shared_ptr<PhysicalField> |
using NES::Runtime::PhysicalSchemaPtr = typedef std::shared_ptr<PhysicalSchema> |
typedef std::shared_ptr< AbstractQueryManager > NES::Runtime::QueryManagerPtr |
typedef std::shared_ptr< QueryStatistics > NES::Runtime::QueryStatisticsPtr |
using NES::Runtime::ReconfigurablePtr = typedef std::shared_ptr<Reconfigurable> |
typedef std::shared_ptr< RuntimeEventListener > NES::Runtime::RuntimeEventListenerPtr |
typedef std::shared_ptr< ThreadPool > NES::Runtime::ThreadPoolPtr |
using NES::Runtime::WorkerContextPtr = typedef std::shared_ptr<WorkerContext> |
using NES::Runtime::WorkerContextRef = typedef WorkerContext& |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
constexpr |
Computes aligned buffer size based on original buffer size and alignment.
References NES::bufferSize.
Referenced by NES::Runtime::BufferManager::getUnpooledBuffer(), and NES::Runtime::TupleBuffer::reinterpretAsTupleBuffer().
TupleBuffer NES::Runtime::allocateVariableLengthField | ( | std::shared_ptr< AbstractBufferProvider > | provider, |
uint32_t | size | ||
) |
This function allocates a TupleBuffer of a desired size via a provider.
provider | the buffer allocator |
size | the desired size |
References NES_ASSERT2_FMT, and size().
Referenced by NES::TEST_F().
T* NES::Runtime::allocateWithin | ( | TupleBuffer & | buffer | ) |
Allocates an object of T in the tuple buffer. Set the number of tuples to one.
T |
buffer |
References NES::Runtime::TupleBuffer::getBuffer(), and NES::Runtime::TupleBuffer::setNumberOfTuples().
NES::Runtime::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE | ( | OpenCLDeviceInfo | , |
platformVendor | , | ||
platformName | , | ||
deviceName | , | ||
doubleFPSupport | , | ||
maxWorkItems | , | ||
deviceAddressBits | , | ||
deviceType | , | ||
deviceExtensions | , | ||
availableProcessors | |||
) |
QueryTerminationType NES::Runtime::reconfigurationTypeToTerminationType | ( | ReconfigurationType | reconfigurationType | ) |
References FailEndOfStream, Failure, Graceful, HardEndOfStream, HardStop, NES_ASSERT, Reconfiguration, ReconfigurationMarker, and SoftEndOfStream.
Referenced by NES::SinkMedium::postReconfigurationCallback(), and NES::Network::NetworkSink::reconfigure().
bool NES::Runtime::recycleTupleBuffer | ( | void * | bufferPointer | ) |
This method determines the control block based on the ptr to the data region and decrements the reference counter.
bufferPointer | pointer to the data region of an buffer. |
References NES_ASSERT2_FMT, and NES::Runtime::detail::BufferControlBlock::release().
ReconfigurationType NES::Runtime::terminationTypeToReconfigurationType | ( | QueryTerminationType | terminationType | ) |
References FailEndOfStream, Failure, Graceful, HardEndOfStream, HardStop, NES_ASSERT, Reconfiguration, ReconfigurationMarker, and SoftEndOfStream.
Referenced by NES::Runtime::Execution::ExecutableQueryPlan::notifyPipelineCompletion(), NES::Runtime::Execution::ExecutableQueryPlan::notifySinkCompletion(), and NES::Runtime::Execution::ExecutableQueryPlan::notifySourceCompletion().
NES::Runtime::TEST_F | ( | JsonFormatTest | , |
createJsonIterator | |||
) |
Tests that we can construct a json iterator.
References NES::Schema::create(), and NES::UINT8.
NES::Runtime::TEST_F | ( | JsonFormatTest | , |
useJsonIteratorWithASingleInteger | |||
) |
Tests that we can convert a tuple buffer with a single integer to json.
References NES::Schema::create(), and NES::UINT8.
NES::Runtime::TEST_F | ( | JsonFormatTest | , |
useJsonIteratorWithFloatingPoints | |||
) |
Tests that we can convert a tuple buffer with single and a double precision to json.
References NES::Schema::create(), NES::FLOAT32, and NES::FLOAT64.
NES::Runtime::TEST_F | ( | JsonFormatTest | , |
useJsonIteratorWithMixedDataTypes | |||
) |
Tests that we can convert a tuple buffer with many different basic types, and multiple Text types to json.
References NES::BOOLEAN, NES::CHAR, NES::Schema::create(), NES::DataTypeFactory::createText(), NES::FLOAT32, NES::FLOAT64, NES::INT16, and NES::UINT8.
NES::Runtime::TEST_F | ( | JsonFormatTest | , |
useJsonIteratorWithNumberAndText | |||
) |
Tests that we can convert a tuple buffer with a number and text to json.
References NES::Schema::create(), NES::DataTypeFactory::createText(), and NES::UINT8.
NES::Runtime::TEST_F | ( | JsonFormatTest | , |
useJsonIteratorWithSignedBoolAndChar | |||
) |
Tests that we can convert a tuple buffer with a lower and uppercase char and a true and a false bool to json.
References NES::BOOLEAN, NES::CHAR, and NES::Schema::create().
NES::Runtime::TEST_F | ( | JsonFormatTest | , |
useJsonIteratorWithSignedIntegers | |||
) |
Tests that we can convert a tuple buffer with signed integers to json.
References NES::Schema::create(), NES::INT16, NES::INT32, NES::INT64, and NES::INT8.
NES::Runtime::TEST_F | ( | JsonFormatTest | , |
useJsonIteratorWithText | |||
) |
Tests that we can convert a tuple buffer containing Text to json.
References NES::Schema::create(), and NES::DataTypeFactory::createText().
NES::Runtime::TEST_F | ( | JsonFormatTest | , |
useJsonIteratorWithUnsignedIntegers | |||
) |
Tests that we can convert a tuple buffer with unsigned integers to json.
References NES::Schema::create(), NES::UINT16, NES::UINT32, NES::UINT64, and NES::UINT8.
const std::chrono::seconds NES::Runtime::DEFAULT_BUFFER_TIMEOUT = std::chrono::seconds(10) |
concept NES::Runtime::IsNesEvent = requires(T t) { t.getEventType(); } |