mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 15:21:43 +00:00
a1b0dede07
* made index parser * added index parsing * some fixes * added index interface and factory * fixed compilation * ptrs * added indexParts * indextypes * index condition * IndexCondition * added indexes in selectexecutor * fix * changed comment * fix * added granularity * comments * fix * fix * added writing indexes * removed indexpart class * fix * added setSkipIndexes * add rw for MergeTreeIndexes * fixes * upd error * fix * fix * reading * test index * fixed nullptr error * fixed * fix * unique names * asts -> exprlist * minmax index * fix * fixed select * fixed merging * fixed mutation * working minmax * removed test index * fixed style * added indexes to checkDataPart * added tests for minmax index * fixed constructor * fix style * fixed includes * fixed setSkipIndexes * added indexes meta to zookeeper * added parsing * removed throw * alter cmds parse * fix * added alter * fix * alters fix * fix alters * fix "after" * fixed alter * alter fix + test * fixes * upd setSkipIndexes * fixed alter bug with drop all indices * fix metadata editing * new test and repl fix * rm test files * fixed repl alter * fix * fix * indices * MTReadStream * upd test for bug * fix * added useful parsers and ast classes * fix * fix comments * replaced columns * fix * fixed parsing * fixed printing * fix err * basic IndicesDescription * go to IndicesDescr * moved indices * go to indicesDescr * fix test minmax_index* * fixed MT alter * fixed bug with replMT indices storing in zk * rename * refactoring * docs ru * docs ru * docs en * refactor * rename tests * fix docs * refactoring * fix * fix * fix * fixed style * unique idx * unique * fix * better minmax calculation * upd * added getBlock * unique_condition * added termForAST * unique * fixed not * uniqueCondition::mayBeTrueOnGranule * fix * fixed bug with double column * is always true * fix * key set * spaces * test * tests * fix * unique * fix * fix * fixed bug with duplicate column * removed unused data * fix * fixes * __bitSwapLastTwo * fix
75 lines
3.0 KiB
C++
75 lines
3.0 KiB
C++
namespace DB
|
|
{
|
|
|
|
class FunctionFactory;
|
|
|
|
void registerFunctionPlus(FunctionFactory & factory);
|
|
void registerFunctionMinus(FunctionFactory & factory);
|
|
void registerFunctionMultiply(FunctionFactory & factory);
|
|
void registerFunctionDivide(FunctionFactory & factory);
|
|
void registerFunctionIntDiv(FunctionFactory & factory);
|
|
void registerFunctionIntDivOrZero(FunctionFactory & factory);
|
|
void registerFunctionModulo(FunctionFactory & factory);
|
|
void registerFunctionNegate(FunctionFactory & factory);
|
|
void registerFunctionAbs(FunctionFactory & factory);
|
|
void registerFunctionBitAnd(FunctionFactory & factory);
|
|
void registerFunctionBitOr(FunctionFactory & factory);
|
|
void registerFunctionBitXor(FunctionFactory & factory);
|
|
void registerFunctionBitNot(FunctionFactory & factory);
|
|
void registerFunctionBitShiftLeft(FunctionFactory & factory);
|
|
void registerFunctionBitShiftRight(FunctionFactory & factory);
|
|
void registerFunctionBitRotateLeft(FunctionFactory & factory);
|
|
void registerFunctionBitRotateRight(FunctionFactory & factory);
|
|
void registerFunctionLeast(FunctionFactory & factory);
|
|
void registerFunctionGreatest(FunctionFactory & factory);
|
|
void registerFunctionBitTest(FunctionFactory & factory);
|
|
void registerFunctionBitTestAny(FunctionFactory & factory);
|
|
void registerFunctionBitTestAll(FunctionFactory & factory);
|
|
void registerFunctionGCD(FunctionFactory & factory);
|
|
void registerFunctionLCM(FunctionFactory & factory);
|
|
void registerFunctionIntExp2(FunctionFactory & factory);
|
|
void registerFunctionIntExp10(FunctionFactory & factory);
|
|
void registerFunctionRoundToExp2(FunctionFactory & factory);
|
|
void registerFunctionRoundDuration(FunctionFactory & factory);
|
|
void registerFunctionRoundAge(FunctionFactory & factory);
|
|
|
|
void registerFunctionBitSwapLastTwo(FunctionFactory & factory);
|
|
|
|
void registerFunctionsArithmetic(FunctionFactory & factory)
|
|
{
|
|
registerFunctionPlus(factory);
|
|
registerFunctionMinus(factory);
|
|
registerFunctionMultiply(factory);
|
|
registerFunctionDivide(factory);
|
|
registerFunctionIntDiv(factory);
|
|
registerFunctionIntDivOrZero(factory);
|
|
registerFunctionModulo(factory);
|
|
registerFunctionNegate(factory);
|
|
registerFunctionAbs(factory);
|
|
registerFunctionBitAnd(factory);
|
|
registerFunctionBitOr(factory);
|
|
registerFunctionBitXor(factory);
|
|
registerFunctionBitNot(factory);
|
|
registerFunctionBitShiftLeft(factory);
|
|
registerFunctionBitShiftRight(factory);
|
|
registerFunctionBitRotateLeft(factory);
|
|
registerFunctionBitRotateRight(factory);
|
|
registerFunctionLeast(factory);
|
|
registerFunctionGreatest(factory);
|
|
registerFunctionBitTest(factory);
|
|
registerFunctionBitTestAny(factory);
|
|
registerFunctionBitTestAll(factory);
|
|
registerFunctionGCD(factory);
|
|
registerFunctionLCM(factory);
|
|
registerFunctionIntExp2(factory);
|
|
registerFunctionIntExp10(factory);
|
|
registerFunctionRoundToExp2(factory);
|
|
registerFunctionRoundDuration(factory);
|
|
registerFunctionRoundAge(factory);
|
|
|
|
/// Not for external use.
|
|
registerFunctionBitSwapLastTwo(factory);
|
|
}
|
|
|
|
}
|