Fennel: MixedDupColumnGenerator Class Reference (original) (raw)
Mixed Duplicate column generator. More...
#include <[ExecStreamGenerator.h](ExecStreamGenerator%5F8h-source.html)>
Inheritance diagram for MixedDupColumnGenerator:

| Public Member Functions | |
|---|---|
| MixedDupColumnGenerator (int numDupsInit, int startValue=0, int wid=1) | |
| int64_t | next () |
| Private Attributes | |
| int | numDups |
| int64_t | curValue |
| int | width |
| int | nextValue |
| int | initialValue |
Detailed Description
Mixed Duplicate column generator.
Generates a mixture of unique rows or duplicate rows of numDups per value for a column, in sequence, starting at initValue:
0, 1, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 7, 8, ...
Definition at line 473 of file ExecStreamGenerator.h.
Constructor & Destructor Documentation
| MixedDupColumnGenerator::MixedDupColumnGenerator | ( | int | numDupsInit, |
|---|---|---|---|
| int | startValue = 0, | ||
| int | wid = 1 | ||
| ) | [inline, explicit] |
Member Function Documentation
| int64_t MixedDupColumnGenerator::next | ( | | ) | [inline, virtual] | | ------------------------------------------------------------------------------------------ | - | | - | ------------------- |
Member Data Documentation
The documentation for this class was generated from the following file:
- /home/pub/open/dev/fennel/test/ExecStreamGenerator.h
