![]() |
C++ SDK Documentation
9.3.0
|
: Represents an in-memory block of tuples More...


Public Member Functions | |
| VerticaBlock (size_t ncols, int rowcount, const int *indices) | |
| void | copy (const VerticaBlock &other) |
| template<class T > | |
| const T * | getColPtr (size_t idx) const |
| template<class T > | |
| T * | getColPtrForWrite (size_t idx) |
| template<class T > | |
| const T & | getColRef (size_t idx) |
| template<class T > | |
| T & | getColRefForWrite (size_t idx) |
| int | getColStride (size_t idx) const |
| const EE::DataArea * | getDataArea (size_t idx) |
| size_t | getNumCols () const |
| int | getNumRows () const |
| const SizedColumnTypes & | getTypeMetaData () const |
| SizedColumnTypes & | getTypeMetaData () |
| void * | getVoidPtr () |
| void | setDataArea (size_t idx, void *dataarea) |
Protected Member Functions | |
| void | addCol (char *arg, int colstride, const VerticaType &dt, const std::string fieldName="") |
| void | addCol (const char *arg, int colstride, const VerticaType &dt, const std::string fieldName="") |
| bool | checkStringUserBlockInfo (size_t idx) const |
| bool | checkTimeUserBlockInfo (size_t idx) const |
| 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 |
| 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 |
: Represents an in-memory block of tuples
|
inlineprotected |
Add the location for reading a particular argument.
| arg | The base location to find data. |
| colstride | The stride between data instances. |
| dt | The type of input. |
| fieldname | the name of the field |
Referenced by Vertica::ParamReader::addParameter().
|
inline |
Example:
Referenced by Vertica::PartitionWriter::copyFromInput().
|
inline |
Example: const vint a = arg_reader->getColRef<vint>(0);
|
inline |
Referenced by Vertica::BlockReader::isNull().
|
inline |
|
inline |
Referenced by Vertica::PartitionWriter::copyFromInput(), Vertica::ParamReader::getType(), Vertica::BlockReader::isNull(), Vertica::BlockWriter::setNull(), and Vertica::PartitionWriter::setNull().
|
inline |