Vertica::SessionParamWriterMap Class Reference

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

Collaboration diagram for Vertica::SessionParamWriterMap:

Public Member Functions
SessionParamWriterMap (VTAllocator *allocator=NULL)
void addUDSessionParamWriter (const std::string &nsp, ParamWriter &sessionParamWriter)
Add a SessionParamWriter for a namespace.
bool containsNamespace (const std::string nsp) const
Check if a SessionParamWriter for the Namespace exists in the map.
std::vector getNamespaces () const
Gets the names of all namespaces.
ParamWriter & getUDSessionParamWriter (const std::string &nsp)
Get a SessionParamWriter for a namespace.
const ParamWriter & getUDSessionParamWriter (const std::string &nsp) const
Get a SessionParamWriter for a namespace.
ParamWriter & getUDSessionParamWriter ()
Get a SessionParamWriter for a namespace library.
void setAllocator (VTAllocator *allocator)

Detailed Description

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

Member Function Documentation

void Vertica::SessionParamWriterMap::addUDSessionParamWriter(const std::string & nsp, ParamWriter & sessionParamWriter)

inline Add a SessionParamWriter for a namespace.

Parameters

  • The: namespace and the ParamReader

Referenced by getUDSessionParamWriter().

bool Vertica::SessionParamWriterMap::containsNamespace(const std::string nsp) const

inline Check if a SessionParamWriter for the Namespace exists in the map.

Parameters

  • The: namespace

Returns true if the SessionParamWriter for the Namespace exists false otherwise

std::vector Vertica::SessionParamWriterMap::getNamespaces() const

inline Gets the names of all namespaces.

Returns a vector of column namespaces

ParamWriter& Vertica::SessionParamWriterMap::getUDSessionParamWriter(const std::string & nsp)

inline Get a SessionParamWriter for a namespace.

Parameters

  • The: namespace

Returns The SessionParamWriter

const ParamWriter& Vertica::SessionParamWriterMap::getUDSessionParamWriter(const std::string & nsp) const

inline Get a SessionParamWriter for a namespace.

Parameters

  • The: namespace

Returns The SessionParamWriter

ParamWriter& Vertica::SessionParamWriterMap::getUDSessionParamWriter()

inline Get a SessionParamWriter for a namespace library.

Returns The SessionParamWriter