|
|
| ExecutorParamWriter (VTAllocator *allocator=NULL) |
| |
|
void | clearParameter (std::string fieldName) |
| |
| VString & | getLongStringRef (std::string fieldName) |
| | Allocates a new VString object to use as output. Sets it to be a 32mb LONG type by default. More...
|
| |
| VNumeric & | getNumericRef (std::string fieldName) |
| | Allocate a new VNumeric object to use as output. More...
|
| |
|
template<class T > |
| T * | getPointer (std::string fieldName) const |
| |
| VString & | getStringRef (std::string fieldName) |
| | Allocates a new VString object to use as output. More...
|
| |
| VUuid & | getUuidRef (std::string fieldName) |
| | Allocate a new VUuid object to use as output. More...
|
| |
| void | setAllocator (VTAllocator *allocator) |
| | Sets the allocator to be used to allocate variable size param values such as VString. Given allocator live longer than this ParamWriter. More...
|
| |
| void | setBool (std::string fieldName, vbool r) |
| | Adds a BOOLEAN value to the output row. More...
|
| |
| void | setDate (std::string fieldName, DateADT r) |
| | Adds a BOOLEAN value to the output row. More...
|
| |
| void | setFloat (std::string fieldName, vfloat r) |
| | Adds a FLOAT value to the output row. More...
|
| |
| void | setInt (std::string fieldName, vint r) |
| | Adds an INTEGER value to the output row. More...
|
| |
| void | setInterval (std::string fieldName, Interval r, int32 precision, int32 range) |
| | Adds an INTERVAL value to the output row. More...
|
| |
| void | setIntervalYM (std::string fieldName, IntervalYM r, int32 range) |
| | Adds an INTERVAL YEAR TO MONTH value to the output row. More...
|
| |
|
template<class T > |
| void | setPointer (std::string fieldName, T *ptr) |
| |
| void | setTime (std::string fieldName, TimeADT r, int32 precision) |
| | Adds a TIME value to the output row. More...
|
| |
| void | setTimestamp (std::string fieldName, Timestamp r, int32 precision) |
| | Adds a TIMESTAMP value to the output row. More...
|
| |
| void | setTimestampTz (std::string fieldName, TimestampTz r, int32 precision) |
| | Adds a TIMESTAMP WITH TIMEZONE value to the output row. More...
|
| |
| void | setTimeTz (std::string fieldName, TimeTzADT r, int32 precision) |
| | Adds a TIME WITH TIMEZONE value to the output row. More...
|
| |
An ExecutorParamWriter is a ParamWriter whose scope is limited to a single executor node - it will never be serialized for transfer to a different node. As a result, any object which is allocated from a Vertica memory pool (i.e. a ServerInterface's allocator object) can have its address saved in the ExecutorParamWriter (see setPointer()), and be safely retrieved later on (see getPointer()) from a different API call in the same query.