C++ SDK Documentation
23.4.0
|
Represents (unsized) types of the columns used as input/output of a User Defined Function/Transform Function. More...
Public Member Functions | |
void | addAny () |
Indicates that function can take any number and type of arguments. | |
ColumnTypes & | addArrayType (Oid elementOid) |
Adds a column of 1D array type. More... | |
ColumnTypes & | addArrayType (const ColumnTypes &elementprototype) |
Adds a column of complex array type. More... | |
ColumnTypes & | addBinary () |
Adds a column of type BINARY. More... | |
ColumnTypes & | addBool () |
Adds a column of type BOOLEAN. More... | |
ColumnTypes & | addChar () |
Adds a column of type CHAR. More... | |
ColumnTypes & | addDate () |
Adds a column of type DATE. More... | |
ColumnTypes & | addFloat () |
Adds a column of type FLOAT. More... | |
ColumnTypes & | addInt () |
Adds a column of type INTEGER. More... | |
ColumnTypes & | addInterval () |
Adds a column of type INTERVAL/INTERVAL DAY TO SECOND. More... | |
ColumnTypes & | addIntervalYM () |
Adds a column of type INTERVAL YEAR TO MONTH. More... | |
ColumnTypes & | addLongVarbinary () |
Adds a column of type VARBINARY. More... | |
ColumnTypes & | addLongVarchar () |
Adds a column of type VARBINARY. More... | |
ColumnTypes & | addNumeric () |
Adds a column of type NUMERIC. More... | |
ColumnTypes & | addRowType (const ColumnTypes &rowprototype) |
Adds a column of complex row type. More... | |
ColumnTypes & | addTime () |
Adds a column of type TIME. More... | |
ColumnTypes & | addTimestamp () |
Adds a column of type TIMESTAMP. More... | |
ColumnTypes & | addTimestampTz () |
Adds a column of type TIMESTAMP WITH TIMEZONE. More... | |
ColumnTypes & | addTimeTz () |
Adds a column of type TIME WITH TIMEZONE. More... | |
ColumnTypes & | addType (Oid typeOid, const ColumnTypes &complexFields=ColumnTypes()) |
ColumnTypes & | addUserDefinedType (const char *typeName) |
Adds a column of user-defined type. More... | |
ColumnTypes & | addUuid () |
Adds a column of type UUID. More... | |
ColumnTypes & | addVarbinary () |
Adds a column of type VARBINARY. More... | |
ColumnTypes & | addVarchar () |
Adds a column of type VARCHAR. More... | |
template<typename strtype = std::string> | |
strtype | toString () const |
Represents (unsized) types of the columns used as input/output of a User Defined Function/Transform Function.
This class is used only for generating the function or transform function prototype, where the sizes and/or precisions of the data types are not known.
|
inline |
Adds a column of 1D array type.
elementOid | the type of the array element |
Referenced by addArrayType().
|
inline |
Adds a column of complex array type.
rowprototype | the fields of the complex array element |
|
inline |
Adds a column of type BINARY.
|
inline |
Adds a column of type BOOLEAN.
|
inline |
Adds a column of type CHAR.
|
inline |
Adds a column of type DATE.
|
inline |
Adds a column of type FLOAT.
|
inline |
Adds a column of type INTEGER.
|
inline |
Adds a column of type INTERVAL/INTERVAL DAY TO SECOND.
|
inline |
Adds a column of type INTERVAL YEAR TO MONTH.
|
inline |
Adds a column of type VARBINARY.
|
inline |
Adds a column of type VARBINARY.
|
inline |
Adds a column of type NUMERIC.
|
inline |
Adds a column of complex row type.
rowprototype | the fields of the complex row type |
|
inline |
Adds a column of type TIME.
|
inline |
Adds a column of type TIMESTAMP.
|
inline |
Adds a column of type TIMESTAMP WITH TIMEZONE.
|
inline |
Adds a column of type TIME WITH TIMEZONE.
|
inline |
Add a generic column to the prototype. Complex type fields are allowed only for complex types.
|
inline |
Adds a column of user-defined type.
|
inline |
Adds a column of type UUID.
|
inline |
Adds a column of type VARBINARY.
|
inline |
Adds a column of type VARCHAR.