Inheritance diagram for Vertica::StreamWriter:

Public Member Functions | |
| void | copyFromInput (size_t dstIdx, PartitionReader &input_reader, size_t srcIdx) |
| template<class T> | |
| const T * | getColPtr (size_t idx) |
| 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) |
| PartitionWriterColumns | getColumns () |
| const EE::DataArea * | getDataArea (size_t idx) |
| size_t | getNumCols () const |
| VNumeric & | getNumericRef (size_t idx) |
| int | getNumRows () const |
| VString & | getStringRef (size_t idx) |
| VString & | getStringRefNoClear (size_t idx) |
| uint64 | getTotalRowCount () |
| SizedColumnTypes & | getTypeMetaData () |
| const SizedColumnTypes & | getTypeMetaData () const |
| void * | getVoidPtr () |
| void * | getVoidPtr (size_t idx) |
| virtual bool | getWriteableBlock () |
| bool | next () |
| void | setBool (size_t idx, vbool r) |
| void | setDataArea (size_t idx, void *dataarea) |
| void | setDate (size_t idx, DateADT r) |
| void | setFloat (size_t idx, vfloat r) |
| void | setInt (size_t idx, vint r) |
| void | setInterval (size_t idx, Interval r) |
| void | setNull (size_t idx) |
| Set the idx'th argument to null. | |
| void | setTime (size_t idx, TimeADT r) |
| void | setTimestamp (size_t idx, Timestamp r) |
| void | setTimestampTz (size_t idx, TimestampTz r) |
| void | setTimeTz (size_t idx, TimeTzADT r) |
| StreamWriter (size_t narg, void *udl) | |
| void | validateColumn (size_t idx) |
Protected Member Functions | |
| void | addCol (const char *arg, int colstride, const VerticaType &dt, const std::string fieldName="") |
| void | addCol (char *arg, int colstride, const VerticaType &dt, const std::string fieldName="") |
| bool | commitPrefilledRows (int nRows) |
| void | validateStringColumn (size_t idx, const VString &s, const VerticaType &t) |
| friend | void::copyDataToPlanPool (VerticaBlock *block) |
Protected Attributes | |
| union { | |
| EE::UserDefinedAnalytic * udan | |
| EE::UserDefinedTransform * udt | |
| EE::UserDefinedProcess * udx_object | |
| }; | |
| std::vector< char * > | cols |
| std::vector< int > | colstrides |
| int | count |
| uint64 | cumulative_rows |
| int | index |
| const int * | indices |
| size_t | ncols |
| int | nrows |
| void * | parent |
| int | pstart |
| std::vector< VString > | svWrappers |
| SizedColumnTypes | typeMetaData |
| std::vector< VNumeric > | vnWrappers |
Friends | |
| class | ::EE::UserDefinedAggregate |
| class | ::EE::UserDefinedAnalytic |
| class | ::EE::UserDefinedProcess |
| class | ::EE::UserDefinedTransform |
| class | AggregateFunction |
| struct | CPPExecContext |
| class | EE::Loader::UserDefinedLoad |
| class | EE::UserDefinedAnalytic |
| class | EE::UserDefinedProcess |
| class | EE::UserDefinedTransform |
| class | PartitionWriterColumns |
| class | VerticaBlockSerializer |
| void Vertica::VerticaBlock::addCol | ( | char * | arg, | |
| int | colstride, | |||
| const VerticaType & | dt, | |||
| const std::string | fieldName = "" | |||
| ) | [inline, protected, inherited] |
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 |
| void Vertica::PartitionWriter::copyFromInput | ( | size_t | dstIdx, | |
| PartitionReader & | input_reader, | |||
| size_t | srcIdx | |||
| ) | [inline, inherited] |
Copies a column from the input reader to the output writer. The data types and sizes of the source and destination columns must match exactly.
| dstIdx | The destination column index (in the output writer) | |
| input_reader | The input reader from which to copy a column | |
| srcIdx | The source column index (in the input reader) |
| const T* Vertica::VerticaBlock::getColPtr | ( | size_t | idx | ) | [inline, inherited] |
| const T& Vertica::VerticaBlock::getColRef | ( | size_t | idx | ) | [inline, inherited] |
| size_t Vertica::VerticaBlock::getNumCols | ( | ) | const [inline, inherited] |
| int Vertica::VerticaBlock::getNumRows | ( | ) | const [inline, inherited] |
| SizedColumnTypes& Vertica::VerticaBlock::getTypeMetaData | ( | ) | [inline, inherited] |
| const SizedColumnTypes& Vertica::VerticaBlock::getTypeMetaData | ( | ) | const [inline, inherited] |
| virtual bool Vertica::StreamWriter::getWriteableBlock | ( | ) | [virtual] |
Gets a writeable block of data and positions cursor at the beginning.
Reimplemented from Vertica::PartitionWriter.
| void Vertica::PartitionWriter::setInt | ( | size_t | idx, | |
| vint | r | |||
| ) | [inline, inherited] |
Setter methods
| void Vertica::PartitionWriter::setNull | ( | size_t | idx | ) | [inline, inherited] |
Set the idx'th argument to null.
| idx | The column number in the row to set to null |