include/RelationalWriter.h
branchv_0
changeset 15 8fd6c4d44071
parent 14 733334eca89b
child 16 3613617d3076
equal deleted inserted replaced
14:733334eca89b 15:8fd6c4d44071
    13 class RelationalWriter {
    13 class RelationalWriter {
    14 public:
    14 public:
    15 
    15 
    16 	virtual ~RelationalWriter() = default;
    16 	virtual ~RelationalWriter() = default;
    17 
    17 
    18 	virtual integer_t toTypeId(const string_t typeCode) = 0;
    18 	virtual TypeId toTypeId(const string_t typeCode) = 0;
    19 
    19 
    20 	virtual string_t toTypeCode(const integer_t typeId) = 0;
    20 	virtual string_t toTypeCode(const TypeId typeId) = 0;
    21 
    21 
    22 	virtual void startRelation(string_t name, std::vector<std::pair<string_t, TypeId>> attributes, boolean_t writeHeader) = 0;
    22 	virtual void startRelation(string_t name, std::vector<std::pair<string_t, TypeId>> attributes, boolean_t writeHeader) = 0;
    23 
    23 
    24 	virtual void writeRecord(std::vector<string_t> attributes) = 0;
    24 	virtual void writeRecord(std::vector<string_t> attributes) = 0;
    25 
    25