C++ SDK Documentation  23.3.0
Vertica::SessionParamReaderMap Class Reference

This class provides an interface for reading the Used defined session parameters. More...

Collaboration diagram for Vertica::SessionParamReaderMap:
Collaboration graph

Public Member Functions

void addUDSessionParamReader (const std::string &nsp, ParamReader &sessionParamReader)
 Add a Session ParamReader for a namespace. More...
 
bool containsNamespace (const std::string nsp) const
 Check if a SessionParamReader for the Namespace exists in the map. More...
 
std::vector< std::string > getNamespaces () const
 Gets the names of all namespaces. More...
 
void getUDSessionParamReader (const std::string &nsp, ParamReader &pReader)
 Get a SessionParamReader for a namespace. More...
 
const ParamReadergetUDSessionParamReader (const std::string &nsp) const
 Get the SessionParamReader for the Namespace. More...
 
void setUDSessionParamReaderMap (std::map< std::string, ParamReader > paramReaderMap)
 Set the SessionParamReaderMap. More...
 

Detailed Description

This class provides an interface for reading the Used defined session parameters.

Member Function Documentation

void Vertica::SessionParamReaderMap::addUDSessionParamReader ( const std::string &  nsp,
ParamReader sessionParamReader 
)
inline

Add a Session ParamReader for a namespace.

Parameters
Thenamespace and the ParamReader
bool Vertica::SessionParamReaderMap::containsNamespace ( const std::string  nsp) const
inline

Check if a SessionParamReader for the Namespace exists in the map.

Parameters
Thenamespace
Returns
true if the SessionParamReader for the Namespace exists false otherwise
std::vector<std::string> Vertica::SessionParamReaderMap::getNamespaces ( ) const
inline

Gets the names of all namespaces.

Returns
a vector of column namespaces
void Vertica::SessionParamReaderMap::getUDSessionParamReader ( const std::string &  nsp,
ParamReader pReader 
)
inline

Get a SessionParamReader for a namespace.

Parameters
Thenamespace
Returns
The SessionParamReader

Referenced by Vertica::ServerInterface::getUDSessionParamReader().

const ParamReader& Vertica::SessionParamReaderMap::getUDSessionParamReader ( const std::string &  nsp) const
inline

Get the SessionParamReader for the Namespace.

Parameters
Thenamespace
Returns
The ParamReader
void Vertica::SessionParamReaderMap::setUDSessionParamReaderMap ( std::map< std::string, ParamReader paramReaderMap)
inline