|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.postgresql.pljava.jdbc.SPIStatement
public class SPIStatement
| Field Summary |
|---|
| Fields inherited from interface java.sql.Statement |
|---|
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
| Constructor Summary | |
|---|---|
SPIStatement(SPIConnection conn)
|
|
| Method Summary | |
|---|---|
void |
addBatch(String statement)
|
void |
cancel()
|
void |
clearBatch()
|
void |
clearWarnings()
|
void |
close()
|
boolean |
execute(String statement)
|
boolean |
execute(String statement,
int autoGeneratedKeys)
Return of auto generated keys is not yet supported. |
boolean |
execute(String statement,
int[] columnIndexes)
Return of auto generated keys is not yet supported. |
boolean |
execute(String statement,
String[] columnNames)
Return of auto generated keys is not yet supported. |
int[] |
executeBatch()
|
protected int |
executeBatchEntry(Object batchEntry)
|
protected boolean |
executePlan(ExecutionPlan plan,
Object[] paramValues)
|
ResultSet |
executeQuery(String statement)
|
int |
executeUpdate(String statement)
|
int |
executeUpdate(String statement,
int autoGeneratedKeys)
Return of auto generated keys is not yet supported. |
int |
executeUpdate(String statement,
int[] columnIndexes)
Return of auto generated keys is not yet supported. |
int |
executeUpdate(String statement,
String[] columnNames)
Return of auto generated keys is not yet supported. |
Connection |
getConnection()
Returns the Connection from that created this statement. |
int |
getFetchDirection()
|
int |
getFetchSize()
|
ResultSet |
getGeneratedKeys()
|
int |
getMaxFieldSize()
|
int |
getMaxRows()
|
boolean |
getMoreResults()
|
boolean |
getMoreResults(int current)
|
int |
getQueryTimeout()
|
ResultSet |
getResultSet()
|
int |
getResultSetConcurrency()
|
int |
getResultSetHoldability()
|
int |
getResultSetType()
|
int |
getUpdateCount()
|
SQLWarning |
getWarnings()
|
protected void |
internalAddBatch(Object batch)
|
void |
setCursorName(String cursorName)
|
void |
setEscapeProcessing(boolean enable)
|
void |
setFetchDirection(int direction)
Only ResultSet.FETCH_FORWARD is supported. |
void |
setFetchSize(int size)
|
void |
setMaxFieldSize(int size)
|
void |
setMaxRows(int rows)
|
void |
setQueryTimeout(int seconds)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SPIStatement(SPIConnection conn)
| Method Detail |
|---|
public void addBatch(String statement)
throws SQLException
addBatch in interface StatementSQLException
public void cancel()
throws SQLException
cancel in interface StatementSQLException
public void clearBatch()
throws SQLException
clearBatch in interface StatementSQLException
public void clearWarnings()
throws SQLException
clearWarnings in interface StatementSQLException
public void close()
throws SQLException
close in interface StatementSQLException
public boolean execute(String statement)
throws SQLException
execute in interface StatementSQLException
protected boolean executePlan(ExecutionPlan plan,
Object[] paramValues)
throws SQLException
SQLException
public boolean execute(String statement,
int autoGeneratedKeys)
throws SQLException
execute in interface StatementSQLException - indicating that this feature is not supported.
public boolean execute(String statement,
int[] columnIndexes)
throws SQLException
execute in interface StatementSQLException - indicating that this feature is not supported.
public boolean execute(String statement,
String[] columnNames)
throws SQLException
execute in interface StatementSQLException - indicating that this feature is not supported.
public int[] executeBatch()
throws SQLException
executeBatch in interface StatementSQLException
public ResultSet executeQuery(String statement)
throws SQLException
executeQuery in interface StatementSQLException
public int executeUpdate(String statement)
throws SQLException
executeUpdate in interface StatementSQLException
public int executeUpdate(String statement,
int autoGeneratedKeys)
throws SQLException
executeUpdate in interface StatementSQLException - indicating that this feature is not supported.
public int executeUpdate(String statement,
int[] columnIndexes)
throws SQLException
executeUpdate in interface StatementSQLException - indicating that this feature is not supported.
public int executeUpdate(String statement,
String[] columnNames)
throws SQLException
executeUpdate in interface StatementSQLException - indicating that this feature is not supported.
public Connection getConnection()
throws SQLException
getConnection in interface StatementSQLException - if the statement is closed.
public int getFetchDirection()
throws SQLException
getFetchDirection in interface StatementSQLException
public int getFetchSize()
throws SQLException
getFetchSize in interface StatementSQLException
public ResultSet getGeneratedKeys()
throws SQLException
getGeneratedKeys in interface StatementSQLException
public int getMaxFieldSize()
throws SQLException
getMaxFieldSize in interface StatementSQLException
public int getMaxRows()
throws SQLException
getMaxRows in interface StatementSQLException
public boolean getMoreResults()
throws SQLException
getMoreResults in interface StatementSQLException
public boolean getMoreResults(int current)
throws SQLException
getMoreResults in interface StatementSQLException
public int getQueryTimeout()
throws SQLException
getQueryTimeout in interface StatementSQLException
public ResultSet getResultSet()
throws SQLException
getResultSet in interface StatementSQLExceptionpublic int getResultSetConcurrency()
getResultSetConcurrency in interface Statement
public int getResultSetHoldability()
throws SQLException
getResultSetHoldability in interface StatementSQLExceptionpublic int getResultSetType()
getResultSetType in interface Statement
public int getUpdateCount()
throws SQLException
getUpdateCount in interface StatementSQLException
public SQLWarning getWarnings()
throws SQLException
getWarnings in interface StatementSQLException
public void setCursorName(String cursorName)
throws SQLException
setCursorName in interface StatementSQLException
public void setEscapeProcessing(boolean enable)
throws SQLException
setEscapeProcessing in interface StatementSQLException
public void setFetchDirection(int direction)
throws SQLException
ResultSet.FETCH_FORWARD is supported.
setFetchDirection in interface StatementSQLException - indicating that this feature is not supported
for other values on direction.
public void setFetchSize(int size)
throws SQLException
setFetchSize in interface StatementSQLException
public void setMaxFieldSize(int size)
throws SQLException
setMaxFieldSize in interface StatementSQLException
public void setMaxRows(int rows)
throws SQLException
setMaxRows in interface StatementSQLException
public void setQueryTimeout(int seconds)
throws SQLException
setQueryTimeout in interface StatementSQLException
protected void internalAddBatch(Object batch)
throws SQLException
SQLException
protected int executeBatchEntry(Object batchEntry)
throws SQLException
SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||