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