summaryrefslogtreecommitdiffstats
path: root/fluent-bit/src/aws/compression/arrow/compress.h
blob: 82e94f43ceeae8257e6fee538a643dcdcaad2ad1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * This function converts out_s3 buffer into Apache Arrow format.
 *
 * `json` is a string that contain (concatenated) JSON objects.
 *
 * `size` is the length of the json data (excluding the trailing
 * null-terminator character).
 *
 * Return 0 on success (with `out_buf` and `out_size` updated),
 * and -1 on failure
 */

int out_s3_compress_arrow(void *json, size_t size, void **out_buf, size_t *out_size);