MCPcopy Create free account
hub / github.com/questdb/questdb / init

Method init

core/src/main/java/io/questdb/cairo/sql/Function.java:88–88  ·  view source on GitHub ↗

Initializes each function in the list of clones. It is assumed by this method that "clones" are copies of the same function. Two-phase functions might need to perform certain transformations upfront, before SQL executes. This is to avoid doing those transformations on for every row/invocation. T

(
            ObjList<? extends Function> clones,
            SymbolTableSource symbolTableSource,
            SqlExecutionContext executionContext,
            @Nullable Function prototypeFunction
    )

Source from the content-addressed store, hash-verified

86 * @throws SqlException function are allowed to throw SQLException to indicate initialization error
87 */
88 static void init(
89 ObjList<? extends Function> clones,
90 SymbolTableSource symbolTableSource,
91 SqlExecutionContext executionContext,

Callers 15

testSymbolFunctionMethod · 0.95
getFunctionMethod · 0.95
testCommonTypeMethod · 0.95
testAmbiguousCallMethod · 0.95
testBinMethod · 0.95
testBinIndexedMethod · 0.95
testBooleanMethod · 0.95
testBooleanIndexedMethod · 0.95
testByteMethod · 0.95
testByteIndexedMethod · 0.95
testCharMethod · 0.95
testCharIndexedMethod · 0.95

Implementers 15

TestFunctioncore/src/test/java/io/questdb/test/cai
Long128Functioncore/src/main/java/io/questdb/griffin/
UuidFunctioncore/src/main/java/io/questdb/griffin/
Long256Functioncore/src/main/java/io/questdb/griffin/
TimestampFunctioncore/src/main/java/io/questdb/griffin/
IPv4Functioncore/src/main/java/io/questdb/griffin/
VarcharFunctioncore/src/main/java/io/questdb/griffin/
DoubleFunctioncore/src/main/java/io/questdb/griffin/
UndefinedFunctioncore/src/main/java/io/questdb/griffin/
StrFunctioncore/src/main/java/io/questdb/griffin/
UntypedFunctioncore/src/main/java/io/questdb/griffin/
FloatFunctioncore/src/main/java/io/questdb/griffin/

Calls

no outgoing calls

Tested by 15

testSymbolFunctionMethod · 0.76
getFunctionMethod · 0.76
testCommonTypeMethod · 0.76
testAmbiguousCallMethod · 0.76
testBinMethod · 0.76
testBinIndexedMethod · 0.76
testBooleanMethod · 0.76
testBooleanIndexedMethod · 0.76
testByteMethod · 0.76
testByteIndexedMethod · 0.76
testCharMethod · 0.76
testCharIndexedMethod · 0.76