OmniSciDB  95562058bd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 199 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 202 of file DdlUtils.cpp.

References encoding_name.

Referenced by ddl_utils::validate_and_set_encoding().

202  {
203  return encoding_name.get();
204 }
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 206 of file DdlUtils.cpp.

References encoding_param.

Referenced by ddl_utils::validate_and_set_encoding().

206  {
207  return encoding_param;
208 }

+ 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: