mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
31 lines
640 B
C++
31 lines
640 B
C++
|
#pragma once
|
||
|
|
||
|
#include <Core/BaseSettings.h>
|
||
|
#include <Core/Settings.h>
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
class ASTStorage;
|
||
|
|
||
|
|
||
|
#define JOIN_RELATED_SETTINGS(M) \
|
||
|
M(Bool, disable_persistency, false, "Disable persistency for StorageJoin to reduce IO overhead", 0)
|
||
|
|
||
|
#define LIST_OF_JOIN_SETTINGS(M) \
|
||
|
JOIN_RELATED_SETTINGS(M) \
|
||
|
FORMAT_FACTORY_SETTINGS(M)
|
||
|
|
||
|
DECLARE_SETTINGS_TRAITS(joinSettingsTraits, LIST_OF_JOIN_SETTINGS)
|
||
|
|
||
|
|
||
|
/** Settings for the Join engine.
|
||
|
* Could be loaded from a CREATE TABLE query (SETTINGS clause).
|
||
|
*/
|
||
|
struct JoinSettings : public BaseSettings<joinSettingsTraits>
|
||
|
{
|
||
|
void loadFromQuery(ASTStorage & storage_def);
|
||
|
};
|
||
|
|
||
|
}
|