mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Less deps for SettingsEnums.h
This commit is contained in:
parent
b08be12252
commit
71afe96e0f
@ -3,6 +3,7 @@
|
|||||||
#include <Core/Joins.h>
|
#include <Core/Joins.h>
|
||||||
#include <Core/LogsLevel.h>
|
#include <Core/LogsLevel.h>
|
||||||
#include <Core/SettingsFields.h>
|
#include <Core/SettingsFields.h>
|
||||||
|
#include <Core/ShortCircuitFunctionEvaluation.h>
|
||||||
#include <Formats/FormatSettings.h>
|
#include <Formats/FormatSettings.h>
|
||||||
#include <IO/ReadSettings.h>
|
#include <IO/ReadSettings.h>
|
||||||
#include <Parsers/ASTSQLSecurity.h>
|
#include <Parsers/ASTSQLSecurity.h>
|
||||||
@ -292,13 +293,6 @@ enum class StreamingHandleErrorMode : uint8_t
|
|||||||
|
|
||||||
DECLARE_SETTING_ENUM(StreamingHandleErrorMode)
|
DECLARE_SETTING_ENUM(StreamingHandleErrorMode)
|
||||||
|
|
||||||
enum class ShortCircuitFunctionEvaluation : uint8_t
|
|
||||||
{
|
|
||||||
ENABLE, // Use short-circuit function evaluation for functions that are suitable for it.
|
|
||||||
FORCE_ENABLE, // Use short-circuit function evaluation for all functions.
|
|
||||||
DISABLE, // Disable short-circuit function evaluation.
|
|
||||||
};
|
|
||||||
|
|
||||||
DECLARE_SETTING_ENUM(ShortCircuitFunctionEvaluation)
|
DECLARE_SETTING_ENUM(ShortCircuitFunctionEvaluation)
|
||||||
|
|
||||||
enum class TransactionsWaitCSNMode : uint8_t
|
enum class TransactionsWaitCSNMode : uint8_t
|
||||||
|
15
src/Core/ShortCircuitFunctionEvaluation.h
Normal file
15
src/Core/ShortCircuitFunctionEvaluation.h
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
|
namespace DB
|
||||||
|
{
|
||||||
|
|
||||||
|
enum class ShortCircuitFunctionEvaluation : uint8_t
|
||||||
|
{
|
||||||
|
ENABLE, // Use short-circuit function evaluation for functions that are suitable for it.
|
||||||
|
FORCE_ENABLE, // Use short-circuit function evaluation for all functions.
|
||||||
|
DISABLE, // Disable short-circuit function evaluation.
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <Core/ShortCircuitFunctionEvaluation.h>
|
||||||
#include <Interpreters/Context_fwd.h>
|
#include <Interpreters/Context_fwd.h>
|
||||||
#include <Core/SettingsEnums.h>
|
|
||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
|
||||||
|
@ -2,21 +2,19 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
#include <Core/Types.h>
|
|
||||||
#include <Core/SettingsEnums.h>
|
|
||||||
#include <Core/BackgroundSchedulePool.h>
|
#include <Core/BackgroundSchedulePool.h>
|
||||||
#include <Common/ZooKeeper/ZooKeeper.h>
|
#include <Core/Types.h>
|
||||||
#include <Storages/ObjectStorage/StorageObjectStorage.h>
|
#include <Storages/ObjectStorage/StorageObjectStorage.h>
|
||||||
#include <Storages/ObjectStorageQueue/ObjectStorageQueueIFileMetadata.h>
|
#include <Storages/ObjectStorageQueue/ObjectStorageQueueIFileMetadata.h>
|
||||||
#include <Storages/ObjectStorageQueue/ObjectStorageQueueOrderedFileMetadata.h>
|
#include <Storages/ObjectStorageQueue/ObjectStorageQueueOrderedFileMetadata.h>
|
||||||
#include <Storages/ObjectStorageQueue/ObjectStorageQueueSettings.h>
|
#include <Storages/ObjectStorageQueue/ObjectStorageQueueSettings.h>
|
||||||
|
#include <Common/ZooKeeper/ZooKeeper.h>
|
||||||
|
|
||||||
namespace fs = std::filesystem;
|
namespace fs = std::filesystem;
|
||||||
namespace Poco { class Logger; }
|
namespace Poco { class Logger; }
|
||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
struct ObjectStorageQueueSettings;
|
|
||||||
class StorageObjectStorageQueue;
|
class StorageObjectStorageQueue;
|
||||||
struct ObjectStorageQueueTableMetadata;
|
struct ObjectStorageQueueTableMetadata;
|
||||||
struct StorageInMemoryMetadata;
|
struct StorageInMemoryMetadata;
|
||||||
|
Loading…
Reference in New Issue
Block a user