Go to the documentation of this file.
23 }
else if (type ==
"float") {
26 }
else if (type.substr(0, 6) ==
"string") {
28 size = stoi(type.substr(6));
34 operator int() {
return size; };
63 operator int() {
return type; }
DataType
Different datatypes supported by this project.
Definition: Column.h:16
Column Metadata and Type information.
ColumnStore::DataType dataType
Definition: Column.h:8
ColumnStore::Column getColumnStoreColumn()
Definition: Column.h:55
int index
Index of the column in the data record.
Definition: Column.h:50
Struct which maintains metadata of a single column.
Definition: Column.h:22
DataType(std::string type)
Definition: Column.h:19
Column(std::string name, DataType type, int index=-1)
Definition: Column.h:52
std::string name
name of the column
Definition: Column.h:40
DataType type
data type of the column
Definition: Column.h:43
DataType(ColumnStore::DataType dataType, int size=0)
Definition: Column.h:10
int size
Definition: Column.h:9
DataType(const char *type)
Definition: Column.h:17