module-info.java 41.3 KB
Newer Older
1 2 3 4 5 6 7 8
/*******************************************************************************
 *     ___                  _   ____  ____
 *    / _ \ _   _  ___  ___| |_|  _ \| __ )
 *   | | | | | | |/ _ \/ __| __| | | |  _ \
 *   | |_| | |_| |  __/\__ \ |_| |_| | |_) |
 *    \__\_\\__,_|\___||___/\__|____/|____/
 *
 *  Copyright (c) 2014-2019 Appsicle
9
 *  Copyright (c) 2019-2022 QuestDB
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *
 ******************************************************************************/

import io.questdb.griffin.FunctionFactory;
26
import io.questdb.griffin.engine.functions.math.*;
27 28 29 30 31

open module io.questdb {
    requires transitive jdk.unsupported;
    requires static org.jetbrains.annotations;
    requires static java.sql;
32
    requires static java.management;
33 34 35 36 37

    uses io.questdb.griffin.FunctionFactory;

    exports io.questdb;
    exports io.questdb.cairo;
38
    exports io.questdb.cairo.vm;
39 40 41 42 43 44 45 46
    exports io.questdb.cairo.map;
    exports io.questdb.cairo.sql;
    exports io.questdb.cairo.pool;
    exports io.questdb.cairo.pool.ex;
    exports io.questdb.cairo.security;

    exports io.questdb.cutlass.http;
    exports io.questdb.cutlass.http.processors;
47
    exports io.questdb.cutlass.http.ex;
48 49 50
    exports io.questdb.cutlass.json;
    exports io.questdb.cutlass.line;
    exports io.questdb.cutlass.line.udp;
51
    exports io.questdb.cutlass.line.tcp;
52 53 54 55 56 57
    exports io.questdb.cutlass.pgwire;
    exports io.questdb.cutlass.text;
    exports io.questdb.cutlass.text.types;

    exports io.questdb.griffin;
    exports io.questdb.griffin.engine;
58 59
    exports io.questdb.griffin.model;
    exports io.questdb.griffin.engine.functions;
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
    exports io.questdb.griffin.engine.functions.rnd;
    exports io.questdb.griffin.engine.functions.bind;
    exports io.questdb.griffin.engine.functions.bool;
    exports io.questdb.griffin.engine.functions.cast;
    exports io.questdb.griffin.engine.functions.catalogue;
    exports io.questdb.griffin.engine.functions.columns;
    exports io.questdb.griffin.engine.functions.conditional;
    exports io.questdb.griffin.engine.functions.constants;
    exports io.questdb.griffin.engine.functions.date;
    exports io.questdb.griffin.engine.functions.eq;
    exports io.questdb.griffin.engine.functions.groupby;
    exports io.questdb.griffin.engine.functions.lt;
    exports io.questdb.griffin.engine.functions.math;
    exports io.questdb.griffin.engine.functions.regex;
    exports io.questdb.griffin.engine.functions.str;
    exports io.questdb.griffin.engine.groupby;
    exports io.questdb.griffin.engine.groupby.vect;
77
    exports io.questdb.griffin.engine.analytic;
78 79

    exports io.questdb.std;
80 81 82
    exports io.questdb.std.datetime;
    exports io.questdb.std.datetime.microtime;
    exports io.questdb.std.datetime.millitime;
83
    exports io.questdb.std.str;
84
    exports io.questdb.std.ex;
85 86 87
    exports io.questdb.network;
    exports io.questdb.log;
    exports io.questdb.mp;
V
Vlad Ilyushchenko 已提交
88
    exports io.questdb.tasks;
89
    exports io.questdb.metrics;
90
    exports io.questdb.cairo.vm.api;
91
    exports io.questdb.cairo.mig;
92 93 94 95

