OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ddl_utils::Encoding Class Reference

#include <DdlUtils.h>

+ Inheritance diagram for ddl_utils::Encoding:

Public Member Functions

 Encoding (std::string *encoding_name, int encoding_param)
 
virtual ~Encoding ()
 
virtual const std::string * get_encoding_name () const
 
virtual int get_encoding_param () const
 

Protected Attributes

std::unique_ptr< std::string > encoding_name
 
int encoding_param
 

Detailed Description

Definition at line 61 of file DdlUtils.h.

Constructor & Destructor Documentation

ddl_utils::Encoding::Encoding ( std::string *  encoding_name,
int  encoding_param 
)

Encapsulates column definition encoding information.

Parameters
encoding_name- Type of encoding. For example, "DICT", "FIXED", etc.
encoding_param- Encoding size.

Definition at line 240 of file DdlUtils.cpp.

std::unique_ptr< std::string > encoding_name
Definition: DdlUtils.h:76
virtual ddl_utils::Encoding::~Encoding ( )
inlinevirtual

Definition at line 70 of file DdlUtils.h.

70 {}

Member Function Documentation

const std::string * ddl_utils::Encoding::get_encoding_name ( ) const
virtual

Definition at line 243 of file DdlUtils.cpp.

References encoding_name.

Referenced by ddl_utils::validate_and_set_encoding().

243  {
244  return encoding_name.get();
245 }
std::unique_ptr< std::string > encoding_name
Definition: DdlUtils.h:76

+ Here is the caller graph for this function:

int ddl_utils::Encoding::get_encoding_param ( ) const
virtual

Definition at line 247 of file DdlUtils.cpp.

References encoding_param.

Referenced by ddl_utils::validate_and_set_encoding().

247  {
248  return encoding_param;
249 }

+ Here is the caller graph for this function:

Member Data Documentation

std::unique_ptr<std::string> ddl_utils::Encoding::encoding_name
protected

Definition at line 76 of file DdlUtils.h.

Referenced by get_encoding_name().

int ddl_utils::Encoding::encoding_param
protected

Definition at line 77 of file DdlUtils.h.

Referenced by get_encoding_param().


The documentation for this class was generated from the following files: