Package org.sqlite
Class Function.Aggregate
- java.lang.Object
-
- org.sqlite.Function
-
- org.sqlite.Function.Aggregate
-
- All Implemented Interfaces:
java.lang.Cloneable
- Direct Known Subclasses:
Function.Window
- Enclosing class:
- Function
public abstract static class Function.Aggregate extends Function implements java.lang.Cloneable
Provides an interface for creating SQLite user-defined aggregate functions.- See Also:
Function
-
-
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 Constructor Description Aggregate()
-
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
-
-
-
-
Method Detail
-
xFunc
protected 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
protected abstract void xStep() throws java.sql.SQLExceptionDefines the abstract aggregate callback function- Throws:
java.sql.SQLException- See Also:
- http://www.sqlite.org/c3ref/aggregate_context.html
-
xFinal
protected abstract void xFinal() throws java.sql.SQLExceptionDefines the abstract aggregate callback function- Throws:
java.sql.SQLException- See Also:
- http://www.sqlite.org/c3ref/aggregate_context.html
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException- Overrides:
clonein classjava.lang.Object- Throws:
java.lang.CloneNotSupportedException- See Also:
Object.clone()
-
-