C++ SDK Documentation
24.1.0
|
PartitionWriterColumns allow column-by-column access to PartitionWriter data. More...
Public Member Functions | |
void | commit (int64_t numRows=0) |
void | commit (std::set< uint64 > &rejectedRows, int64_t numRows=0) |
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 () |
PartitionWriterNumericColumn & | getNumericColumn (size_t idx) |
int | getRemaining () |
PartitionWriterStringColumn & | getStringColumn (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) |
PartitionWriterUuidColumn & | getUuidColumn (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 |
PartitionWriter & | writer |
Friends | |
class | PartitionWriter |
PartitionWriterColumns allow column-by-column access to PartitionWriter data.