NebulaStream  0.6.213
NebulaStream is a data and application management framework for the internet of things
NES::Iterator Class Reference

#include <Iterator.hpp>

Public Types

using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 

Public Member Functions

 Iterator (uint64_t currentSeek, Runtime::TupleBuffer buffer, const SchemaPtr &schema, FormatTypes sinkFormatType)
 
Iteratoroperator++ ()
 Increases the current bufferIndex by one. More...
 
std::string operator* ()
 Accesses the TupleBuffer at the current bufferIndex and returns the address at that index. More...
 

Friends

class FormatIterator
 
bool operator== (const Iterator &a, const Iterator &b)
 
bool operator!= (const Iterator &a, const Iterator &b)
 

Member Typedef Documentation

◆ difference_type

using NES::Iterator::difference_type = std::ptrdiff_t

◆ iterator_category

using NES::Iterator::iterator_category = std::forward_iterator_tag

Constructor & Destructor Documentation

◆ Iterator()

NES::Iterator::Iterator ( uint64_t  currentSeek,
Runtime::TupleBuffer  buffer,
const SchemaPtr schema,
FormatTypes  sinkFormatType 
)
inlineexplicit

Member Function Documentation

◆ operator*()

std::string NES::Iterator::operator* ( )
inline

Accesses the TupleBuffer at the current bufferIndex and returns the address at that index.

Returns

References NES::CSV_FORMAT, NES::JSON_FORMAT, NES::NES_FORMAT, and NES_NOT_IMPLEMENTED.

◆ operator++()

Iterator& NES::Iterator::operator++ ( )
inline

Increases the current bufferIndex by one.

Returns
iterator

Friends And Related Function Documentation

◆ FormatIterator

friend class FormatIterator
friend

◆ operator!=

bool operator!= ( const Iterator a,
const Iterator b 
)
friend

◆ operator==

bool operator== ( const Iterator a,
const Iterator b 
)
friend

The documentation for this class was generated from the following files: