|  | C++ SDK Documentation
    24.2.0
    | 
A wrapper around a single intermediate aggregate value. More...


| Public Member Functions | |
| IntermediateAggs (size_t ninter) | |
| void | copy (const VerticaBlock &other) | 
| vbool * | getBoolPtr (size_t idx) | 
| Get a pointer to a BOOLEAN value from the intermediate results set.  More... | |
| vbool & | getBoolRef (size_t idx) | 
| Get a reference to a BOOLEAN value from the intermediate results set.  More... | |
| template<class T > | |
| const T * | getColPtr (size_t idx) const | 
| template<> | |
| const VString * | getColPtr (size_t idx) const | 
| template<> | |
| const VNumeric * | getColPtr (size_t idx) const | 
| template<> | |
| const VUuid * | getColPtr (size_t idx) const | 
| template<> | |
| const BlockReader * | getColPtr (size_t idx) const | 
| template<class T > | |
| T * | getColPtrForWrite (size_t idx) | 
| template<> | |
| VString * | getColPtrForWrite (size_t idx) | 
| template<> | |
| VNumeric * | getColPtrForWrite (size_t idx) | 
| template<> | |
| VUuid * | getColPtrForWrite (size_t idx) | 
| template<> | |
| BlockWriter * | getColPtrForWrite (size_t idx) | 
| template<class T > | |
| const T & | getColRef (size_t idx) const | 
| template<class T > | |
| T & | getColRefForWrite (size_t idx) | 
| int | getColStride (size_t idx) const | 
| const EE::DataArea * | getDataArea (size_t idx) const | 
| DateADT * | getDatePtr (size_t idx) | 
| Get a pointer to a DATE value from the intermediate results set.  More... | |
| DateADT & | getDateRef (size_t idx) | 
| Get a reference to a DATE value from the intermediate results set.  More... | |
| vfloat * | getFloatPtr (size_t idx) | 
| Get a pointer to a FLOAT value from the intermediate results set.  More... | |
| vfloat & | getFloatRef (size_t idx) | 
| Get a reference to a FLOAT value from the intermediate results set.  More... | |
| Interval * | getIntervalPtr (size_t idx) | 
| Get a pointer to an INTERVAL value from the intermediate results set.  More... | |
| Interval & | getIntervalRef (size_t idx) | 
| Get a reference to an INTERVAL value from the intermediate results set.  More... | |
| IntervalYM * | getIntervalYMPtr (size_t idx) | 
| Get a pointer to a INTERVAL YEAR TO MONTH value from the intermediate results set.  More... | |
| IntervalYM & | getIntervalYMRef (size_t idx) | 
| Get a reference to an INTERVAL YEAR TO MONTH value from the intermediate results set.  More... | |
| vint * | getIntPtr (size_t idx) | 
| Get a pointer to an INTEGER value from the intermediate results set.  More... | |
| vint & | getIntRef (size_t idx) | 
| Get a reference to an INTEGER value from the intermediate results set.  More... | |
| size_t | getNumCols () const | 
| VNumeric * | getNumericPtr (size_t idx) | 
| Get a pointer to a VNumeric value from the intermediate results set.  More... | |
| VNumeric & | getNumericRef (size_t idx) | 
| Get a reference to a VNumeric value from the intermediate results set.  More... | |
| int | getNumRows () const | 
| VString * | getStringPtr (size_t idx) | 
| Get a pointer to a VString value from the intermediate results set.  More... | |
| VString & | getStringRef (size_t idx) | 
| Get a reference to an VString value from the intermediate results set.  More... | |
| TimeADT * | getTimePtr (size_t idx) | 
| Get a pointer to a TIME value from the intermediate results set.  More... | |
| TimeADT & | getTimeRef (size_t idx) | 
| Get a reference to a TIME value from the intermediate results set.  More... | |
| Timestamp * | getTimestampPtr (size_t idx) | 
| Get a pointer to a TIMESTAMP value from the intermediate results set.  More... | |
| Timestamp & | getTimestampRef (size_t idx) | 
| Get a reference to a TIMESTAMP value from the intermediate results set.  More... | |
| TimestampTz * | getTimestampTzPtr (size_t idx) | 
| Get a pointer to a TIMESTAMP WITH TIMEZONE value from the intermediate results set.  More... | |
| TimestampTz & | getTimestampTzRef (size_t idx) | 
| Get a reference to a TIMESTAMP WITH TIMEZONE value from the intermediate results set.  More... | |
| TimeTzADT * | getTimeTzPtr (size_t idx) | 
| Get a pointer to a TIME WITH TIMEZONE value from the intermediate results set.  More... | |
| TimeTzADT & | getTimeTzRef (size_t idx) | 
| Get a reference to a TIME WITH TIMEZONE value from the intermediate results set.  More... | |
| const SizedColumnTypes & | getTypeMetaData () const | 
| SizedColumnTypes & | getTypeMetaData () | 
| VUuid * | getUuidPtr (size_t idx) | 
| Get a pointer to a VUuid value from the intermediate results set.  More... | |
| VUuid & | getUuidRef (size_t idx) | 
| Get a reference to a VUuid value from the intermediate results set.  More... | |
| void * | getVoidPtr (size_t idx=0) | 
| const void * | getVoidPtr (size_t idx=0) const | 
| bool | remaining () const | 
| virtual void | resetForDataAreaFlush () | 
| void | setDataArea (size_t idx, void *dataarea) | 
| Protected Member Functions | |
| void | addCol (char *arg, int colstride, const Field &field) | 
| void | addCol (const char *arg, int colstride, const Field &field) | 
| bool | checkStringUserBlockInfo (size_t idx) const | 
| bool | checkTimeUserBlockInfo (size_t idx) const | 
| EE::DataArea ** | getArrayIntermediateDataArea (size_t c) | 
| void | reset () | 
| void | resetIndex () | 
| void | setRowCount (int rowCount) | 
| void | validateStringColumn (size_t idx, const VString &s, size_t colLength) const | 
| Protected Attributes | |
| std::vector< char * > | cols | 
| std::vector< int > | colstrides | 
| int | count | 
| std::vector< NestedBlockPtr > | ctWrappers | 
| int | index | 
| const int * | indices | 
| size_t | ncols | 
| int | nrows | 
| std::vector< BaseDataOID > | processBlockUserInfoVector | 
| std::vector< VString > | svWrappers | 
| SizedColumnTypes | typeMetaData | 
| std::vector< VUuid > | uuWrappers | 
| std::vector< VNumeric > | vnWrappers | 
A wrapper around a single intermediate aggregate value.
| 
 | protectedinherited | 
Add the location for reading a particular argument.
| arg | The base location to find data. | 
| colstride | The stride between data instances. | 
| field | metadata for the added column | 
| dt | The type of input. | 
| fieldname | the name of the field | 
Referenced by Vertica::ParamReader::addParameter().
| 
 | inlineprotectedinherited | 
| 
 | inline | 
Get a pointer to a BOOLEAN value from the intermediate results set.
| idx | The column number in the intermediate results set to retrieve. | 
Referenced by getBoolRef().
| 
 | inline | 
Get a reference to a BOOLEAN value from the intermediate results set.
| idx | The column number to retrieve from the intermediate results set. | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
Example: const vint a = arg_reader->getColRef<vint>(0);
| 
 | inline | 
Get a pointer to a DATE value from the intermediate results set.
| idx | The column number in the intermediate results set to retrieve. | 
Referenced by getDateRef().
| 
 | inline | 
Get a reference to a DATE value from the intermediate results set.
| idx | The column number to retrieve from the intermediate results set. | 
| 
 | inline | 
Get a pointer to a FLOAT value from the intermediate results set.
| idx | The column number in the intermediate results set to retrieve. | 
Referenced by getFloatRef().
| 
 | inline | 
Get a reference to a FLOAT value from the intermediate results set.
| idx | The column number to retrieve from the intermediate results set. | 
| 
 | inline | 
