mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 15:21:43 +00:00
26 lines
575 B
C++
26 lines
575 B
C++
#pragma once
|
|
|
|
#include <DB/Core/Block.h>
|
|
#include <DB/Core/ColumnNumbers.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
namespace Conditional
|
|
{
|
|
|
|
class NullMapBuilder;
|
|
|
|
class StringArrayEvaluator
|
|
{
|
|
public:
|
|
/// The tracker parameter is an index to a column that tracks the originating column of each value of
|
|
/// the result column. Calling this function with result == tracker means that no such tracking is
|
|
/// required, which happens if multiIf is called with no nullable parameters.
|
|
static bool perform(Block & block, const ColumnNumbers & args, size_t result, NullMapBuilder & builder);
|
|
};
|
|
|
|
}
|
|
|
|
}
|