Package io.roastedroot.sqlite4j
Class Function.Aggregate
- java.lang.Object
-
- io.roastedroot.sqlite4j.Function
-
- io.roastedroot.sqlite4j.Function.Aggregate
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.roastedroot.sqlite4j.Function
Function.Aggregate, Function.Window
-
-
Field Summary
-
Fields inherited from class io.roastedroot.sqlite4j.Function
FLAG_DETERMINISTIC
-
-
Constructor Summary
Constructors Constructor Description Aggregate()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Objectclone()abstract voidxFinal()Defines the abstract aggregate callback functionvoidxFunc()Called by SQLite as a custom function.abstract voidxStep()Defines the abstract aggregate callback function-
Methods inherited from class io.roastedroot.sqlite4j.Function
args, create, create, create, destroy, destroy, error, getValue, getValueArg, result, result, result, result, result, result, setArgs, setContext, setValue, value_blob, value_double, value_int, value_long, value_text, value_type
-
-
-
-
Method Detail
-
xFunc
public final void xFunc()
Description copied from class:FunctionCalled by SQLite as a custom function. Should access arguments through value_*(int), return results with result(*) and throw errors with error(String).- Specified by:
xFuncin classFunction- See Also:
Function.xFunc()
-
xStep
public abstract void xStep() throws SQLExceptionDefines the abstract aggregate callback function- Throws:
SQLException- See Also:
- https://www.sqlite.org/c3ref/aggregate_context.html
-
xFinal
public abstract void xFinal() throws SQLExceptionDefines the abstract aggregate callback function- Throws:
SQLException- See Also:
- https://www.sqlite.org/c3ref/aggregate_context.html
-
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException- See Also:
Object.clone()
-
-