public class FlexibleSearchStatementImpl extends StatementImpl implements ParsedStatement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Constructor and Description |
|---|
FlexibleSearchStatementImpl(ConnectionImpl conn,
Statement statement) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch(String query) |
void |
cancel() |
void |
clearBatch() |
void |
clearWarnings() |
void |
close() |
boolean |
execute(String query) |
boolean |
execute(String query,
int autoGeneratedKeys) |
boolean |
execute(String query,
int[] columnIndexes) |
boolean |
execute(String query,
String[] columnNames) |
ResultSet |
executeQuery(String query) |
int |
executeUpdate(String query) |
int |
executeUpdate(String query,
int autoGeneratedKeys) |
int |
executeUpdate(String query,
int[] columnIndexes) |
int |
executeUpdate(String query,
String[] columnNames) |
ConnectionImpl |
getConnection()
returns the ConnectionImpl object
|
int |
getFetchDirection() |
int |
getFetchSize() |
ResultSet |
getGeneratedKeys() |
int |
getMaxFieldSize() |
int |
getMaxRows() |
boolean |
getMoreResults() |
boolean |
getMoreResults(int current) |
int |
getQueryTimeout() |
int |
getResultSetConcurrency() |
int |
getResultSetHoldability() |
int |
getResultSetType() |
int |
getUpdateCount() |
SQLWarning |
getWarnings() |
boolean |
isClosed() |
boolean |
isPoolable() |
boolean |
isWrapperFor(Class<?> arg0) |
protected void |
notifyResultSetClosed(ResultSetImpl resultSetImpl) |
String |
parseQuery(String queryIn) |
protected void |
releaseResourceImpl(ResultSet resource) |
void |
setCursorName(String cursorname) |
void |
setEscapeProcessing(boolean enable) |
void |
setFetchDirection(int fetchDirection) |
void |
setFetchSize(int fetchSize) |
void |
setMaxFieldSize(int maxFieldSize) |
void |
setMaxRows(int maxRows) |
void |
setPoolable(boolean enable) |
void |
setQueryTimeout(int queryTimeout) |
<T> T |
unwrap(Class<T> arg0) |
protected ResultSet |
wrapResultSet(ResultSet real)
returns a wrapped ResultSet
|
addToLogBatchStatements, closeOnCompletion, executeBatch, getResultSet, isCloseOnCompletion, isFlexibleSyntaxaddResource, releaseResources, removeResourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, setLargeMaxRowspublic FlexibleSearchStatementImpl(ConnectionImpl conn, Statement statement)
public ConnectionImpl getConnection() throws SQLException
getConnection in interface StatementgetConnection in class StatementImplSQLExceptionprotected ResultSet wrapResultSet(ResultSet real) throws SQLException
wrapResultSet in class StatementImplSQLExceptionprotected void releaseResourceImpl(ResultSet resource) throws SQLException
releaseResourceImpl in class StatementImplresource - abstracts, release mechanism for underlying resource any specific implementation for release resources
should add hereSQLExceptionpublic ResultSet executeQuery(String query) throws SQLException
executeQuery in interface StatementexecuteQuery in class StatementImplSQLExceptionpublic String parseQuery(String queryIn) throws SQLException
parseQuery in interface ParsedStatementqueryIn - query to be parsed in flex-mode implementationSQLException - is thrown if during parsing something goes wrongpublic int executeUpdate(String query) throws SQLException
executeUpdate in interface StatementexecuteUpdate in class StatementImplSQLExceptionpublic boolean execute(String query) throws SQLException
execute in interface Statementexecute in class StatementImplSQLExceptionpublic ResultSet getGeneratedKeys() throws SQLException
getGeneratedKeys in interface StatementgetGeneratedKeys in class StatementImplSQLExceptionprotected void notifyResultSetClosed(ResultSetImpl resultSetImpl)
notifyResultSetClosed in class StatementImplpublic void close()
throws SQLException
close in interface AutoCloseableclose in interface Statementclose in class StatementImplSQLExceptionpublic int getMaxFieldSize()
throws SQLException
getMaxFieldSize in interface StatementgetMaxFieldSize in class StatementImplSQLExceptionpublic void setMaxFieldSize(int maxFieldSize)
throws SQLException
setMaxFieldSize in interface StatementsetMaxFieldSize in class StatementImplSQLExceptionpublic int getMaxRows()
throws SQLException
getMaxRows in interface StatementgetMaxRows in class StatementImplSQLExceptionpublic void setMaxRows(int maxRows)
throws SQLException
setMaxRows in interface StatementsetMaxRows in class StatementImplSQLExceptionpublic void setEscapeProcessing(boolean enable)
throws SQLException
setEscapeProcessing in interface StatementsetEscapeProcessing in class StatementImplSQLExceptionpublic int getQueryTimeout()
throws SQLException
getQueryTimeout in interface StatementgetQueryTimeout in class StatementImplSQLExceptionpublic void setQueryTimeout(int queryTimeout)
throws SQLException
setQueryTimeout in interface StatementsetQueryTimeout in class StatementImplSQLExceptionpublic void cancel()
throws SQLException
cancel in interface Statementcancel in class StatementImplSQLExceptionpublic SQLWarning getWarnings() throws SQLException
getWarnings in interface StatementgetWarnings in class StatementImplSQLExceptionpublic void clearWarnings()
throws SQLException
clearWarnings in interface StatementclearWarnings in class StatementImplSQLExceptionpublic void setCursorName(String cursorname) throws SQLException
setCursorName in interface StatementsetCursorName in class StatementImplSQLExceptionpublic int getUpdateCount()
throws SQLException
getUpdateCount in interface StatementgetUpdateCount in class StatementImplSQLExceptionpublic boolean getMoreResults()
throws SQLException
getMoreResults in interface StatementgetMoreResults in class StatementImplSQLExceptionpublic void setFetchDirection(int fetchDirection)
throws SQLException
setFetchDirection in interface StatementsetFetchDirection in class StatementImplSQLExceptionpublic int getFetchDirection()
throws SQLException
getFetchDirection in interface StatementgetFetchDirection in class StatementImplSQLExceptionpublic void setFetchSize(int fetchSize)
throws SQLException
setFetchSize in interface StatementsetFetchSize in class StatementImplSQLExceptionpublic int getFetchSize()
throws SQLException
getFetchSize in interface StatementgetFetchSize in class StatementImplSQLExceptionpublic int getResultSetConcurrency()
throws SQLException
getResultSetConcurrency in interface StatementgetResultSetConcurrency in class StatementImplSQLExceptionpublic int getResultSetType()
throws SQLException
getResultSetType in interface StatementgetResultSetType in class StatementImplSQLExceptionpublic void addBatch(String query) throws SQLException
addBatch in interface StatementaddBatch in class StatementImplSQLExceptionpublic void clearBatch()
throws SQLException
clearBatch in interface StatementclearBatch in class StatementImplSQLExceptionpublic boolean getMoreResults(int current)
throws SQLException
getMoreResults in interface StatementgetMoreResults in class StatementImplSQLExceptionpublic int executeUpdate(String query, int autoGeneratedKeys) throws SQLException
executeUpdate in interface StatementexecuteUpdate in class StatementImplSQLExceptionpublic int executeUpdate(String query, int[] columnIndexes) throws SQLException
executeUpdate in interface StatementexecuteUpdate in class StatementImplSQLExceptionpublic int executeUpdate(String query, String[] columnNames) throws SQLException
executeUpdate in interface StatementexecuteUpdate in class StatementImplSQLExceptionpublic boolean execute(String query, int autoGeneratedKeys) throws SQLException
execute in interface Statementexecute in class StatementImplSQLExceptionpublic boolean execute(String query, int[] columnIndexes) throws SQLException
execute in interface Statementexecute in class StatementImplSQLExceptionpublic boolean execute(String query, String[] columnNames) throws SQLException
execute in interface Statementexecute in class StatementImplSQLExceptionpublic int getResultSetHoldability()
throws SQLException
getResultSetHoldability in interface StatementgetResultSetHoldability in class StatementImplSQLExceptionpublic <T> T unwrap(Class<T> arg0) throws SQLException
unwrap in interface Wrapperunwrap in class StatementImplSQLExceptionpublic boolean isWrapperFor(Class<?> arg0) throws SQLException
isWrapperFor in interface WrapperisWrapperFor in class StatementImplSQLExceptionpublic void setPoolable(boolean enable)
throws SQLException
setPoolable in interface StatementsetPoolable in class StatementImplSQLExceptionpublic boolean isPoolable()
throws SQLException
isPoolable in interface StatementisPoolable in class StatementImplSQLExceptionpublic boolean isClosed()
throws SQLException
isClosed in interface StatementisClosed in class StatementImplSQLExceptionCopyright © 2017 SAP SE. All Rights Reserved.