Vertica::SessionParamReaderMap Class Reference

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

Collaboration diagram for Vertica::SessionParamReaderMap:

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

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

  • The: namespace 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

  • The: namespace

Returns true if the SessionParamReader for the Namespace exists false otherwise

std::vector 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

  • The: namespace

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

  • The: namespace

Returns The ParamReader

void Vertica::SessionParamReaderMap::setUDSessionParamReaderMap(std::map paramReaderMap)

inline Set the SessionParamReaderMap.

Parameters

  • The: SessionParamReaderMap