|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.sqlite.udf.Context
public class Context
sqlite3_context and sqlite3_value wrapper class.
NOTE: SQLite 3.3.5 based.
コンストラクタの概要 | |
---|---|
Context(long ctx)
|
|
Context(long ctx,
int argc,
long value)
|
|
Context(SWIGTYPE_p_sqlite3_context ctx,
int argc,
SWIGTYPE_p_p_Mem value)
|
メソッドの概要 | |
---|---|
int |
getArgumentCount()
|
SWIGTYPE_p_void |
getBlob(int parameterIndex)
invoke sqlite3_value_blob() function. |
int |
getByteLength(int parameterIndex)
invoke sqlite3_value_bytes() function. |
byte[] |
getBytes(int parameterIndex)
invoke sqlite3_value_blob() function. |
java.sql.Date |
getDate(int parameterIndex)
invoke sqlite3_value_text() function. |
double |
getDouble(int parameterIndex)
invoke sqlite3_value_double() function. |
int |
getInt(int parameterIndex)
invoke sqlite3_value_int() function. |
long |
getLong(int parameterIndex)
invoke sqlite3_value_int64() function. |
SWIGTYPE_p_Mem |
getSQLite3ValuePtr(int parameterIndex)
|
java.lang.String |
getString(int parameterIndex)
invoke sqlite3_value_text() function. |
java.sql.Time |
getTime(int parameterIndex)
invoke sqlite3_value_text() function. |
java.sql.Timestamp |
getTimestamp(int parameterIndex)
invoke sqlite3_value_text() function. |
int |
getValueNumericType(int parameterIndex)
invoke sqlite3_value_numeric_type() function. |
int |
getValueType(int parameterIndex)
invoke sqlite3_value_type() function. |
boolean |
hasValues()
|
void |
result(byte[] x)
invoke sqlite3_result_blob() function. |
void |
result(byte[] x,
int len)
invoke sqlite3_result_blob() function. |
void |
result(java.sql.Date x)
invoke sqlite3_result_text() function. |
void |
result(double x)
invoke sqlite3_result_double() function. |
void |
result(int x)
invoke sqlite3_result_int() function. |
void |
result(long x)
invoke sqlite3_result_int64() function. |
void |
result(java.lang.String x)
invoke sqlite3_result_text() function. |
void |
result(SWIGTYPE_p_Mem x)
invoke sqlite3_result_value() function. |
void |
result(SWIGTYPE_p_void x,
int bytes)
invoke sqlite3_result_blob() function. |
void |
result(java.sql.Time x)
invoke sqlite3_result_text() function. |
void |
result(java.sql.Timestamp x)
invoke sqlite3_result_text() function. |
void |
resultError(java.lang.String x)
invoke sqlite3_result_error() function. |
void |
resultNull()
invoke sqlite3_result_null() function. |
protected void |
validateParamaeterIndexRange(int parameterIndex)
|
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public Context(long ctx)
public Context(long ctx, int argc, long value)
public Context(SWIGTYPE_p_sqlite3_context ctx, int argc, SWIGTYPE_p_p_Mem value)
メソッドの詳細 |
---|
public int getArgumentCount()
public boolean hasValues()
public void result(SWIGTYPE_p_void x, int bytes)
x
- bytes
- public void result(byte[] x)
x
- public void result(byte[] x, int len)
x
- len
- public void result(double x)
x
- public void result(int x)
x
- public void result(long x)
x
- public void result(java.lang.String x)
x
- public void result(SWIGTYPE_p_Mem x)
x
- public void result(java.sql.Date x)
x
- public void result(java.sql.Time x)
x
- public void result(java.sql.Timestamp x)
x
- public void resultError(java.lang.String x)
x
- public void resultNull()
public SWIGTYPE_p_void getBlob(int parameterIndex) throws java.sql.SQLException
parameterIndex
-
java.sql.SQLException
public int getByteLength(int parameterIndex) throws java.sql.SQLException
parameterIndex
-
java.sql.SQLException
public byte[] getBytes(int parameterIndex) throws java.sql.SQLException
parameterIndex
-
java.sql.SQLException
public double getDouble(int parameterIndex) throws java.sql.SQLException
parameterIndex
-
java.sql.SQLException
public int getInt(int parameterIndex) throws java.sql.SQLException
parameterIndex
-
java.sql.SQLException
public long getLong(int parameterIndex) throws java.sql.SQLException
parameterIndex
-
java.sql.SQLException
public java.lang.String getString(int parameterIndex) throws java.sql.SQLException
parameterIndex
-
java.sql.SQLException
public java.sql.Date getDate(int parameterIndex) throws java.sql.SQLException
parameterIndex
-
java.sql.SQLException
public java.sql.Time getTime(int parameterIndex) throws java.sql.SQLException
parameterIndex
-
java.sql.SQLException
public java.sql.Timestamp getTimestamp(int parameterIndex) throws java.sql.SQLException
parameterIndex
-
java.sql.SQLException
public int getValueType(int parameterIndex) throws java.sql.SQLException
parameterIndex
-
java.sql.SQLException
public int getValueNumericType(int parameterIndex) throws java.sql.SQLException
parameterIndex
-
java.sql.SQLException
protected void validateParamaeterIndexRange(int parameterIndex) throws java.sql.SQLException
parameterIndex
-
java.sql.SQLException
public SWIGTYPE_p_Mem getSQLite3ValuePtr(int parameterIndex) throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |