Class com::omnisci::jdbc::OmniSciPreparedStatement

class OmniSciPreparedStatement : public PreparedStatement

Author

michael

Public Functions

ResultSet com.omnisci.jdbc.OmniSciPreparedStatement.executeQuery()
int com.omnisci.jdbc.OmniSciPreparedStatement.executeUpdate()
void com.omnisci.jdbc.OmniSciPreparedStatement.setNull(int parameterIndex, int sqlType)
void com.omnisci.jdbc.OmniSciPreparedStatement.setBoolean(int parameterIndex, boolean x)
void com.omnisci.jdbc.OmniSciPreparedStatement.setByte(int parameterIndex, byte x)
void com.omnisci.jdbc.OmniSciPreparedStatement.setShort(int parameterIndex, short x)
void com.omnisci.jdbc.OmniSciPreparedStatement.setInt(int parameterIndex, int x)
void com.omnisci.jdbc.OmniSciPreparedStatement.setLong(int parameterIndex, long x)
void com.omnisci.jdbc.OmniSciPreparedStatement.setFloat(int parameterIndex, float x)
void com.omnisci.jdbc.OmniSciPreparedStatement.setDouble(int parameterIndex, double x)
void com.omnisci.jdbc.OmniSciPreparedStatement.setBigDecimal(int parameterIndex, BigDecimal x)
void com.omnisci.jdbc.OmniSciPreparedStatement.setString(int parameterIndex, String x)
void com.omnisci.jdbc.OmniSciPreparedStatement.setBytes(int parameterIndex, byte[] x)
void com.omnisci.jdbc.OmniSciPreparedStatement.setDate(int parameterIndex, Date x)
void com.omnisci.jdbc.OmniSciPreparedStatement.setTime(int parameterIndex, Time x)
void com.omnisci.jdbc.OmniSciPreparedStatement.setTimestamp(int parameterIndex, Timestamp x)
void com.omnisci.jdbc.OmniSciPreparedStatement.setAsciiStream(int parameterIndex, InputStream x, int length)
void com.omnisci.jdbc.OmniSciPreparedStatement.setUnicodeStream(int parameterIndex, InputStream x, int length)
void com.omnisci.jdbc.OmniSciPreparedStatement.setBinaryStream(int parameterIndex, InputStream x, int length)
void com.omnisci.jdbc.OmniSciPreparedStatement.clearParameters()
void com.omnisci.jdbc.OmniSciPreparedStatement.setObject(int parameterIndex, Object x, int targetSqlType)
void com.omnisci.jdbc.OmniSciPreparedStatement.setObject(int parameterIndex, Object x)
boolean com.omnisci.jdbc.OmniSciPreparedStatement.execute()
void com.omnisci.jdbc.OmniSciPreparedStatement.addBatch()
void com.omnisci.jdbc.OmniSciPreparedStatement.setCharacterStream(int parameterIndex, Reader reader, int length)
void com.omnisci.jdbc.OmniSciPreparedStatement.setRef(int parameterIndex, Ref x)
void com.omnisci.jdbc.OmniSciPreparedStatement.setBlob(int parameterIndex, Blob x)
void com.omnisci.jdbc.OmniSciPreparedStatement.setClob(int parameterIndex, Clob x)
void com.omnisci.jdbc.OmniSciPreparedStatement.setArray(int parameterIndex, Array x)
ResultSetMetaData com.omnisci.jdbc.OmniSciPreparedStatement.getMetaData()
void com.omnisci.jdbc.OmniSciPreparedStatement.setDate(int parameterIndex, Date x, Calendar cal)
void com.omnisci.jdbc.OmniSciPreparedStatement.setTime(int parameterIndex, Time x, Calendar cal)
void com.omnisci.jdbc.OmniSciPreparedStatement.setTimestamp(int parameterIndex, Timestamp x, Calendar cal)
void com.omnisci.jdbc.OmniSciPreparedStatement.setNull(int parameterIndex, int sqlType, String typeName)
void com.omnisci.jdbc.OmniSciPreparedStatement.setURL(int parameterIndex, URL x)
ParameterMetaData com.omnisci.jdbc.OmniSciPreparedStatement.getParameterMetaData()
void com.omnisci.jdbc.OmniSciPreparedStatement.setRowId(int parameterIndex, RowId x)
void com.omnisci.jdbc.OmniSciPreparedStatement.setNString(int parameterIndex, String value)
void com.omnisci.jdbc.OmniSciPreparedStatement.setNCharacterStream(int parameterIndex, Reader value, long length)
void com.omnisci.jdbc.OmniSciPreparedStatement.setNClob(int parameterIndex, NClob value)
void com.omnisci.jdbc.OmniSciPreparedStatement.setClob(int parameterIndex, Reader reader, long length)
void com.omnisci.jdbc.OmniSciPreparedStatement.setBlob(int parameterIndex, InputStream inputStream, long length)
void com.omnisci.jdbc.OmniSciPreparedStatement.setNClob(int parameterIndex, Reader reader, long length)
void com.omnisci.jdbc.OmniSciPreparedStatement.setSQLXML(int parameterIndex, SQLXML xmlObject)
void com.omnisci.jdbc.OmniSciPreparedStatement.setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength)
void com.omnisci.jdbc.OmniSciPreparedStatement.setAsciiStream(int parameterIndex, InputStream x, long length)
void com.omnisci.jdbc.OmniSciPreparedStatement.setBinaryStream(int parameterIndex, InputStream x, long length)
void com.omnisci.jdbc.OmniSciPreparedStatement.setCharacterStream(int parameterIndex, Reader reader, long length)
void com.omnisci.jdbc.OmniSciPreparedStatement.setAsciiStream(int parameterIndex, InputStream x)
void com.omnisci.jdbc.OmniSciPreparedStatement.setBinaryStream(int parameterIndex, InputStream x)
void com.omnisci.jdbc.OmniSciPreparedStatement.setCharacterStream(int parameterIndex, Reader reader)
void com.omnisci.jdbc.OmniSciPreparedStatement.setNCharacterStream(int parameterIndex, Reader value)
void com.omnisci.jdbc.OmniSciPreparedStatement.setClob(int parameterIndex, Reader reader)
void com.omnisci.jdbc.OmniSciPreparedStatement.setBlob(int parameterIndex, InputStream inputStream)
void com.omnisci.jdbc.OmniSciPreparedStatement.setNClob(int parameterIndex, Reader reader)
ResultSet com.omnisci.jdbc.OmniSciPreparedStatement.executeQuery(String sql)
int com.omnisci.jdbc.OmniSciPreparedStatement.executeUpdate(String sql)
void com.omnisci.jdbc.OmniSciPreparedStatement.close()
int com.omnisci.jdbc.OmniSciPreparedStatement.getMaxFieldSize()
void com.omnisci.jdbc.OmniSciPreparedStatement.setMaxFieldSize(int max)
int com.omnisci.jdbc.OmniSciPreparedStatement.getMaxRows()
void com.omnisci.jdbc.OmniSciPreparedStatement.setMaxRows(int max)
void com.omnisci.jdbc.OmniSciPreparedStatement.setEscapeProcessing(boolean enable)
int com.omnisci.jdbc.OmniSciPreparedStatement.getQueryTimeout()
void com.omnisci.jdbc.OmniSciPreparedStatement.setQueryTimeout(int seconds)
void com.omnisci.jdbc.OmniSciPreparedStatement.cancel()
SQLWarning com.omnisci.jdbc.OmniSciPreparedStatement.getWarnings()
void com.omnisci.jdbc.OmniSciPreparedStatement.clearWarnings()
void com.omnisci.jdbc.OmniSciPreparedStatement.setCursorName(String name)
boolean com.omnisci.jdbc.OmniSciPreparedStatement.execute(String sql)
ResultSet com.omnisci.jdbc.OmniSciPreparedStatement.getResultSet()
int com.omnisci.jdbc.OmniSciPreparedStatement.getUpdateCount()
boolean com.omnisci.jdbc.OmniSciPreparedStatement.getMoreResults()
void com.omnisci.jdbc.OmniSciPreparedStatement.setFetchDirection(int direction)
int com.omnisci.jdbc.OmniSciPreparedStatement.getFetchDirection()
void com.omnisci.jdbc.OmniSciPreparedStatement.setFetchSize(int rows)
int com.omnisci.jdbc.OmniSciPreparedStatement.getFetchSize()
int com.omnisci.jdbc.OmniSciPreparedStatement.getResultSetConcurrency()
int com.omnisci.jdbc.OmniSciPreparedStatement.getResultSetType()
void com.omnisci.jdbc.OmniSciPreparedStatement.addBatch(String sql)
void com.omnisci.jdbc.OmniSciPreparedStatement.clearBatch()
int [] com.omnisci.jdbc.OmniSciPreparedStatement.executeBatch()
Connection com.omnisci.jdbc.OmniSciPreparedStatement.getConnection()
boolean com.omnisci.jdbc.OmniSciPreparedStatement.getMoreResults(int current)
ResultSet com.omnisci.jdbc.OmniSciPreparedStatement.getGeneratedKeys()
int com.omnisci.jdbc.OmniSciPreparedStatement.executeUpdate(String sql, int autoGeneratedKeys)
int com.omnisci.jdbc.OmniSciPreparedStatement.executeUpdate(String sql, int[] columnIndexes)
int com.omnisci.jdbc.OmniSciPreparedStatement.executeUpdate(String sql, String[] columnNames)
boolean com.omnisci.jdbc.OmniSciPreparedStatement.execute(String sql, int autoGeneratedKeys)
boolean com.omnisci.jdbc.OmniSciPreparedStatement.execute(String sql, int[] columnIndexes)
boolean com.omnisci.jdbc.OmniSciPreparedStatement.execute(String sql, String[] columnNames)
int com.omnisci.jdbc.OmniSciPreparedStatement.getResultSetHoldability()
boolean com.omnisci.jdbc.OmniSciPreparedStatement.isClosed()
void com.omnisci.jdbc.OmniSciPreparedStatement.setPoolable(boolean poolable)
boolean com.omnisci.jdbc.OmniSciPreparedStatement.isPoolable()
void com.omnisci.jdbc.OmniSciPreparedStatement.closeOnCompletion()
boolean com.omnisci.jdbc.OmniSciPreparedStatement.isCloseOnCompletion()
boolean com.omnisci.jdbc.OmniSciPreparedStatement.isWrapperFor(Class<?> iface)

Public Members

SQLWarning com.omnisci.jdbc.OmniSciPreparedStatement.rootWarning = null

Private Functions

String com.omnisci.jdbc.OmniSciPreparedStatement.getQuery()
boolean com.omnisci.jdbc.OmniSciPreparedStatement.isSelect()
void com.omnisci.jdbc.OmniSciPreparedStatement.checkClosed()

Private Members

String com.omnisci.jdbc.OmniSciPreparedStatement.currentSQL
String com.omnisci.jdbc.OmniSciPreparedStatement.insertTableName
int com.omnisci.jdbc.OmniSciPreparedStatement.parmCount = 0
String com.omnisci.jdbc.OmniSciPreparedStatement.brokenSQL[]
String com.omnisci.jdbc.OmniSciPreparedStatement.parmRep[]
boolean com.omnisci.jdbc.OmniSciPreparedStatement.parmIsNull[]
String com.omnisci.jdbc.OmniSciPreparedStatement.listOfFields[]
int com.omnisci.jdbc.OmniSciPreparedStatement.repCount
String com.omnisci.jdbc.OmniSciPreparedStatement.session
OmniSci.Client com.omnisci.jdbc.OmniSciPreparedStatement.client
OmniSciStatement com.omnisci.jdbc.OmniSciPreparedStatement.stmt = null
boolean com.omnisci.jdbc.OmniSciPreparedStatement.isInsert = false
boolean com.omnisci.jdbc.OmniSciPreparedStatement.isNewBatch = true
boolean [] com.omnisci.jdbc.OmniSciPreparedStatement.parmIsString = null
List<TStringRow> com.omnisci.jdbc.OmniSciPreparedStatement.rows = null
boolean com.omnisci.jdbc.OmniSciPreparedStatement.isClosed = false

Private Static Attributes

final Pattern com.omnisci.jdbc.OmniSciPreparedStatement.REGEX_PATTERN = Pattern.compile("(?i)\s+INTO\s+(\w+)")
final Pattern com.omnisci.jdbc.OmniSciPreparedStatement.REGEX_LOF_PATTERN= Pattern.compile( "(?i)\s*insert\s+into\s+[\w:\.]+\s*\(([\w:\s:\,:\']+)\)[\w:\s]+\(")
final Pattern com.omnisci.jdbc.OmniSciPreparedStatement.REGEX_IS_SELECT_PATTERN= Pattern.compile("^(?:\s|--.*?\R|/\*[\S\s]*?\*/|\s*)*\s*select[\S\s]*", Pattern.CASE_INSENSITIVE | Pattern.MULTILINE)