|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.sqlite.Statement
public class Statement
sqlite3_stmt wrapper class.
NOTE: SQLite 3.3.5 based.
メソッドの概要 | |
---|---|
void |
bindBytes(int parameterIndex,
byte[] val)
invoke sqlite3_bind_blob() function. |
void |
bindBytes(int parameterIndex,
byte[] val,
int len)
invoke sqlite3_bind_blob() function. |
void |
bindDouble(int parameterIndex,
double val)
invoke sqlite3_bind_double() function. |
void |
bindInt(int parameterIndex,
int val)
invoke sqlite3_bind_int() function. |
void |
bindLong(int parameterIndex,
long val)
invoke sqlite3_bind_int64() function. |
void |
bindNull(int parameterIndex)
invoke sqlite3_bind_null() function. |
void |
bindText(int parameterIndex,
java.lang.String val)
invoke sqlite3_bind_text() function. |
void |
clearBinding()
invoke sqlite3_clear_bindings() function. |
void |
close()
invoke sqlite3_finalize() function. |
int |
execute()
invoke step() method. |
protected void |
finalize()
|
SWIGTYPE_p_void |
getBlob(int columnIndex)
invoke sqlite3_column_blob() function. |
int |
getByteLength(int columnIndex)
invoke sqlite3_column_bytes() function. |
byte[] |
getBytes(int columnIndex)
invoke sqlite3_column_blob() function. |
int |
getColumnCount()
invoke sqlite3_column_count() function. |
java.lang.String |
getColumnLabel(int columnIndex)
invoke sqlite3_column_name() function. |
ColumnMetaData |
getColumnMetaData(java.lang.String dbName,
java.lang.String tableName,
java.lang.String columnName)
invoke org.sqlite.Database#getColumnMetaData() method. |
java.lang.String |
getColumnName(int columnIndex)
invoke sqlite3_column_origin_name() function. |
java.lang.String |
getColumnTableName(int columnIndex)
invoke sqlite3_column_table_name() function. |
int |
getColumnType(int columnIndex)
invoke sqlite3_column_type() function. |
java.lang.String |
getColumnTypeName(int columnIndex)
invoke sqlite3_column_decltype() function. |
Database |
getDatabase()
|
int |
getDataCount()
invoke sqlite3_data_count() function. |
SWIGTYPE_p_sqlite3 |
getDbHandle()
invoke sqlite3_db_handle() function. |
double |
getDouble(int columnIndex)
invoke sqlite3_column_double() function. |
int |
getInt(int columnIndex)
invoke sqlite3_column_int() function. |
long |
getLong(int columnIndex)
invoke sqlite3_column_int64() function. |
int |
getParameterCount()
invoke sqlite3_bind_parameter_count() function. |
int |
getParameterIndex(java.lang.String parameterName)
invoke sqlite3_bind_parameter_index() function. |
java.lang.String |
getParameterName(int parameterIndex)
invoke sqlite3_bind_parameter_name() function. |
java.lang.String |
getString(int columnIndex)
invoke sqlite3_column_text() function. |
boolean |
isClosed()
|
boolean |
isExpired()
invoke sqlite3_expired() function. |
boolean |
isManaged()
True is returned when generated with PreparedStatement. |
boolean |
producedResultSet()
true if the return value of getColumnCount() is not 0. |
void |
reset()
invoke sqlite3_reset() function. |
int |
step()
invoke sqlite3_step() function. |
void |
transferBinding(Statement dest)
推奨されていません。 |
protected void |
validateColumnIndexRange(int columnIndex)
|
protected void |
validateStatementOpen()
|
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
メソッドの詳細 |
---|
public boolean isManaged()
public int getParameterCount() throws java.sql.SQLException
java.sql.SQLException
public int getParameterIndex(java.lang.String parameterName) throws java.sql.SQLException
parameterName
-
java.sql.SQLException
public java.lang.String getParameterName(int parameterIndex) throws java.sql.SQLException
parameterIndex
-
java.sql.SQLException
public int getColumnCount() throws java.sql.SQLException
java.sql.SQLException
public int getDataCount() throws java.sql.SQLException
java.sql.SQLException
step()
,
Number of columns in a result setpublic java.lang.String getColumnLabel(int columnIndex) throws java.sql.SQLException
columnIndex
-
java.sql.SQLException
public java.lang.String getColumnName(int columnIndex) throws java.sql.SQLException
columnIndex
-
java.sql.SQLException
public int getColumnType(int columnIndex) throws java.sql.SQLException
columnIndex
-
java.sql.SQLException
step()
,
Results Values From A Querypublic java.lang.String getColumnTableName(int columnIndex) throws java.sql.SQLException
columnIndex
-
java.sql.SQLException
public java.lang.String getColumnTypeName(int columnIndex) throws java.sql.SQLException
columnIndex
-
java.sql.SQLException
public ColumnMetaData getColumnMetaData(java.lang.String dbName, java.lang.String tableName, java.lang.String columnName) throws java.sql.SQLException
dbName
- tableName
- columnName
-
java.sql.SQLException
Database.getColumnMetaData(String, String, String)
public java.lang.String getString(int columnIndex) throws java.sql.SQLException
columnIndex
-
java.sql.SQLException
public int getInt(int columnIndex) throws java.sql.SQLException
columnIndex
-
java.sql.SQLException
public long getLong(int columnIndex) throws java.sql.SQLException
columnIndex
-
java.sql.SQLException
public double getDouble(int columnIndex) throws java.sql.SQLException
columnIndex
-
java.sql.SQLException
public byte[] getBytes(int columnIndex) throws java.sql.SQLException
columnIndex
-
java.sql.SQLException
public SWIGTYPE_p_void getBlob(int columnIndex) throws java.sql.SQLException
columnIndex
-
java.sql.SQLException
public int getByteLength(int columnIndex) throws java.sql.SQLException
columnIndex
-
java.sql.SQLException
public void bindNull(int parameterIndex) throws java.sql.SQLException
parameterIndex
-
java.sql.SQLException
public void bindInt(int parameterIndex, int val) throws java.sql.SQLException
parameterIndex
- val
-
java.sql.SQLException
public void bindLong(int parameterIndex, long val) throws java.sql.SQLException
parameterIndex
- val
-
java.sql.SQLException
public void bindDouble(int parameterIndex, double val) throws java.sql.SQLException
parameterIndex
- val
-
java.sql.SQLException
public void bindText(int parameterIndex, java.lang.String val) throws java.sql.SQLException
parameterIndex
- val
-
java.sql.SQLException
public void bindBytes(int parameterIndex, byte[] val) throws java.sql.SQLException
parameterIndex
- val
-
java.sql.SQLException
public void bindBytes(int parameterIndex, byte[] val, int len) throws java.sql.SQLException
parameterIndex
- val
- len
-
java.sql.SQLException
public void clearBinding() throws java.sql.SQLException
java.sql.SQLException
public void reset() throws java.sql.SQLException
java.sql.SQLException
public int step() throws java.sql.SQLException
java.sql.SQLException
public int execute() throws java.sql.SQLException
java.sql.SQLException
public boolean isExpired() throws java.sql.SQLException
java.sql.SQLException
public SWIGTYPE_p_sqlite3 getDbHandle() throws java.sql.SQLException
java.sql.SQLException
public void transferBinding(Statement dest) throws java.sql.SQLException
java.sql.SQLException
public boolean producedResultSet() throws java.sql.SQLException
java.sql.SQLException
public boolean isClosed()
public void close() throws java.sql.SQLException
java.sql.SQLException
protected void finalize() throws java.lang.Throwable
java.lang.Object
内の finalize
java.lang.Throwable
protected void validateStatementOpen() throws java.sql.SQLException
java.sql.SQLException
protected void validateColumnIndexRange(int columnIndex) throws java.sql.SQLException
columnIndex
-
java.sql.SQLException
public Database getDatabase() throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |