|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.sqlite.callback.Callback
org.sqlite.callback.NamedCallback
org.sqlite.udf.Function
org.sqlite.udf.AggregateFunction<T>
public abstract class AggregateFunction<T>
User-Defined aggregate function class.
JdbcConnection.createFunction(Function),
JdbcConnection.dropFunction(Function)| フィールドの概要 | |
|---|---|
protected java.lang.ThreadLocal<T> |
tls
thraed local storage |
| クラス org.sqlite.udf.Function から継承されたフィールド |
|---|
argc |
| コンストラクタの概要 | |
|---|---|
AggregateFunction(java.lang.String name)
|
|
AggregateFunction(java.lang.String name,
int argc)
|
|
| メソッドの概要 | |
|---|---|
protected T |
get()
Returns the value in the current thread's copy of this thread-local variable. |
protected abstract T |
initialValue()
Returns the current thread's "initial value" for this thread-local variable. |
protected void |
remove()
Removes the current thread's value for this thread-local variable. |
protected void |
set(T value)
Sets the current thread's copy of this thread-local variable to the specified value. |
protected abstract void |
xFinal(Context ctx)
|
protected void |
xFinal(long context)
Called from the sqlite3_step() function. |
protected void |
xFunc(Context ctx)
|
protected abstract void |
xStep(Context ctx)
|
| クラス org.sqlite.udf.Function から継承されたメソッド |
|---|
getArgumentCount, xFunc |
| クラス org.sqlite.callback.NamedCallback から継承されたメソッド |
|---|
getName |
| クラス org.sqlite.callback.Callback から継承されたメソッド |
|---|
isRegistered |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected final java.lang.ThreadLocal<T> tls
| コンストラクタの詳細 |
|---|
public AggregateFunction(java.lang.String name,
int argc)
public AggregateFunction(java.lang.String name)
| メソッドの詳細 |
|---|
protected final void xFunc(Context ctx)
throws java.sql.SQLException
Function 内の xFuncjava.sql.SQLExceptionprotected final void xFinal(long context)
context - protected abstract T initialValue()
ThreadLocal.initialValue()protected T get()
ThreadLocal.get()protected void remove()
ThreadLocal.remove()protected void set(T value)
value - the value to be stored in the current thread's copy of this thread-local.ThreadLocal.set(Object)
protected abstract void xStep(Context ctx)
throws java.sql.SQLException
java.sql.SQLException
protected abstract void xFinal(Context ctx)
throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||