Get a pointer to an INTERVAL value from the intermediate results set.
| idx | The column number in the intermediate results set to retrieve. | 
Referenced by getIntervalRef().
| 
 | inline | 
Get a reference to an INTERVAL value from the intermediate results set.
| idx | The column number to retrieve from the intermediate results set. | 
| 
 | inline | 
Get a pointer to a INTERVAL YEAR TO MONTH value from the intermediate results set.
| idx | The column number in the intermediate results set to retrieve. | 
Referenced by getIntervalYMRef().
| 
 | inline | 
Get a reference to an INTERVAL YEAR TO MONTH value from the intermediate results set.
| idx | The column number to retrieve from the intermediate results set. | 
| 
 | inline | 
Get a pointer to an INTEGER value from the intermediate results set.
| idx | The column number to retrieve from the intermediate results set. | 
Example:
Referenced by getIntRef().
| 
 | inline | 
Get a reference to an INTEGER value from the intermediate results set.
| idx | The column number to retrieve from the intermediate results set. | 
Example:
| 
 | inlineinherited | 
Referenced by Vertica::BlockWriter::copyFromInput(), Vertica::BlockReader::isNull(), and Vertica::BlockWriter::setNull().
| 
 | inline | 
Get a pointer to a VNumeric value from the intermediate results set.
| idx | The column number to retrieve from the intermediate results set. | 
Referenced by getNumericRef().
| 
 | inline | 
| 
 | inlineinherited | 
| 
 | inline | 
Get a pointer to a VString value from the intermediate results set.
| idx | The column number to retrieve from the intermediate results set. | 
Referenced by getStringRef().
| 
 | inline | 
| 
 | inline | 
Get a pointer to a TIME value from the intermediate results set.
| idx | The column number in the intermediate results set to retrieve. | 
Referenced by getTimeRef().
| 
 | inline | 
Get a reference to a TIME value from the intermediate results set.
| idx | The column number to retrieve from the intermediate results set. | 
| 
 | inline | 
Get a pointer to a TIMESTAMP value from the intermediate results set.
| idx | The column number in the intermediate results set to retrieve. | 
Referenced by getTimestampRef().
| 
 | inline | 
Get a reference to a TIMESTAMP value from the intermediate results set.
| idx | The column number to retrieve from the intermediate results set. | 
| 
 | inline | 
Get a pointer to a TIMESTAMP WITH TIMEZONE value from the intermediate results set.
| idx | The column number in the intermediate results set to retrieve. | 
Referenced by getTimestampTzRef().
| 
 | inline | 
Get a reference to a TIMESTAMP WITH TIMEZONE value from the intermediate results set.
| idx | The column number to retrieve from the intermediate results set. | 
| 
 | inline | 
Get a pointer to a TIME WITH TIMEZONE value from the intermediate results set.
| idx | The column number in the intermediate results set to retrieve. | 
Referenced by getTimeTzRef().
| 
 | inline | 
Get a reference to a TIME WITH TIMEZONE value from the intermediate results set.
| idx | The column number to retrieve from the intermediate results set. | 
| 
 | inlineinherited | 
Referenced by Vertica::ParamReader::getType(), Vertica::BlockReader::isNull(), and Vertica::BlockWriter::setNull().
| 
 | inlineinherited | 
| 
 | inline | 
Get a pointer to a VUuid value from the intermediate results set.
| idx | The column number to retrieve from the intermediate results set. | 
Referenced by getUuidRef().
| 
 | inline | 
| 
 | inlineinherited | 
| 
 | inlinevirtualinherited | 
Virtual method to be called when the Data Area fills up in a load. Should be called from the StreamWriter class. 
Reimplemented in Vertica::StreamWriter.