author | František Kučera <franta-hg@frantovo.cz> |
Sun, 09 Sep 2018 21:01:17 +0200 | |
branch | v_0 |
changeset 22 | e81019af67dc |
parent 19 | 3e1308e7606d |
child 29 | 755978b0935c |
permissions | -rw-r--r-- |
16 | 1 |
#pragma once |
2 |
||
3 |
#include <vector> |
|
4 |
||
5 |
#include "../TypeId.h" |
|
22
e81019af67dc
use AttributeMetadata instead of std::pair for relation header
František Kučera <franta-hg@frantovo.cz>
parents:
19
diff
changeset
|
6 |
#include "AttributeMetadata.h" |
16 | 7 |
|
8 |
namespace relpipe { |
|
9 |
namespace reader { |
|
10 |
namespace handlers { |
|
11 |
||
12 |
class RelationalReaderBaseHadler { |
|
13 |
public: |
|
14 |
virtual ~RelationalReaderBaseHadler() = default; |
|
15 |
||
22
e81019af67dc
use AttributeMetadata instead of std::pair for relation header
František Kučera <franta-hg@frantovo.cz>
parents:
19
diff
changeset
|
16 |
virtual void startRelation(string_t name, std::vector<AttributeMetadata> attributes) = 0; |
19
3e1308e7606d
add endOfPipe() to handlers
František Kučera <franta-hg@frantovo.cz>
parents:
16
diff
changeset
|
17 |
|
22
e81019af67dc
use AttributeMetadata instead of std::pair for relation header
František Kučera <franta-hg@frantovo.cz>
parents:
19
diff
changeset
|
18 |
virtual void endOfPipe() = 0; |
16 | 19 |
|
20 |
}; |
|
21 |
||
22 |
} |
|
23 |
} |
|
19
3e1308e7606d
add endOfPipe() to handlers
František Kučera <franta-hg@frantovo.cz>
parents:
16
diff
changeset
|
24 |
} |