    provides FunctionFactory with
            // test functions
            io.questdb.griffin.engine.functions.test.TestMatchFunctionFactory,
96
            io.questdb.griffin.engine.functions.test.TestLatchedCounterFunctionFactory,
97
            io.questdb.griffin.engine.functions.test.TestSumXDoubleGroupByFunctionFactory,
98
            io.questdb.griffin.engine.functions.test.TestNPEFactory,
99 100 101 102 103 104
            io.questdb.griffin.engine.functions.test.TestSumTDoubleGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.test.TestSumStringGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.bool.OrFunctionFactory,
            io.questdb.griffin.engine.functions.bool.AndFunctionFactory,
            io.questdb.griffin.engine.functions.bool.NotFunctionFactory,

105 106 107
            // [] operators
            io.questdb.griffin.engine.functions.array.StrArrayDereferenceFunctionFactory,
            // '=' operators
108
            io.questdb.griffin.engine.functions.eq.EqStrFunctionFactory,
109 110
            io.questdb.griffin.engine.functions.eq.EqByteFunctionFactory,
            io.questdb.griffin.engine.functions.eq.EqShortFunctionFactory,
111 112 113 114 115 116 117 118 119 120
            io.questdb.griffin.engine.functions.eq.EqIntFunctionFactory,
            io.questdb.griffin.engine.functions.eq.EqLongFunctionFactory,
            io.questdb.griffin.engine.functions.eq.EqDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.eq.EqLong256StrFunctionFactory,
            io.questdb.griffin.engine.functions.eq.EqLong256FunctionFactory,
            io.questdb.griffin.engine.functions.eq.EqStrCharFunctionFactory,
            io.questdb.griffin.engine.functions.eq.EqSymStrFunctionFactory,
            io.questdb.griffin.engine.functions.eq.EqSymCharFunctionFactory,
            io.questdb.griffin.engine.functions.eq.EqCharCharFunctionFactory,
            io.questdb.griffin.engine.functions.eq.EqIntStrCFunctionFactory,
121
            io.questdb.griffin.engine.functions.eq.EqTimestampFunctionFactory,
122 123
            io.questdb.griffin.engine.functions.eq.EqBooleanFunctionFactory,
            io.questdb.griffin.engine.functions.eq.EqBinaryFunctionFactory,
124
            io.questdb.griffin.engine.functions.eq.EqGeoHashGeoHashFunctionFactory,
125 126
            io.questdb.griffin.engine.functions.eq.EqGeoHashStrFunctionFactory,
            io.questdb.griffin.engine.functions.eq.EqStrGeoHashFunctionFactory,
127 128

