Package org.sqlite
Class Function.Aggregate
java.lang.Object
org.sqlite.Function
org.sqlite.Function.Aggregate
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
Function.Window
- Enclosing class:
- Function
Provides an interface for creating SQLite user-defined aggregate functions.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.sqlite.Function
Function.Aggregate, Function.Window
-
Field Summary
Fields inherited from class org.sqlite.Function
FLAG_DETERMINISTIC
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.sqlite.Function
args, create, create, create, destroy, destroy, error, result, result, result, result, result, result, value_blob, value_double, value_int, value_long, value_text, value_type
-
Constructor Details
-
Aggregate
public Aggregate()
-
-
Method Details
-
xFunc
protected final void xFunc()Description copied from class:Function
Called by SQLite as a custom function. Should access arguments through value_*(int), return results with result(*) and throw errors with error(String). -
xStep
Defines the abstract aggregate callback function- Throws:
SQLException
- See Also:
-
xFinal
Defines the abstract aggregate callback function- Throws:
SQLException
- See Also:
-
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
- See Also:
-