ServerInterface¶
-
class
vertica_sdk.
ServerInterface
¶ -
getDatabaseName
(self)¶ Returns the name of the database in which this code is executed.
-
getLocale
(self)¶ Returns the locale of the current session.
-
getNodeName
(self)¶ Returns the name of the vertica node on which this code is executed.
-
getParamReader
(self)¶ Allows the ability to access parameter values using their names.
Returns a
vertica_sdk.ParamReader
containing named parameters for a UDX.
-
getUDSessionParamReader
(self, nsp)¶ Returns a
vertica_sdk.ParamReader
for a user-defined session parameter namespace.
-
getUserName
(self)¶ Returns the username of the current session.
-
log
(self, message)¶ Logs a message.
Returns
None
.
-
reportError
(self, code, text, hint=u'', detail=u'')¶
-
reportInfo
(self, code, text, hint=u'', detail=u'')¶
-
reportNotice
(self, code, text, hint=u'', detail=u'')¶
-
reportWarning
(self, code, text, hint=u'', detail=u'')¶
-