ClickHouse/dbms/include/DB/Functions/Conditional/NumericPerformer.h

22 lines
362 B
C++
Raw Normal View History

2016-04-18 14:31:32 +00:00
#pragma once
#include <DB/Core/Block.h>
#include <DB/Core/ColumnNumbers.h>
namespace DB
{
namespace Conditional
{
struct NumericPerformer
{
/// Perform a multiIf function for numeric branch (then, else) arguments
/// that may have either scalar types or array types.
static bool perform(Block & block, const ColumnNumbers & args, size_t result);
};
}
}