C++ SDK Documentation  11.0.1
Vertica::PartitionWriterColumns Class Reference

PartitionWriterColumns allow column-by-column access to PartitionWriter data. More...

Collaboration diagram for Vertica::PartitionWriterColumns:
Collaboration graph

Public Member Functions

void commit ()
 
void commit (std::set< uint64 > &rejectedRows)
 
PartitionWriterColumn< vbool > & getBoolColumn (size_t idx)
 
PartitionWriterColumn< DateADT > & getDateColumn (size_t idx)
 
PartitionWriterColumn< vfloat > & getFloatColumn (size_t idx)
 
PartitionWriterColumn< vint > & getIntColumn (size_t idx)
 
PartitionWriterColumn< Interval > & getIntervalColumn (size_t idx)
 
int getMaxRows ()
 
PartitionWriterNumericColumngetNumericColumn (size_t idx)
 
int getRemaining ()
 
PartitionWriterStringColumngetStringColumn (size_t idx)
 
PartitionWriterColumn< TimeADT > & getTimeColumn (size_t idx)
 
PartitionWriterColumn
< Timestamp > & 
getTimestampColumn (size_t idx)
 
PartitionWriterColumn
< TimestampTz > & 
getTimestampTzColumn (size_t idx)
 
PartitionWriterColumn
< TimeTzADT > & 
getTimeTzColumn (size_t idx)
 
PartitionWriterUuidColumngetUuidColumn (size_t idx)
 
void rollback ()
 

Protected Member Functions

 PartitionWriterColumns (PartitionWriter &_writer)
 
void clearCols ()
 
template<class T >
PartitionWriterColumn< T > & getCol (size_t idx)
 
template<class T >
T & getCol_ (size_t idx)
 
void populateCols ()
 
void rejectRows (std::set< uint64 > &rejectedRows)
 
void resetPointers ()
 

Protected Attributes

std::vector
< BasePartitionWriterColumn * > 
cols
 
size_t maxRows
 
PartitionWriterwriter
 

Friends

class PartitionWriter
 

Detailed Description

PartitionWriterColumns allow column-by-column access to PartitionWriter data.