blob: 7f23e127ab46601418af45f082fefdf8445070f7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#pragma once
#include <Processors/Formats/Impl/JSONColumnsBlockInputFormatBase.h>
namespace DB
{
/* Format JSONCompactColumns reads each block of data in the next format:
* [
* [value1, value2, value3, ...],
* [value1, value2m value3, ...],
* ...
* ]
*/
class JSONCompactColumnsReader : public JSONColumnsReaderBase
{
public:
JSONCompactColumnsReader(ReadBuffer & in_);
void readChunkStart() override;
std::optional<String> readColumnStart() override;
bool checkChunkEnd() override;
};
}
|