Vertica::PartitionWriterStringColumn Class Reference

Inheritance diagram for Vertica::PartitionWriterStringColumn:

Collaboration diagram for Vertica::PartitionWriterStringColumn:

Public Member Functions
PartitionWriterStringColumn (int _stridelength, char *_start, char *_end, const VString &wrapperTemplate)
VString & append ()
void appendNull ()
char * getAndAdvance ()
vsize getMaxSize ()
const char * getPtr (size_t offset_from_start)
const VString & getRef (size_t offset_from_start)
int getStrideLength ()
size_t getWrittenElementCount ()
Protected Member Functions
void rejectRows (std::set &rejectedRows)
Protected Attributes
char * curr
const char * end
const char * start
const int stridelength
VString wrapper
Friends
class PartitionWriterColumns

Member Function Documentation

append()

VString& Vertica::PartitionWriterStringColumn::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

getMaxSize()

vsize Vertica::PartitionWriterStringColumn::getMaxSize()

inline Returns the maximum size that can be set in the objects returned from append()

getRef()

const VString& Vertica::PartitionWriterStringColumn::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

getStrideLength()

int Vertica::BasePartitionWriterColumn::getStrideLength()

inline inherited Returns the size of each element in the column