Provides read access to a set of named parameters. This class provides type-specific methods to retrieve values.
More...
|
|
| ParamReader (size_t nparams) |
| |
| void | addParameter (std::string paramName, const char *arg, const VerticaType &dt) |
| |
|
bool | containsParameter (std::string paramName) const |
| | Function to see if the ParamReader has a value for the parameter.
|
| |
|
void | copy (const VerticaBlock &other) |
| |
|
void | copy (const ParamReader &other) |
| | Copy the other ParamReader. Discard any existing parameters TODO: create an alternate version that only copies if this ParamReader is empty, is a no-op if they are non-empty and the same, and error if they are non-empty and different.
|
| |
| const vbool * | getBoolPtr (std::string paramName) const |
| | Get a pointer to a BOOLEAN value from the input row. More...
|
| |
| const vbool & | getBoolRef (std::string paramName) const |
| | Get a reference to a BOOLEAN value from the input row. 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<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<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) |
| |
| const DateADT * | getDatePtr (std::string paramName) const |
| | Get a pointer to a DATE value from the input row. More...
|
| |
| const DateADT & | getDateRef (std::string paramName) const |
| | Get a reference to a DATE value from the input row. More...
|
| |
| const vfloat * | getFloatPtr (std::string paramName) const |
| | Get a pointer to a FLOAT value from the input row. More...
|
| |
| const vfloat & | getFloatRef (std::string paramName) const |
| | Get a reference to a FLOAT value from the input row. More...
|
| |
|
size_t | getIndex (std::string paramName) const |
| |
| const Interval * | getIntervalPtr (std::string paramName) const |
| | Get a pointer to an INTERVAL value from the input row. More...
|
| |
| const Interval & | getIntervalRef (std::string paramName) const |
| | Get a reference to an INTERVAL value from the input row. More...
|
| |
| const IntervalYM * | getIntervalYMPtr (std::string paramName) const |
| | Get a pointer to a INTERVAL YEAR TO MONTH value from the input row. More...
|
| |
| const IntervalYM & | getIntervalYMRef (std::string paramName) const |
| | Get a reference to an INTERVAL YEAR TO MONTH value from the input row. More...
|
| |
| const vint * | getIntPtr (std::string paramName) const |
| | Get a pointer to an INTEGER value from the input row. More...
|
| |
| const vint & | getIntRef (std::string paramName) const |
| | Get a reference to an INTEGER value from the input row. More...
|
| |
| size_t | getNumCols () const |
| |
| const VNumeric * | getNumericPtr (std::string paramName) const |
| | Get a pointer to a VNumeric value from the input row. More...
|
| |
| const VNumeric & | getNumericRef (std::string paramName) const |
| | Get a reference to a VNumeric value from the input row. More...
|
| |
| int | getNumRows () const |
| |
|
std::vector< std::string > | getParamNames () const |
| | Return the names of all parameters stored in this ParamReader.
|
| |
| const VString * | getStringPtr (std::string paramName) const |
| | Get a pointer to a VString value from the input row. More...
|
| |
| const VString & | getStringRef (std::string paramName) const |
| | Get a reference to an VString value from the input row. More...
|
| |
| const TimeADT * | getTimePtr (std::string paramName) const |
| | Get a pointer to a TIME value from the input row. More...
|
| |
| const TimeADT & | getTimeRef (std::string paramName) const |
| | Get a reference to a TIME value from the input row. More...
|
| |
| const Timestamp * | getTimestampPtr (std::string paramName) const |
| | Get a pointer to a TIMESTAMP value from the input row. More...
|
| |
| const Timestamp & | getTimestampRef (std::string paramName) const |
| | Get a reference to a TIMESTAMP value from the input row. More...
|
| |
| const TimestampTz * | getTimestampTzPtr (std::string paramName) const |
| | Get a pointer to a TIMESTAMP WITH TIMEZONE value from the input row. More...
|
| |
| const TimestampTz & | getTimestampTzRef (std::string paramName) const |
| | Get a reference to a TIMESTAMP WITH TIMEZONE value from the input row. More...
|
| |
| const TimeTzADT * | getTimeTzPtr (std::string paramName) const |
| | Get a pointer to a TIME WITH TIMEZONE value from the input row. More...
|
| |
| const TimeTzADT & | getTimeTzRef (std::string paramName) const |
| | Get a reference to a TIME WITH TIMEZONE value from the input row. More...
|
| |
|
VerticaType | getType (std::string paramName) const |
| | Return the type of the given parameter.
|
| |
| const SizedColumnTypes & | getTypeMetaData () const |
| |
| SizedColumnTypes & | getTypeMetaData () |
| |
| VUuid * | getUuidPtr (std::string paramName) const |
| | Get a pointer to a VUuid value from the input row. More...
|
| |
|
const VUuid & | getUuidRef (std::string paramName) const |
| |
|
void * | getVoidPtr () |
| |
|
bool | isEmpty () const |
| | Returns true if there are no parameters.
|
| |
| bool | remaining () |
| |
|
void | setDataArea (size_t idx, void *dataarea) |
| |
Provides read access to a set of named parameters. This class provides type-specific methods to retrieve values.