public interface PreparedStatement<T extends Pojo>
| Modifier and Type | Method and Description |
|---|---|
int |
execute()
Executes a predefined
DataModifyingStatement. |
Cursor<T> |
executeQuery()
Executes a predefined
Query. |
ParsedStatement<T> |
getParsedStatement() |
void |
setBoolean(int paramIndex,
boolean paramValue) |
void |
setBooleanList(int paramIndex,
boolean[] paramValue) |
void |
setDouble(int paramIndex,
double paramValue) |
void |
setDoubleList(int paramIndex,
double[] paramValue) |
void |
setInt(int paramIndex,
int paramValue) |
void |
setIntList(int paramIndex,
int[] paramValue) |
void |
setLong(int paramIndex,
long paramValue) |
void |
setLongList(int paramIndex,
long[] paramValue) |
void |
setPojo(int paramIndex,
Pojo paramValue) |
void |
setPojoList(int paramIndex,
Pojo[] paramValue) |
void |
setString(int paramIndex,
String paramValue) |
void |
setStringList(int paramIndex,
String[] paramValue) |
void setBoolean(int paramIndex,
boolean paramValue)
void setLong(int paramIndex,
long paramValue)
void setInt(int paramIndex,
int paramValue)
void setString(int paramIndex,
String paramValue)
void setStringList(int paramIndex,
String[] paramValue)
int execute()
throws StatementExecutionException
DataModifyingStatement.StatementExecutionException - If the prepared statement wasn't valid for execution.StorageException - If the underlying storage throws an exception while executing
this statementCursor<T> executeQuery() throws StatementExecutionException
Query.Cursor as a result to the underlying QueryStatementExecutionException - If the prepared statement wasn't valid for execution.StorageException - If the underlying storage throws an exception while executing
this queryParsedStatement<T> getParsedStatement()
void setBooleanList(int paramIndex,
boolean[] paramValue)
void setLongList(int paramIndex,
long[] paramValue)
void setIntList(int paramIndex,
int[] paramValue)
void setDouble(int paramIndex,
double paramValue)
void setDoubleList(int paramIndex,
double[] paramValue)
void setPojo(int paramIndex,
Pojo paramValue)
void setPojoList(int paramIndex,
Pojo[] paramValue)
Copyright © 2015. All rights reserved.