            //nullif
129 130 131
            io.questdb.griffin.engine.functions.conditional.NullIfCharFunctionFactory,
            io.questdb.griffin.engine.functions.conditional.NullIfIFunctionFactory,
            io.questdb.griffin.engine.functions.conditional.NullIfStrFunctionFactory,
132

133 134
//                   '<' operator
            io.questdb.griffin.engine.functions.lt.LtDoubleVVFunctionFactory,
135
            io.questdb.griffin.engine.functions.lt.LtTimestampFunctionFactory,
136
            io.questdb.griffin.engine.functions.lt.LtIntFunctionFactory,
137

138 139 140 141 142 143 144 145 146 147 148
//                   '+' operator
            io.questdb.griffin.engine.functions.math.AddByteFunctionFactory,
            io.questdb.griffin.engine.functions.math.AddShortFunctionFactory,
            io.questdb.griffin.engine.functions.math.AddIntFunctionFactory,
            io.questdb.griffin.engine.functions.math.AddLongFunctionFactory,
            io.questdb.griffin.engine.functions.math.AddFloatFunctionFactory,
            io.questdb.griffin.engine.functions.math.AddDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.date.AddLongToTimestampFunctionFactory,
//                    # '-' operator,
            io.questdb.griffin.engine.functions.math.NegIntFunctionFactory,
            io.questdb.griffin.engine.functions.math.NegDoubleFunctionFactory,
149 150 151 152 153
            io.questdb.griffin.engine.functions.math.NegFloatFunctionFactory,
            io.questdb.griffin.engine.functions.math.NegLongFunctionFactory,
            io.questdb.griffin.engine.functions.math.NegShortFunctionFactory,
            io.questdb.griffin.engine.functions.math.NegByteFunctionFactory,

154 155 156
            io.questdb.griffin.engine.functions.math.SubDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.math.SubIntFunctionFactory,
            io.questdb.griffin.engine.functions.math.SubLongFunctionFactory,
157
            io.questdb.griffin.engine.functions.math.SubTimestampFunctionFactory,
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173
//                    # '/' operator,
            io.questdb.griffin.engine.functions.math.DivDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.math.DivLongFunctionFactory,
//                    # '%' operator,
            io.questdb.griffin.engine.functions.math.RemIntFunctionFactory,
            io.questdb.griffin.engine.functions.math.RemLongFunctionFactory,
            io.questdb.griffin.engine.functions.math.RemDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.math.RemFloatFunctionFactory,
//                    # '*' operator,
            io.questdb.griffin.engine.functions.math.MulFloatFunctionFactory,
            io.questdb.griffin.engine.functions.math.MulDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.math.MulLongFunctionFactory,
            io.questdb.griffin.engine.functions.math.MulIntFunctionFactory,
            io.questdb.griffin.engine.functions.math.AbsIntFunctionFactory,
            io.questdb.griffin.engine.functions.math.AbsShortFunctionFactory,
            io.questdb.griffin.engine.functions.math.AbsLongFunctionFactory,
174
            io.questdb.griffin.engine.functions.math.AbsDoubleFunctionFactory,
175 176
            io.questdb.griffin.engine.functions.math.LogDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.math.SqrtDoubleFunctionFactory,
177 178 179
//                    # '~=',
            io.questdb.griffin.engine.functions.regex.MatchStrFunctionFactory,
            io.questdb.griffin.engine.functions.regex.MatchCharFunctionFactory,
180 181
//                    #like
            io.questdb.griffin.engine.functions.regex.LikeCharFunctionFactory,
182 183
            io.questdb.griffin.engine.functions.regex.LikeStrFunctionFactory,
            io.questdb.griffin.engine.functions.regex.ILikeStrFunctionFactory,
184 185
//                    # '!~',
            io.questdb.griffin.engine.functions.regex.NotMatchStrFunctionFactory,
186
            io.questdb.griffin.engine.functions.regex.NotMatchCharFunctionFactory,
187 188 189 190 191 192 193 194 195 196 197 198 199 200
//                    # 'to_char',
            io.questdb.griffin.engine.functions.date.ToStrDateFunctionFactory,
            io.questdb.griffin.engine.functions.date.ToStrTimestampFunctionFactory,
            io.questdb.griffin.engine.functions.str.ToCharBinFunctionFactory,
//                    # 'length',
            io.questdb.griffin.engine.functions.str.LengthStrFunctionFactory,
            io.questdb.griffin.engine.functions.str.LengthSymbolFunctionFactory,
            io.questdb.griffin.engine.functions.str.LengthBinFunctionFactory,
//                    # random generator functions,
            io.questdb.griffin.engine.functions.rnd.LongSequenceFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndBooleanFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndIntFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndIntCCFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndStrFunctionFactory,
201
            io.questdb.griffin.engine.functions.rnd.RndStringRndListFunctionFactory,
202 203 204 205 206 207 208 209 210 211 212
            io.questdb.griffin.engine.functions.rnd.RndDoubleCCFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndFloatCFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndShortCCFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndShortFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndDateCCCFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndTimestampFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndSymbolFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndLongCCFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndLongFunctionFactory,
            io.questdb.griffin.engine.functions.date.TimestampSequenceFunctionFactory,
213
            io.questdb.griffin.engine.functions.date.TimestampShuffleFunctionFactory,
214 215
            io.questdb.griffin.engine.functions.date.TimestampFloorFunctionFactory,
            io.questdb.griffin.engine.functions.date.TimestampCeilFunctionFactory,
216 217 218 219 220 221
            io.questdb.griffin.engine.functions.rnd.RndByteCCFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndBinCCCFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndSymbolListFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndStringListFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndCharFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndLong256FunctionFactory,
222
            io.questdb.griffin.engine.functions.rnd.RndLong256NFunctionFactory,
223 224 225 226 227
            io.questdb.griffin.engine.functions.rnd.RndByteFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndFloatFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndBinFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.RndDateFunctionFactory,
            io.questdb.griffin.engine.functions.rnd.ListFunctionFactory,
228
            io.questdb.griffin.engine.functions.rnd.RndGeoHashFunctionFactory,
229 230 231
//                  date conversion functions,
            io.questdb.griffin.engine.functions.date.SysdateFunctionFactory,
            io.questdb.griffin.engine.functions.date.ToTimestampVCFunctionFactory,
232
            io.questdb.griffin.engine.functions.date.ToTimestampFunctionFactory,
233
            io.questdb.griffin.engine.functions.date.SystimestampFunctionFactory,
234
            io.questdb.griffin.engine.functions.date.NowFunctionFactory,
235 236 237 238 239 240 241 242 243 244 245 246 247 248 249
            io.questdb.griffin.engine.functions.date.HourOfDayFunctionFactory,
            io.questdb.griffin.engine.functions.date.DayOfMonthFunctionFactory,
            io.questdb.griffin.engine.functions.date.DayOfWeekFunctionFactory,
            io.questdb.griffin.engine.functions.date.DayOfWeekSundayFirstFunctionFactory,
            io.questdb.griffin.engine.functions.date.MinuteOfHourFunctionFactory,
            io.questdb.griffin.engine.functions.date.SecondOfMinuteFunctionFactory,
            io.questdb.griffin.engine.functions.date.YearFunctionFactory,
            io.questdb.griffin.engine.functions.date.MonthOfYearFunctionFactory,
            io.questdb.griffin.engine.functions.date.DaysPerMonthFunctionFactory,
            io.questdb.griffin.engine.functions.date.MicrosOfSecondFunctionFactory,
            io.questdb.griffin.engine.functions.date.MillisOfSecondFunctionFactory,
            io.questdb.griffin.engine.functions.date.IsLeapYearFunctionFactory,
            io.questdb.griffin.engine.functions.date.TimestampDiffFunctionFactory,
            io.questdb.griffin.engine.functions.date.TimestampAddFunctionFactory,
            io.questdb.griffin.engine.functions.date.ToDateFunctionFactory,
250
            io.questdb.griffin.engine.functions.date.ToPgDateFunctionFactory,
251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316
//                  cast functions,
//                  cast double to ...,
            io.questdb.griffin.engine.functions.cast.CastDoubleToIntFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDoubleToDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDoubleToFloatFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDoubleToLong256FunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDoubleToLongFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDoubleToShortFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDoubleToByteFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDoubleToStrFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDoubleToSymbolFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDoubleToCharFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDoubleToDateFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDoubleToTimestampFunctionFactory,
//                  cast float to ...,
            io.questdb.griffin.engine.functions.cast.CastFloatToIntFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastFloatToDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastFloatToFloatFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastFloatToLong256FunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastFloatToLongFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastFloatToShortFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastFloatToByteFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastFloatToStrFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastFloatToSymbolFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastFloatToCharFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastFloatToDateFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastFloatToTimestampFunctionFactory,
//                  cast short to ...,
            io.questdb.griffin.engine.functions.cast.CastShortToShortFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastShortToByteFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastShortToCharFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastShortToIntFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastShortToLongFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastShortToFloatFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastShortToDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastShortToStrFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastShortToDateFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastShortToTimestampFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastShortToSymbolFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastShortToLong256FunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastShortToBooleanFunctionFactory,
//                  cast int to ...,
            io.questdb.griffin.engine.functions.cast.CastIntToShortFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastIntToByteFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastIntToCharFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastIntToIntFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastIntToLongFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastIntToFloatFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastIntToDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastIntToStrFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastIntToDateFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastIntToTimestampFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastIntToSymbolFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastIntToLong256FunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastIntToBooleanFunctionFactory,
//                  cast long to ...,
            io.questdb.griffin.engine.functions.cast.CastLongToShortFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLongToByteFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLongToCharFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLongToIntFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLongToLongFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLongToFloatFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLongToDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLongToStrFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLongToDateFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLongToTimestampFunctionFactory,
317
            io.questdb.griffin.engine.functions.cast.CastNullFunctionFactory,
318 319 320
            io.questdb.griffin.engine.functions.cast.CastLongToSymbolFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLongToLong256FunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLongToBooleanFunctionFactory,
321
            io.questdb.griffin.engine.functions.cast.CastLongToGeoHashFunctionFactory,
322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418
//                  cast long256 to ...,
            io.questdb.griffin.engine.functions.cast.CastLong256ToShortFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLong256ToByteFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLong256ToCharFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLong256ToIntFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLong256ToLongFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLong256ToFloatFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLong256ToDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLong256ToStrFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLong256ToDateFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLong256ToTimestampFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLong256ToSymbolFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLong256ToLong256FunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastLong256ToBooleanFunctionFactory,
//                  cast date to ...,
            io.questdb.griffin.engine.functions.cast.CastDateToShortFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDateToByteFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDateToCharFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDateToIntFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDateToLongFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDateToFloatFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDateToDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDateToStrFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDateToDateFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDateToTimestampFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDateToSymbolFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDateToLong256FunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastDateToBooleanFunctionFactory,
//                  cast timestamp to ...,
            io.questdb.griffin.engine.functions.cast.CastTimestampToShortFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastTimestampToByteFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastTimestampToCharFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastTimestampToIntFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastTimestampToLongFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastTimestampToFloatFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastTimestampToDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastTimestampToStrFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastTimestampToDateFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastTimestampToTimestampFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastTimestampToSymbolFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastTimestampToLong256FunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastTimestampToBooleanFunctionFactory,
//                  cast byte to ...,
            io.questdb.griffin.engine.functions.cast.CastByteToShortFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastByteToByteFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastByteToCharFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastByteToIntFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastByteToLongFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastByteToFloatFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastByteToDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastByteToStrFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastByteToDateFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastByteToTimestampFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastByteToSymbolFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastByteToLong256FunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastByteToBooleanFunctionFactory,
//                  cast boolean to ...,
            io.questdb.griffin.engine.functions.cast.CastBooleanToShortFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastBooleanToByteFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastBooleanToCharFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastBooleanToIntFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastBooleanToLongFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastBooleanToFloatFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastBooleanToDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastBooleanToStrFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastBooleanToDateFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastBooleanToTimestampFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastBooleanToSymbolFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastBooleanToLong256FunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastBooleanToBooleanFunctionFactory,
//                  cast char to ...,
            io.questdb.griffin.engine.functions.cast.CastCharToShortFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastCharToByteFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastCharToCharFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastCharToIntFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastCharToLongFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastCharToFloatFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastCharToDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastCharToStrFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastCharToDateFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastCharToTimestampFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastCharToSymbolFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastCharToLong256FunctionFactory,
//                  cast str to ...,
            io.questdb.griffin.engine.functions.cast.CastStrToIntFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastStrToDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastCharToBooleanFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastStrToFloatFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastStrToLong256FunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastStrToLongFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastStrToShortFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastStrToByteFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastStrToStrFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastStrToSymbolFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastStrToCharFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastStrToDateFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastStrToTimestampFunctionFactory,
419
            io.questdb.griffin.engine.functions.cast.CastStrToBinaryFunctionFactory,
420 421
            io.questdb.griffin.engine.functions.cast.CastStrToGeoHashFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastGeoHashToGeoHashFunctionFactory,
422 423 424 425 426 427 428 429 430 431 432 433 434
//                  cast symbol to ...
            io.questdb.griffin.engine.functions.cast.CastSymbolToIntFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastSymbolToDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastSymbolToFloatFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastSymbolToLong256FunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastSymbolToLongFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastSymbolToShortFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastSymbolToByteFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastSymbolToStrFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastSymbolToSymbolFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastSymbolToCharFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastSymbolToDateFunctionFactory,
            io.questdb.griffin.engine.functions.cast.CastSymbolToTimestampFunctionFactory,
435 436
            // cast helpers
            io.questdb.griffin.engine.functions.cast.VarcharCastHelperFunctionFactory,
437 438 439 440 441
//                  'in'
            io.questdb.griffin.engine.functions.bool.InSymbolCursorFunctionFactory,
            io.questdb.griffin.engine.functions.bool.InStrFunctionFactory,
            io.questdb.griffin.engine.functions.bool.InCharFunctionFactory,
            io.questdb.griffin.engine.functions.bool.InSymbolFunctionFactory,
442 443 444
            io.questdb.griffin.engine.functions.bool.InTimestampStrFunctionFactory,
            io.questdb.griffin.engine.functions.bool.InTimestampTimestampFunctionFactory,
            io.questdb.griffin.engine.functions.bool.BetweenTimestampFunctionFactory,
445 446 447 448
//                  'all'
            io.questdb.griffin.engine.functions.bool.AllNotEqStrFunctionFactory,
//                  'agg' group by function
            io.questdb.griffin.engine.functions.groupby.StringAggGroupByFunctionFactory,
449 450 451 452 453 454 455 456
//                  'sum' group by function
            io.questdb.griffin.engine.functions.groupby.SumDoubleGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.SumFloatGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.SumIntGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.SumLongGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.KSumDoubleGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.NSumDoubleGroupByFunctionFactory,
//                  'last' group by function
457
            io.questdb.griffin.engine.functions.groupby.LastDoubleGroupByFunctionFactory,
458
            io.questdb.griffin.engine.functions.groupby.LastFloatGroupByFunctionFactory,
459
            io.questdb.griffin.engine.functions.groupby.LastIntGroupByFunctionFactory,
460
            io.questdb.griffin.engine.functions.groupby.LastCharGroupByFunctionFactory,
461 462
            io.questdb.griffin.engine.functions.groupby.LastShortGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.LastByteGroupByFunctionFactory,
463
            io.questdb.griffin.engine.functions.groupby.LastSymbolGroupByFunctionFactory,
464
            io.questdb.griffin.engine.functions.groupby.LastTimestampGroupByFunctionFactory,
465 466
            io.questdb.griffin.engine.functions.groupby.LastDateGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.LastLongGroupByFunctionFactory,
467
            io.questdb.griffin.engine.functions.groupby.LastGeoHashGroupByFunctionFactory,
468 469 470

//                  'first' group by function
            io.questdb.griffin.engine.functions.groupby.FirstDoubleGroupByFunctionFactory,
471
            io.questdb.griffin.engine.functions.groupby.FirstFloatGroupByFunctionFactory,
472
            io.questdb.griffin.engine.functions.groupby.FirstIntGroupByFunctionFactory,
473
            io.questdb.griffin.engine.functions.groupby.FirstCharGroupByFunctionFactory,
474 475
            io.questdb.griffin.engine.functions.groupby.FirstShortGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.FirstByteGroupByFunctionFactory,
476 477 478
            io.questdb.griffin.engine.functions.groupby.FirstTimestampGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.FirstLongGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.FirstDateGroupByFunctionFactory,
479
            io.questdb.griffin.engine.functions.groupby.FirstGeoHashGroupByFunctionFactory,
480 481 482 483 484 485
//                  'max' group
            io.questdb.griffin.engine.functions.groupby.MaxDoubleGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.MaxIntGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.MaxLongGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.MaxTimestampGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.MaxDateGroupByFunctionFactory,
486
            io.questdb.griffin.engine.functions.groupby.MaxFloatGroupByFunctionFactory,
487 488 489 490 491
//                  'min' group
            io.questdb.griffin.engine.functions.groupby.MinDoubleGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.MinFloatGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.MinLongGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.MinIntGroupByFunctionFactory,
492
            io.questdb.griffin.engine.functions.groupby.MaxCharGroupByFunctionFactory,
493 494 495 496 497
            io.questdb.griffin.engine.functions.groupby.MinCharGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.MinTimestampGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.MinDateGroupByFunctionFactory,
//                  'count' group by function
            io.questdb.griffin.engine.functions.groupby.CountGroupByFunctionFactory,
498
            io.questdb.griffin.engine.functions.groupby.CountLongGroupByFunctionFactory,
499 500 501
            io.questdb.griffin.engine.functions.groupby.CountStringGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.CountSymbolGroupByFunctionFactory,
            io.questdb.griffin.engine.functions.groupby.CountLong256GroupByFunctionFactory,
502 503
            //      'haversine_dist_degree' group by function
            io.questdb.griffin.engine.functions.groupby.HaversineDistDegreeGroupByFunctionFactory,
504 505 506
//                  'isOrdered'
            io.questdb.griffin.engine.functions.groupby.IsLongOrderedGroupByFunctionFactory,
//                  round()
507
            io.questdb.griffin.engine.functions.math.RoundDoubleZeroScaleFunctionFactory,
508 509 510 511
            io.questdb.griffin.engine.functions.math.RoundDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.math.RoundDownDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.math.RoundUpDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.math.RoundHalfEvenDoubleFunctionFactory,
512 513 514 515 516 517
//                  ceil()
            io.questdb.griffin.engine.functions.math.CeilDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.math.CeilFloatFunctionFactory,
//                  floor()
            io.questdb.griffin.engine.functions.math.FloorDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.math.FloorFloatFunctionFactory,            
518 519 520
//                  case conditional statement
            io.questdb.griffin.engine.functions.conditional.CaseFunctionFactory,
            io.questdb.griffin.engine.functions.conditional.SwitchFunctionFactory,
521
            io.questdb.griffin.engine.functions.conditional.CoalesceFunctionFactory,
522
//                  PostgeSQL catalogue functions
523
            io.questdb.griffin.engine.functions.catalogue.AttrDefCatalogueFunctionFactory,
524
            io.questdb.griffin.engine.functions.catalogue.AttributeCatalogueFunctionFactory,
525
            io.questdb.griffin.engine.functions.catalogue.ClassCatalogueFunctionFactory,
526
            io.questdb.griffin.engine.functions.catalogue.PrefixedClassCatalogueFunctionFactory,
527 528
            io.questdb.griffin.engine.functions.catalogue.IndexCatalogueFunctionFactory,
            io.questdb.griffin.engine.functions.catalogue.InformationSchemaFunctionFactory,
529 530
            io.questdb.griffin.engine.functions.catalogue.PrefixedTypeCatalogueFunctionFactory,
            io.questdb.griffin.engine.functions.catalogue.PrefixedDescriptionCatalogueFunctionFactory,
531
            io.questdb.griffin.engine.functions.catalogue.PrefixedNamespaceCatalogueFunctionFactory,
532 533 534 535
            io.questdb.griffin.engine.functions.catalogue.NamespaceCatalogueFunctionFactory,
            io.questdb.griffin.engine.functions.catalogue.IsTableVisibleCatalogueFunctionFactory,
            io.questdb.griffin.engine.functions.catalogue.UserByIdCatalogueFunctionFactory,
            io.questdb.griffin.engine.functions.catalogue.TypeCatalogueFunctionFactory,
536
            io.questdb.griffin.engine.functions.catalogue.VersionFunctionFactory,
537 538
            io.questdb.griffin.engine.functions.catalogue.CurrentDatabaseFunctionFactory,
            io.questdb.griffin.engine.functions.catalogue.CurrentSchemaBooleanFunctionFactory,
539
            io.questdb.griffin.engine.functions.catalogue.CurrentSchemaFunctionFactory,
540 541
            io.questdb.griffin.engine.functions.catalogue.PrefixedCurrentSchemasFunctionFactory,
            io.questdb.griffin.engine.functions.catalogue.CursorDereferenceFunctionFactory,
V
Vlad Ilyushchenko 已提交
542
            io.questdb.griffin.engine.functions.catalogue.DescriptionCatalogueFunctionFactory,
543 544 545 546 547 548
            io.questdb.griffin.engine.functions.catalogue.SessionUserFunctionFactory,
            io.questdb.griffin.engine.functions.catalogue.ClassResolveFunctionFactory,
            io.questdb.griffin.engine.functions.catalogue.PrefixedPgGetPartKeyDefFunctionFactory,
            io.questdb.griffin.engine.functions.catalogue.PrefixedPgGetSITExprFunctionFactory,
            io.questdb.griffin.engine.functions.catalogue.PrefixedPgGetSIExprFunctionFactory,
            io.questdb.griffin.engine.functions.catalogue.FormatTypeFunctionFactory,
549 550
            io.questdb.griffin.engine.functions.catalogue.ProcCatalogueFunctionFactory,
            io.questdb.griffin.engine.functions.catalogue.RangeCatalogueFunctionFactory,
551
            io.questdb.griffin.engine.functions.catalogue.PrefixedPgGetKeywordsFunctionFactory,
552
            io.questdb.griffin.engine.functions.catalogue.TableMetadataCursorFactory,
553
            io.questdb.griffin.engine.functions.catalogue.DumpMemoryUsageFunctionFactory,
554
            io.questdb.griffin.engine.functions.catalogue.DumpThreadStacksFunctionFactory,
555 556
//                  concat()
            io.questdb.griffin.engine.functions.str.ConcatFunctionFactory,
557 558
            // replace()
            io.questdb.griffin.engine.functions.str.ReplaceStrFunctionFactory,
559 560 561
//                  avg()
            io.questdb.griffin.engine.functions.groupby.AvgDoubleGroupByFunctionFactory,
//                  ^
562 563
            io.questdb.griffin.engine.functions.math.PowDoubleFunctionFactory,
            io.questdb.griffin.engine.functions.table.AllTablesFunctionFactory,
564
            io.questdb.griffin.engine.functions.table.TableColumnsFunctionFactory,
565
            io.questdb.griffin.engine.functions.table.TouchTableFunctionFactory,
566

567
            // first
568
            io.questdb.griffin.engine.functions.groupby.FirstSymbolGroupByFunctionFactory,
569 570 571
            // strpos
            io.questdb.griffin.engine.functions.str.StrPosFunctionFactory,
            io.questdb.griffin.engine.functions.str.StrPosCharFunctionFactory,
572 573
//                  Change string case
            io.questdb.griffin.engine.functions.str.ToUppercaseFunctionFactory,
574
            io.questdb.griffin.engine.functions.str.ToLowercaseFunctionFactory,
575 576 577
//          left/right
            io.questdb.griffin.engine.functions.str.LeftFunctionFactory,
            io.questdb.griffin.engine.functions.str.RightFunctionFactory,
578 579

            // analytic functions
580 581 582
            io.questdb.griffin.engine.functions.analytic.RowNumberFunctionFactory,

            // metadata functions
583
            io.questdb.griffin.engine.functions.metadata.BuildFunctionFactory,
584 585
            // geohash functions
            io.questdb.griffin.engine.functions.geohash.GeoHashFromCoordinatesFunctionFactory,
586 587
            // bin functions
            io.questdb.griffin.engine.functions.bin.Base64FunctionFactory,
588 589 590 591 592 593 594 595
            // bit operations
            BitwiseAndLongFunctionFactory,
            BitwiseOrLongFunctionFactory,
            BitwiseNotLongFunctionFactory,
            BitwiseXorLongFunctionFactory,
            BitwiseAndIntFunctionFactory,
            BitwiseOrIntFunctionFactory,
            BitwiseNotIntFunctionFactory,
596 597 598
            BitwiseXorIntFunctionFactory,

            io.questdb.griffin.engine.functions.date.ToTimezoneTimestampFunctionFactory,
599 600 601
            io.questdb.griffin.engine.functions.date.ToUTCTimestampFunctionFactory,

            io.questdb.griffin.engine.functions.catalogue.TypeOfFunctionFactory
602
            ;
603
}