Column Store
Public Member Functions | Public Attributes | Friends | List of all members
ColumnStore::ColumnStoreData Struct Reference

#include <ProjectionData.h>

Collaboration diagram for ColumnStore::ColumnStoreData:
Collaboration graph

Public Member Functions

 ColumnStoreData (std::vector< unsigned char > &data)
 
 ColumnStoreData (int size=0)
 
 ColumnStoreData (DataRecord &record, std::vector< Parser::Column > &columns)
 
 ColumnStoreData (std::vector< Parser::Column > &columns)
 
float getFloat (int i)
 
int getInt (int i)
 
std::string getString (int i, int length)
 
void setFloat (int i, float value)
 
void setInt (int i, int value)
 
void setString (int i, std::string &string)
 
void setString (int i, std::string string)
 
int size () const
 
 operator const char * () const
 
 operator char * ()
 
void read (std::istream &input)
 
void write (std::ostream &output)
 
DataRecord get (std::vector< Parser::Column > &columns)
 
void set (DataRecord &record, std::vector< Parser::Column > &columns)
 

Public Attributes

std::vector< unsigned char > data
 

Friends

std::ostream & operator<< (std::ostream &output, const ColumnStoreData &data)
 
std::istream & operator>> (std::istream &input, ColumnStoreData &data)
 

Constructor & Destructor Documentation

◆ ColumnStoreData() [1/4]

ColumnStore::ColumnStoreData::ColumnStoreData ( std::vector< unsigned char > &  data)
inline

◆ ColumnStoreData() [2/4]

ColumnStore::ColumnStoreData::ColumnStoreData ( int  size = 0)
inline

◆ ColumnStoreData() [3/4]

ColumnStore::ColumnStoreData::ColumnStoreData ( DataRecord record,
std::vector< Parser::Column > &  columns 
)
inline
Here is the call graph for this function:

◆ ColumnStoreData() [4/4]

ColumnStore::ColumnStoreData::ColumnStoreData ( std::vector< Parser::Column > &  columns)
inline
Here is the call graph for this function:

Member Function Documentation

◆ get()

DataRecord ColumnStore::ColumnStoreData::get ( std::vector< Parser::Column > &  columns)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFloat()

float ColumnStore::ColumnStoreData::getFloat ( int  i)
inline
Here is the caller graph for this function:

◆ getInt()

int ColumnStore::ColumnStoreData::getInt ( int  i)
inline
Here is the caller graph for this function:

◆ getString()

std::string ColumnStore::ColumnStoreData::getString ( int  i,
int  length 
)
inline
Here is the caller graph for this function:

◆ operator char *()

ColumnStore::ColumnStoreData::operator char * ( )
inline

◆ operator const char *()

ColumnStore::ColumnStoreData::operator const char * ( ) const
inline

◆ read()

void ColumnStore::ColumnStoreData::read ( std::istream &  input)
inline
Here is the caller graph for this function:

◆ set()

void ColumnStore::ColumnStoreData::set ( DataRecord record,
std::vector< Parser::Column > &  columns 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setFloat()

void ColumnStore::ColumnStoreData::setFloat ( int  i,
float  value 
)
inline
Here is the caller graph for this function:

◆ setInt()

void ColumnStore::ColumnStoreData::setInt ( int  i,
int  value 
)
inline
Here is the caller graph for this function:

◆ setString() [1/2]

void ColumnStore::ColumnStoreData::setString ( int  i,
std::string &  string 
)
inline
Here is the caller graph for this function:

◆ setString() [2/2]

void ColumnStore::ColumnStoreData::setString ( int  i,
std::string  string 
)
inline

◆ size()

int ColumnStore::ColumnStoreData::size ( ) const
inline
Here is the caller graph for this function:

◆ write()

void ColumnStore::ColumnStoreData::write ( std::ostream &  output)
inline
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  output,
const ColumnStoreData data 
)
friend

◆ operator>>

std::istream& operator>> ( std::istream &  input,
ColumnStoreData data 
)
friend

Member Data Documentation

◆ data

std::vector<unsigned char> ColumnStore::ColumnStoreData::data

The documentation for this struct was generated from the following file: