6 #ifndef ADB_INCLUDE_OPERATOR_ABSTRACTOPERATOR_H_
7 #define ADB_INCLUDE_OPERATOR_ABSTRACTOPERATOR_H_
13 #include <WaterMarker/WMTable.h>
15 #define OP_INFO printf
16 #define OP_ERROR printf
17 #define OP_WARNNING INTELLI_WARNING
19 using namespace INTELLI;
37 struct timeval timeBaseStruct;
40 size_t sLen = 0, rLen = 0;
43 tsType timeBreakDown_all = 0;
105 virtual bool start();
117 virtual size_t getResult();
122 virtual size_t getAQPResult();
141 #define newAbstractOperator std::make_shared<OoOJoin::AbstractOperator>
148 #define timeTrackingStart(v); tsType v;v=UtilityFunctions::timeLastUs(timeBaseStruct);
155 #define timeTrackingStartNoClaim(v); v=UtilityFunctions::timeLastUs(timeBaseStruct);
163 #define timeTrackingEnd(v) (UtilityFunctions::timeLastUs(timeBaseStruct)-v)
The abstraction to describe a join operator, providing virtual function of using the operation.
Definition: AbstractOperator.h:35
void syncTimeStruct(struct timeval tv)
Synchronize the time structure with outside setting.
Definition: AbstractOperator.h:76
void setBufferLen(size_t _sLen, size_t _rLen)
Set buffer length of S and R buffer.
Definition: AbstractOperator.h:67
void setFinalProcessedTime()
set the final processed time for all tuples
void setWindow(size_t _wl, size_t _sli)
Set the window parameters of the whole operator.
Definition: AbstractOperator.h:58
std::shared_ptr< class AbstractOperator > AbstractOperatorPtr
The class to describe a shared pointer to AbstractOperator.
Definition: AbstractOperator.h:135
uint64_t tsType
Definition: Tuples.h:20
std::shared_ptr< class TrackTuple > TrackTuplePtr
The class to describe a shared pointer to TrackTuple.
Definition: Tuples.h:171
std::shared_ptr< ConfigMap > ConfigMapPtr
The class to describe a shared pointer to ConfigMap.
Definition: ConfigMap.hpp:356
Definition: OperatorTable.cpp:7