#include <ExecStreamGenerator.h>
Inheritance diagram for RepeatingSeqColumnGenerator:
Public Member Functions | |
RepeatingSeqColumnGenerator (int nSequenceInit) | |
int64_t | next () |
Private Attributes | |
int | nSequence |
int64_t | curValue |
Generates column values in a repeating sequence. Values repeat after nSequence values. E.g., 0, 1, 2, ..., nSequence-1, 0, 1, 2, ..., nSequence-1, 0, ...
Definition at line 447 of file ExecStreamGenerator.h.
RepeatingSeqColumnGenerator::RepeatingSeqColumnGenerator | ( | int | nSequenceInit | ) | [inline, explicit] |
int64_t RepeatingSeqColumnGenerator::next | ( | ) | [inline, virtual] |
Implements ColumnGenerator< T >.
Definition at line 459 of file ExecStreamGenerator.h.
References curValue, and nSequence.
int RepeatingSeqColumnGenerator::nSequence [private] |
Definition at line 449 of file ExecStreamGenerator.h.
Referenced by next(), and RepeatingSeqColumnGenerator().
int64_t RepeatingSeqColumnGenerator::curValue [private] |
Definition at line 450 of file ExecStreamGenerator.h.
Referenced by next(), and RepeatingSeqColumnGenerator().