OoOJoin  0.0.1
The next generation of out-of-order join operator
OoOJoin::Tuple Class Reference

The class to describe a normal tuple. More...

#include <Common/Tuples.h>

Inheritance diagram for OoOJoin::Tuple:
Collaboration diagram for OoOJoin::Tuple:

Public Member Functions

 Tuple (keyType k)
 construct with key More...
 
 Tuple (keyType k, valueType v)
 construct with key and value More...
 
 Tuple (keyType k, valueType v, tsType et)
 construct with key, value and eventTime More...
 
 Tuple (keyType k, valueType v, tsType et, tsType at)
 construct with key, value ,eventTime and arrivalTime More...
 
std::string toString ()
 convert the tuple into std string More...
 

Public Attributes

keyType key
 
valueType payload
 
tsType eventTime = 0
 

Detailed Description

The class to describe a normal tuple.

Constructor & Destructor Documentation

◆ Tuple() [1/4]

OoOJoin::Tuple::Tuple ( OoOJoin::keyType  k)

construct with key

Parameters
kthe key

◆ Tuple() [2/4]

OoOJoin::Tuple::Tuple ( OoOJoin::keyType  k,
OoOJoin::valueType  v 
)

construct with key and value

Parameters
kthe key
vthe value of payload

◆ Tuple() [3/4]

OoOJoin::Tuple::Tuple ( OoOJoin::keyType  k,
OoOJoin::valueType  v,
tsType  et 
)

construct with key, value and eventTime

Parameters
kthe key
vthe value of payload
etthe event time

◆ Tuple() [4/4]

OoOJoin::Tuple::Tuple ( keyType  k,
valueType  v,
tsType  et,
tsType  at 
)

construct with key, value ,eventTime and arrivalTime

Parameters
kthe key
vthe value of payload
etthe event time
atthe arrival time

Member Function Documentation

◆ toString()

std::string OoOJoin::Tuple::toString ( )

convert the tuple into std string

Returns
the std string for this tuple

Member Data Documentation

◆ eventTime

tsType OoOJoin::Tuple::eventTime = 0

The time when event happen

◆ key

keyType OoOJoin::Tuple::key

The key used for relational join

◆ payload

valueType OoOJoin::Tuple::payload

The payload, can also be pointer


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