org.sqlite.udf
クラス Function

java.lang.Object
  上位を拡張 org.sqlite.callback.Callback
      上位を拡張 org.sqlite.callback.NamedCallback
          上位を拡張 org.sqlite.udf.Function
直系の既知のサブクラス:
AggregateFunction, ScalarFunction

public abstract class Function
extends NamedCallback

User-Defined function class.

関連項目:
Create Or Redefine SQL Functions, JdbcConnection.createFunction(Function), JdbcConnection.dropFunction(Function)

フィールドの概要
protected  int argc
           
 
コンストラクタの概要
protected Function(java.lang.String name)
           
protected Function(java.lang.String name, int argc)
           
 
メソッドの概要
 int getArgumentCount()
           
protected abstract  void xFunc(Context ctx)
           
protected  void xFunc(long context, int argc, long value)
          Called from the sqlite3_step() function.
 
クラス org.sqlite.callback.NamedCallback から継承されたメソッド
getName
 
クラス org.sqlite.callback.Callback から継承されたメソッド
isRegistered
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

argc

protected final int argc
コンストラクタの詳細

Function

protected Function(java.lang.String name)

Function

protected Function(java.lang.String name,
                   int argc)
メソッドの詳細

getArgumentCount

public int getArgumentCount()

xFunc

protected final void xFunc(long context,
                           int argc,
                           long value)
Called from the sqlite3_step() function.

パラメータ:
context -
argc -
value -

xFunc

protected abstract void xFunc(Context ctx)
                       throws java.sql.SQLException
例外:
java.sql.SQLException