Vertica::PartitionWriterNumericColumn Class Reference
Inheritance diagram for Vertica::PartitionWriterNumericColumn:
Collaboration diagram for Vertica::PartitionWriterNumericColumn:
| Public Member Functions | |
|---|---|
| PartitionWriterNumericColumn (int _stridelength, char *_start, char *_end, const VNumeric &wrapperTemplate) | |
| VNumeric & | append () |
| void | appendNull () |
| void | directCopy (uint64 *src, size_t elementsToCopy, int32 srcTypAttr, size_t elementSize) |
| char * | getAndAdvance () |
| const char * | getPtr (size_t offset_from_start) |
| const VNumeric & | getRef (size_t offset_from_start) |
| int | getStrideLength () |
| int32 | getTypmod () |
| size_t | getWrittenElementCount () |
| Protected Member Functions | |
|---|---|
| void | rejectRows (std::set &rejectedRows) |
| Protected Attributes | |
|---|---|
| char * | curr |
| const char * | end |
| const char * | start |
| const int | stridelength |
| VNumeric | wrapper |
| Friends | |
|---|---|
| class | PartitionWriterColumns |
Member Function Documentation
VNumeric& Vertica::PartitionWriterNumericColumn::append()
inline Returns a reference to the next element to write. Setting its members will update the data in the PartitionWriter
Note that the underlying object is re-used, so the object references should not be retained between calls to append
void Vertica::PartitionWriterNumericColumn::directCopy(uint64 * src, size_t elementsToCopy, int32 srcTypAttr, size_t elementSize)
inline Elements must be in 2s compliment and in a compatible encoding; check the value of getTypmod to ensure that encodings are identical
const VNumeric& Vertica::PartitionWriterNumericColumn::getRef(size_t offset_from_start)
inline Returns a reference to a previously written element.
Note that the underlying object is re-used, so the object references should not be retained between calls to append
int Vertica::BasePartitionWriterColumn::getStrideLength()
inline inherited Returns the size of each element in the column