2019-05-11 23:15:14 +02:00
|
|
|
// Matrix Construct
|
|
|
|
//
|
|
|
|
// Copyright (C) Matrix Construct Developers, Authors & Contributors
|
|
|
|
// Copyright (C) 2016-2019 Jason Volk <jason@zemos.net>
|
|
|
|
//
|
|
|
|
// Permission to use, copy, modify, and/or distribute this software for any
|
|
|
|
// purpose with or without fee is hereby granted, provided that the above
|
|
|
|
// copyright notice and this permission notice is present in all copies. The
|
|
|
|
// full license for this software is available in the LICENSE file.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#define HAVE_IRCD_M_DBS_EVENT_JSON_H
|
|
|
|
|
|
|
|
namespace ircd::m::dbs
|
|
|
|
{
|
2020-03-25 19:06:29 +01:00
|
|
|
void _index_event_json(db::txn &, const event &, const write_opts &);
|
|
|
|
|
2019-05-11 23:15:14 +02:00
|
|
|
// event_idx => full json
|
|
|
|
extern db::column event_json;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace ircd::m::dbs::desc
|
|
|
|
{
|
2020-10-02 04:04:48 +02:00
|
|
|
extern conf::item<std::string> event_json__comp;
|
2020-03-25 19:06:29 +01:00
|
|
|
extern conf::item<size_t> event_json__block__size;
|
|
|
|
extern conf::item<size_t> event_json__meta_block__size;
|
|
|
|
extern conf::item<size_t> event_json__cache__size;
|
|
|
|
extern conf::item<size_t> event_json__cache_comp__size;
|
|
|
|
extern conf::item<size_t> event_json__bloom__bits;
|
2021-01-12 22:51:02 +01:00
|
|
|
extern conf::item<size_t> event_json__file__size__max;
|
2022-07-30 05:34:44 +02:00
|
|
|
extern conf::item<size_t> event_json__compaction_trigger;
|
2020-03-25 19:06:29 +01:00
|
|
|
extern const db::descriptor event_json;
|
2019-05-11 23:15:14 +02:00
|
|
|
}
|