Provides write access to a set of named parameters. This class extends ParamReader to add type-specific methods to write values.
More...
|
|
| ParamWriter (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...
|
| |
| 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...
|
| |
| 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...
|
| |
Provides write access to a set of named parameters. This class extends ParamReader to add type-specific methods to write values.