public class AndroidPreparedStatement extends Objectimplements IPreparedStatement
| Constructor and Description |
|---|
AndroidPreparedStatement(android
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
|
void |
execute()
|
IResultSet |
executeQuery()
|
void |
setArguments(String
|
void |
setDouble(int position, double value)
|
void |
setInt(int position, int value)
|
void |
setLong(int position, long value)
|
void |
setString(int position, String
|
public AndroidPreparedStatement(android.database .sqlite .SQLiteDatabase database, String sql)
public IResultSetexecuteQuery() throws QueryException
executeQuery in interface
IPreparedStatement
QueryException
public void execute()
throws QueryException
execute in interface
IPreparedStatement
QueryException
public void setInt(int position,
int value)
throws QueryException
setInt in interface
IPreparedStatement
QueryException
public void setLong(int position,
long value)
throws QueryException
setLong in interface
IPreparedStatement
QueryException
public void setDouble(int position,
double value)
throws QueryException
setDouble in interface
IPreparedStatement
QueryException
public void setString(int position,
String value)
throws QueryException
setString in interface
IPreparedStatement
QueryException
public void setArguments(String[] arguments) throws QueryException
setArguments in interface
IPreparedStatement
QueryException
public void close()
throws QueryException
close in interface
IPreparedStatement
QueryException