|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.sql.rowset.BaseRowSet
com.sun.rowset.CachedRowSetImpl
com.mirth.connect.server.userutil.MirthCachedRowSet
public class MirthCachedRowSet
An implementation of CachedRowSet that retrieves values based on the column label value. CachedRowSetImpl uses the column name which ignores alias for drivers that correctly follow the JDBC 4.0 recommendations. Using the column label ensures that aliases will work for these drivers.
| Field Summary |
|---|
| Fields inherited from class com.sun.rowset.CachedRowSetImpl |
|---|
resBundle |
| Fields inherited from class javax.sql.rowset.BaseRowSet |
|---|
ASCII_STREAM_PARAM, asciiStream, BINARY_STREAM_PARAM, binaryStream, charStream, UNICODE_STREAM_PARAM, unicodeStream |
| Fields inherited from interface javax.sql.rowset.CachedRowSet |
|---|
COMMIT_ON_ACCEPT_CHANGES |
| Fields inherited from interface java.sql.ResultSet |
|---|
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE |
| Constructor Summary | |
|---|---|
MirthCachedRowSet()
|
|
MirthCachedRowSet(java.util.Hashtable env)
|
|
| Method Summary | |
|---|---|
boolean |
columnUpdated(java.lang.String columnName)
|
int |
findColumn(java.lang.String columnName)
|
java.sql.Array |
getArray(java.lang.String colName)
|
java.io.InputStream |
getAsciiStream(java.lang.String columnName)
|
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName)
|
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName,
int scale)
|
java.io.InputStream |
getBinaryStream(java.lang.String columnName)
|
java.sql.Blob |
getBlob(java.lang.String colName)
|
boolean |
getBoolean(java.lang.String columnName)
|
byte |
getByte(java.lang.String columnName)
|
byte[] |
getBytes(java.lang.String columnName)
|
java.io.Reader |
getCharacterStream(java.lang.String columnName)
|
java.sql.Clob |
getClob(java.lang.String colName)
|
java.sql.Date |
getDate(java.lang.String columnName)
|
java.sql.Date |
getDate(java.lang.String columnName,
java.util.Calendar cal)
|
double |
getDouble(java.lang.String columnName)
|
float |
getFloat(java.lang.String columnName)
|
int |
getInt(java.lang.String columnName)
|
long |
getLong(java.lang.String columnName)
|
java.lang.Object |
getObject(java.lang.String columnName)
|
java.lang.Object |
getObject(java.lang.String columnName,
java.util.Map<java.lang.String,java.lang.Class<?>> map)
|
java.sql.Ref |
getRef(java.lang.String colName)
|
short |
getShort(java.lang.String columnName)
|
java.lang.String |
getString(java.lang.String columnName)
|
java.sql.Time |
getTime(java.lang.String columnName)
|
java.sql.Time |
getTime(java.lang.String columnName,
java.util.Calendar cal)
|
java.sql.Timestamp |
getTimestamp(java.lang.String columnName)
|
java.sql.Timestamp |
getTimestamp(java.lang.String columnName,
java.util.Calendar cal)
|
java.io.InputStream |
getUnicodeStream(java.lang.String columnName)
|
java.net.URL |
getURL(java.lang.String columnName)
|
java.util.Collection<?> |
toCollection(java.lang.String column)
|
void |
updateArray(java.lang.String columnName,
java.sql.Array a)
|
void |
updateAsciiStream(java.lang.String columnName,
java.io.InputStream x,
int length)
|
void |
updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal x)
|
void |
updateBinaryStream(java.lang.String columnName,
java.io.InputStream x,
int length)
|
void |
updateBlob(java.lang.String columnName,
java.sql.Blob b)
|
void |
updateBoolean(java.lang.String columnName,
boolean x)
|
void |
updateByte(java.lang.String columnName,
byte x)
|
void |
updateBytes(java.lang.String columnName,
byte[] x)
|
void |
updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
int length)
|
void |
updateClob(java.lang.String columnName,
java.sql.Clob c)
|
void |
updateDate(java.lang.String columnName,
java.sql.Date x)
|
void |
updateDouble(java.lang.String columnName,
double x)
|
void |
updateFloat(java.lang.String columnName,
float x)
|
void |
updateInt(java.lang.String columnName,
int x)
|
void |
updateLong(java.lang.String columnName,
long x)
|
void |
updateNull(java.lang.String columnName)
|
void |
updateObject(java.lang.String columnName,
java.lang.Object x)
|
void |
updateObject(java.lang.String columnName,
java.lang.Object x,
int scale)
|
void |
updateRef(java.lang.String columnName,
java.sql.Ref ref)
|
void |
updateShort(java.lang.String columnName,
short x)
|
void |
updateString(java.lang.String columnName,
java.lang.String x)
|
void |
updateTime(java.lang.String columnName,
java.sql.Time x)
|
void |
updateTimestamp(java.lang.String columnName,
java.sql.Timestamp x)
|
| Methods inherited from class com.sun.rowset.CachedRowSetImpl |
|---|
absolute, acceptChanges, acceptChanges, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, clone, close, columnUpdated, commit, createCopy, createCopyNoConstraints, createCopySchema, createShared, deleteRow, execute, execute, first, getArray, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getClob, getConnection, getCurrentRow, getCursorName, getDate, getDate, getDouble, getFloat, getHoldability, getInt, getKeyColumns, getLong, getMatchColumnIndexes, getMatchColumnNames, getMetaData, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getOriginal, getOriginalRow, getPageSize, getRef, getRow, getRowId, getRowId, getRowSetWarnings, getShort, getSQLXML, getSQLXML, getStatement, getString, getSyncProvider, getTableName, getTime, getTime, getTimestamp, getTimestamp, getUnicodeStream, getURL, getWarnings, insertRow, internalFirst, internalLast, internalNext, internalPrevious, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, isWrapperFor, last, moveToCurrentRow, moveToInsertRow, next, nextPage, populate, populate, previous, previousPage, refreshRow, relative, release, removeCurrentRow, restoreOriginal, rollback, rollback, rowDeleted, rowInserted, rowSetPopulated, rowUpdated, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setClob, setClob, setCommand, setDate, setDate, setDouble, setFloat, setInt, setKeyColumns, setLong, setMatchColumn, setMatchColumn, setMatchColumn, setMatchColumn, setMetaData, setNCharacterStream, setNCharacterStream, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNClob, setNClob, setNClob, setNString, setNString, setNull, setNull, setObject, setObject, setObject, setOriginal, setOriginalRow, setPageSize, setRowId, setRowId, setRowInserted, setShort, setSQLXML, setSQLXML, setString, setSyncProvider, setTableName, setTime, setTime, setTimestamp, setTimestamp, setURL, size, toCollection, toCollection, undoDelete, undoInsert, undoUpdate, unsetMatchColumn, unsetMatchColumn, unsetMatchColumn, unsetMatchColumn, unwrap, updateArray, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBoolean, updateByte, updateBytes, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateClob, updateDate, updateDouble, updateFloat, updateInt, updateLong, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateNull, updateObject, updateObject, updateRef, updateRow, updateRowId, updateRowId, updateShort, updateSQLXML, updateSQLXML, updateString, updateTime, updateTimestamp, wasNull |
| Methods inherited from class javax.sql.rowset.BaseRowSet |
|---|
addRowSetListener, clearParameters, getCommand, getConcurrency, getDataSourceName, getEscapeProcessing, getFetchDirection, getFetchSize, getMaxFieldSize, getMaxRows, getParams, getPassword, getQueryTimeout, getShowDeleted, getTransactionIsolation, getType, getTypeMap, getUrl, getUsername, initParams, isReadOnly, notifyCursorMoved, notifyRowChanged, notifyRowSetChanged, removeRowSetListener, setArray, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setClob, setConcurrency, setDataSourceName, setDate, setDate, setDouble, setEscapeProcessing, setFetchDirection, setFetchSize, setFloat, setInt, setLong, setMaxFieldSize, setMaxRows, setNull, setNull, setObject, setObject, setObject, setPassword, setQueryTimeout, setReadOnly, setRef, setShort, setShowDeleted, setString, setTime, setTime, setTimestamp, setTimestamp, setTransactionIsolation, setType, setTypeMap, setUnicodeStream, setUrl, setUsername |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.sql.RowSetInternal |
|---|
getParams |
| Methods inherited from interface javax.sql.rowset.CachedRowSet |
|---|
getShowDeleted, setShowDeleted |
| Methods inherited from interface javax.sql.RowSet |
|---|
addRowSetListener, clearParameters, getCommand, getDataSourceName, getEscapeProcessing, getMaxFieldSize, getMaxRows, getPassword, getQueryTimeout, getTransactionIsolation, getTypeMap, getUrl, getUsername, isReadOnly, removeRowSetListener, setArray, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setClob, setConcurrency, setDataSourceName, setDate, setDate, setDouble, setEscapeProcessing, setFloat, setInt, setLong, setMaxFieldSize, setMaxRows, setNull, setNull, setObject, setObject, setObject, setPassword, setQueryTimeout, setReadOnly, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setTransactionIsolation, setType, setTypeMap, setUrl, setUsername |
| Methods inherited from interface java.sql.ResultSet |
|---|
getConcurrency, getFetchDirection, getFetchSize, getType, setFetchDirection, setFetchSize |
| Constructor Detail |
|---|
public MirthCachedRowSet()
throws java.sql.SQLException
java.sql.SQLException
public MirthCachedRowSet(java.util.Hashtable env)
throws java.sql.SQLException
java.sql.SQLException| Method Detail |
|---|
public java.util.Collection<?> toCollection(java.lang.String column)
throws java.sql.SQLException
toCollection in interface javax.sql.rowset.CachedRowSettoCollection in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.lang.String getString(java.lang.String columnName)
throws java.sql.SQLException
getString in interface java.sql.ResultSetgetString in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public boolean getBoolean(java.lang.String columnName)
throws java.sql.SQLException
getBoolean in interface java.sql.ResultSetgetBoolean in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public byte getByte(java.lang.String columnName)
throws java.sql.SQLException
getByte in interface java.sql.ResultSetgetByte in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public short getShort(java.lang.String columnName)
throws java.sql.SQLException
getShort in interface java.sql.ResultSetgetShort in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public int getInt(java.lang.String columnName)
throws java.sql.SQLException
getInt in interface java.sql.ResultSetgetInt in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public long getLong(java.lang.String columnName)
throws java.sql.SQLException
getLong in interface java.sql.ResultSetgetLong in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public float getFloat(java.lang.String columnName)
throws java.sql.SQLException
getFloat in interface java.sql.ResultSetgetFloat in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public double getDouble(java.lang.String columnName)
throws java.sql.SQLException
getDouble in interface java.sql.ResultSetgetDouble in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.math.BigDecimal getBigDecimal(java.lang.String columnName,
int scale)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetgetBigDecimal in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public byte[] getBytes(java.lang.String columnName)
throws java.sql.SQLException
getBytes in interface java.sql.ResultSetgetBytes in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.sql.Date getDate(java.lang.String columnName)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetgetDate in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.sql.Time getTime(java.lang.String columnName)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetgetTime in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.sql.Timestamp getTimestamp(java.lang.String columnName)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetgetTimestamp in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.io.InputStream getAsciiStream(java.lang.String columnName)
throws java.sql.SQLException
getAsciiStream in interface java.sql.ResultSetgetAsciiStream in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.io.InputStream getUnicodeStream(java.lang.String columnName)
throws java.sql.SQLException
getUnicodeStream in interface java.sql.ResultSetgetUnicodeStream in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.io.InputStream getBinaryStream(java.lang.String columnName)
throws java.sql.SQLException
getBinaryStream in interface java.sql.ResultSetgetBinaryStream in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.lang.Object getObject(java.lang.String columnName)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetgetObject in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public int findColumn(java.lang.String columnName)
throws java.sql.SQLException
findColumn in interface java.sql.ResultSetfindColumn in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.io.Reader getCharacterStream(java.lang.String columnName)
throws java.sql.SQLException
getCharacterStream in interface java.sql.ResultSetgetCharacterStream in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.math.BigDecimal getBigDecimal(java.lang.String columnName)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetgetBigDecimal in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public boolean columnUpdated(java.lang.String columnName)
throws java.sql.SQLException
columnUpdated in interface javax.sql.rowset.CachedRowSetcolumnUpdated in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateNull(java.lang.String columnName)
throws java.sql.SQLException
updateNull in interface java.sql.ResultSetupdateNull in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateBoolean(java.lang.String columnName,
boolean x)
throws java.sql.SQLException
updateBoolean in interface java.sql.ResultSetupdateBoolean in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateByte(java.lang.String columnName,
byte x)
throws java.sql.SQLException
updateByte in interface java.sql.ResultSetupdateByte in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateShort(java.lang.String columnName,
short x)
throws java.sql.SQLException
updateShort in interface java.sql.ResultSetupdateShort in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateInt(java.lang.String columnName,
int x)
throws java.sql.SQLException
updateInt in interface java.sql.ResultSetupdateInt in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateLong(java.lang.String columnName,
long x)
throws java.sql.SQLException
updateLong in interface java.sql.ResultSetupdateLong in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateFloat(java.lang.String columnName,
float x)
throws java.sql.SQLException
updateFloat in interface java.sql.ResultSetupdateFloat in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateDouble(java.lang.String columnName,
double x)
throws java.sql.SQLException
updateDouble in interface java.sql.ResultSetupdateDouble in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal x)
throws java.sql.SQLException
updateBigDecimal in interface java.sql.ResultSetupdateBigDecimal in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateString(java.lang.String columnName,
java.lang.String x)
throws java.sql.SQLException
updateString in interface java.sql.ResultSetupdateString in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateBytes(java.lang.String columnName,
byte[] x)
throws java.sql.SQLException
updateBytes in interface java.sql.ResultSetupdateBytes in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateDate(java.lang.String columnName,
java.sql.Date x)
throws java.sql.SQLException
updateDate in interface java.sql.ResultSetupdateDate in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateTime(java.lang.String columnName,
java.sql.Time x)
throws java.sql.SQLException
updateTime in interface java.sql.ResultSetupdateTime in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateTimestamp(java.lang.String columnName,
java.sql.Timestamp x)
throws java.sql.SQLException
updateTimestamp in interface java.sql.ResultSetupdateTimestamp in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateAsciiStream(java.lang.String columnName,
java.io.InputStream x,
int length)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetupdateAsciiStream in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateBinaryStream(java.lang.String columnName,
java.io.InputStream x,
int length)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetupdateBinaryStream in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
int length)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetupdateCharacterStream in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateObject(java.lang.String columnName,
java.lang.Object x,
int scale)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetupdateObject in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateObject(java.lang.String columnName,
java.lang.Object x)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetupdateObject in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.lang.Object getObject(java.lang.String columnName,
java.util.Map<java.lang.String,java.lang.Class<?>> map)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetgetObject in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.sql.Ref getRef(java.lang.String colName)
throws java.sql.SQLException
getRef in interface java.sql.ResultSetgetRef in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.sql.Blob getBlob(java.lang.String colName)
throws java.sql.SQLException
getBlob in interface java.sql.ResultSetgetBlob in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.sql.Clob getClob(java.lang.String colName)
throws java.sql.SQLException
getClob in interface java.sql.ResultSetgetClob in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.sql.Array getArray(java.lang.String colName)
throws java.sql.SQLException
getArray in interface java.sql.ResultSetgetArray in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.sql.Date getDate(java.lang.String columnName,
java.util.Calendar cal)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetgetDate in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.sql.Time getTime(java.lang.String columnName,
java.util.Calendar cal)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetgetTime in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.sql.Timestamp getTimestamp(java.lang.String columnName,
java.util.Calendar cal)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetgetTimestamp in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateRef(java.lang.String columnName,
java.sql.Ref ref)
throws java.sql.SQLException
updateRef in interface java.sql.ResultSetupdateRef in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateClob(java.lang.String columnName,
java.sql.Clob c)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetupdateClob in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateBlob(java.lang.String columnName,
java.sql.Blob b)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetupdateBlob in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public void updateArray(java.lang.String columnName,
java.sql.Array a)
throws java.sql.SQLException
updateArray in interface java.sql.ResultSetupdateArray in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
public java.net.URL getURL(java.lang.String columnName)
throws java.sql.SQLException
getURL in interface java.sql.ResultSetgetURL in class com.sun.rowset.CachedRowSetImpljava.sql.SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||