ParamReader¶
-
class
vertica_sdk.
ParamReader
¶ -
containsParameter
(self, pname)¶ Returns a bool.
Sees if there is a value for the parameter.
-
getBool
(self, pname)¶ Returns a bool.
-
getDate
(self, pname)¶ Returns a datetime.date.
-
getFloat
(self, pname)¶ Returns a float.
-
getInt
(self, pname)¶ Returns an int.
-
getInterval
(self, pname)¶ Returns an datetime.timedelta.
-
getIntervalYM
(self, pname)¶ Returns an int that represents an interval in months.
-
getNumeric
(self, pname)¶ Returns a decimal.Decimal.
-
getParamNames
(self)¶ Returns a str list.
The list contains all the names of the parameters.
-
getString
(self, pname)¶ Returns a str.
-
getTime
(self, pname)¶ Returns a datetime.time.
All times are in the same timezone. The timezone has been fixed to UTC.
-
getTimeTz
(self, pname)¶ Returns a datetime.time.
Uses tzinfo to store timezone information. The timezone is a constant offset from UTC.
-
getTimestamp
(self, pname)¶ Returns a datetime.datetime.
-
getTimestampTz
(self, pname)¶ Returns a datetime.datetime.
-
isEmpty
(self)¶ Returns a bool.
True if there are no parameters.
-