类 ResultSetWrapper
java.lang.Object
cn.featherfly.common.db.wrapper.ResultSetWrapper
- 所有已实现的接口:
java.lang.AutoCloseable
public class ResultSetWrapper
extends java.lang.Object
implements java.lang.AutoCloseable
java.sql.ResultSet的包装类,包装所有检查异常(SQLEception)为非检查异常(JdbcException)
-
构造器概要
构造器 构造器 说明 ResultSetWrapper(java.sql.ResultSet res)Instantiates a new result set wrapper. -
方法概要
修饰符和类型 方法 说明 booleanabsolute(int row)Absolute.voidafterLast()After last.voidbeforeFirst()Before first.voidcancelRowUpdates()Cancel row updates.voidclearWarnings()Clear warnings.voidclose()Close.voiddeleteRow()Delete row.intfindColumn(java.lang.String columnLabel)Find column.booleanfirst()First.java.sql.ArraygetArray(int columnIndex)Gets the array.java.sql.ArraygetArray(java.lang.String columnLabel)Gets the array.java.io.InputStreamgetAsciiStream(int columnIndex)Gets the ascii stream.java.io.InputStreamgetAsciiStream(java.lang.String columnLabel)Gets the ascii stream.java.math.BigDecimalgetBigDecimal(int columnIndex)Gets the big decimal.java.math.BigDecimalgetBigDecimal(int columnIndex, int scale)已过时。java.math.BigDecimalgetBigDecimal(java.lang.String columnLabel)Gets the big decimal.java.math.BigDecimalgetBigDecimal(java.lang.String columnLabel, int scale)已过时。java.io.InputStreamgetBinaryStream(int columnIndex)Gets the binary stream.java.io.InputStreamgetBinaryStream(java.lang.String columnLabel)Gets the binary stream.java.sql.BlobgetBlob(int columnIndex)Gets the blob.java.sql.BlobgetBlob(java.lang.String columnLabel)Gets the blob.booleangetBoolean(int columnIndex)Gets the boolean.booleangetBoolean(java.lang.String columnLabel)Gets the boolean.bytegetByte(int columnIndex)Gets the byte.bytegetByte(java.lang.String columnLabel)Gets the byte.byte[]getBytes(int columnIndex)Gets the bytes.byte[]getBytes(java.lang.String columnLabel)Gets the bytes.java.io.ReadergetCharacterStream(int columnIndex)Gets the character stream.java.io.ReadergetCharacterStream(java.lang.String columnLabel)Gets the character stream.java.sql.ClobgetClob(int columnIndex)Gets the clob.java.sql.ClobgetClob(java.lang.String columnLabel)Gets the clob.intgetConcurrency()Gets the concurrency.java.lang.StringgetCursorName()Gets the cursor name.java.sql.DategetDate(int columnIndex)Gets the date.java.sql.DategetDate(int columnIndex, java.util.Calendar cal)Gets the date.java.sql.DategetDate(java.lang.String columnLabel)Gets the date.java.sql.DategetDate(java.lang.String columnLabel, java.util.Calendar cal)Gets the date.doublegetDouble(int columnIndex)Gets the double.doublegetDouble(java.lang.String columnLabel)Gets the double.intgetFetchDirection()Gets the fetch direction.intgetFetchSize()Gets the fetch size.floatgetFloat(int columnIndex)Gets the float.floatgetFloat(java.lang.String columnLabel)Gets the float.intgetHoldability()Gets the holdability.intgetInt(int columnIndex)Gets the int.intgetInt(java.lang.String columnLabel)Gets the int.longgetLong(int columnIndex)Gets the long.longgetLong(java.lang.String columnLabel)Gets the long.java.sql.ResultSetMetaDatagetMetaData()Gets the meta data.java.io.ReadergetNCharacterStream(int columnIndex)Gets the n character stream.java.io.ReadergetNCharacterStream(java.lang.String columnLabel)Gets the n character stream.java.sql.NClobgetNClob(int columnIndex)Gets the n clob.java.sql.NClobgetNClob(java.lang.String columnLabel)Gets the n clob.java.lang.StringgetNString(int columnIndex)Gets the n string.java.lang.StringgetNString(java.lang.String columnLabel)Gets the n string.java.lang.ObjectgetObject(int columnIndex)Gets the object.java.lang.ObjectgetObject(int columnIndex, java.util.Map<java.lang.String,java.lang.Class<?>> map)Gets the object.java.lang.ObjectgetObject(java.lang.String columnLabel)Gets the object.java.lang.ObjectgetObject(java.lang.String columnLabel, java.util.Map<java.lang.String,java.lang.Class<?>> map)Gets the object.java.sql.RefgetRef(int columnIndex)Gets the ref.java.sql.RefgetRef(java.lang.String columnLabel)Gets the ref.java.sql.ResultSetgetResultSet()Gets the result set.intgetRow()Gets the row.java.sql.RowIdgetRowId(int columnIndex)Gets the row id.java.sql.RowIdgetRowId(java.lang.String columnLabel)Gets the row id.shortgetShort(int columnIndex)Gets the short.shortgetShort(java.lang.String columnLabel)Gets the short.java.sql.SQLXMLgetSQLXML(int columnIndex)Gets the sqlxml.java.sql.SQLXMLgetSQLXML(java.lang.String columnLabel)Gets the sqlxml.java.sql.StatementgetStatement()Gets the statement.java.lang.StringgetString(int columnIndex)Gets the string.java.lang.StringgetString(java.lang.String columnLabel)Gets the string.java.sql.TimegetTime(int columnIndex)Gets the time.java.sql.TimegetTime(int columnIndex, java.util.Calendar cal)Gets the time.java.sql.TimegetTime(java.lang.String columnLabel)Gets the time.java.sql.TimegetTime(java.lang.String columnLabel, java.util.Calendar cal)Gets the time.java.sql.TimestampgetTimestamp(int columnIndex)Gets the timestamp.java.sql.TimestampgetTimestamp(int columnIndex, java.util.Calendar cal)Gets the timestamp.java.sql.TimestampgetTimestamp(java.lang.String columnLabel)Gets the timestamp.java.sql.TimestampgetTimestamp(java.lang.String columnLabel, java.util.Calendar cal)Gets the timestamp.intgetType()Gets the type.java.io.InputStreamgetUnicodeStream(int columnIndex)已过时。java.io.InputStreamgetUnicodeStream(java.lang.String columnLabel)已过时。java.net.URLgetURL(int columnIndex)Gets the url.java.net.URLgetURL(java.lang.String columnLabel)Gets the url.java.sql.SQLWarninggetWarnings()Gets the warnings.voidinsertRow()Insert row.booleanisAfterLast()Checks if is after last.booleanisBeforeFirst()Checks if is before first.booleanisClosed()Checks if is closed.booleanisFirst()Checks if is first.booleanisLast()Checks if is last.booleanisWrapperFor(java.lang.Class<?> iface)Checks if is wrapper for.booleanlast()Last.voidmoveToCurrentRow()Move to current row.voidmoveToInsertRow()Move to insert row.booleannext()Next.booleanprevious()Previous.voidrefreshRow()Refresh row.booleanrelative(int rows)Relative.booleanrowDeleted()Row deleted.booleanrowInserted()Row inserted.booleanrowUpdated()Row updated.voidsetFetchDirection(int direction)Sets the fetch direction.voidsetFetchSize(int rows)Sets the fetch size.<T> Tunwrap(java.lang.Class<T> iface)Unwrap.voidupdateArray(int columnIndex, java.sql.Array x)Update array.voidupdateArray(java.lang.String columnLabel, java.sql.Array x)Update array.voidupdateAsciiStream(int columnIndex, java.io.InputStream x)Update ascii stream.voidupdateAsciiStream(int columnIndex, java.io.InputStream x, int length)Update ascii stream.voidupdateAsciiStream(int columnIndex, java.io.InputStream x, long length)Update ascii stream.voidupdateAsciiStream(java.lang.String columnLabel, java.io.InputStream x)Update ascii stream.voidupdateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, int length)Update ascii stream.voidupdateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, long length)Update ascii stream.voidupdateBigDecimal(int columnIndex, java.math.BigDecimal x)Update big decimal.voidupdateBigDecimal(java.lang.String columnLabel, java.math.BigDecimal x)Update big decimal.voidupdateBinaryStream(int columnIndex, java.io.InputStream x)Update binary stream.voidupdateBinaryStream(int columnIndex, java.io.InputStream x, int length)Update binary stream.voidupdateBinaryStream(int columnIndex, java.io.InputStream x, long length)Update binary stream.voidupdateBinaryStream(java.lang.String columnLabel, java.io.InputStream x)Update binary stream.voidupdateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, int length)Update binary stream.voidupdateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, long length)Update binary stream.voidupdateBlob(int columnIndex, java.io.InputStream inputStream)Update blob.voidupdateBlob(int columnIndex, java.io.InputStream inputStream, long length)Update blob.voidupdateBlob(int columnIndex, java.sql.Blob x)Update blob.voidupdateBlob(java.lang.String columnLabel, java.io.InputStream inputStream)Update blob.voidupdateBlob(java.lang.String columnLabel, java.io.InputStream inputStream, long length)Update blob.voidupdateBlob(java.lang.String columnLabel, java.sql.Blob x)Update blob.voidupdateBoolean(int columnIndex, boolean x)Update boolean.voidupdateBoolean(java.lang.String columnLabel, boolean x)Update boolean.voidupdateByte(int columnIndex, byte x)Update byte.voidupdateByte(java.lang.String columnLabel, byte x)Update byte.voidupdateBytes(int columnIndex, byte[] x)Update bytes.voidupdateBytes(java.lang.String columnLabel, byte[] x)Update bytes.voidupdateCharacterStream(int columnIndex, java.io.Reader x)Update character stream.voidupdateCharacterStream(int columnIndex, java.io.Reader x, int length)Update character stream.voidupdateCharacterStream(int columnIndex, java.io.Reader x, long length)Update character stream.voidupdateCharacterStream(java.lang.String columnLabel, java.io.Reader reader)Update character stream.voidupdateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, int length)Update character stream.voidupdateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)Update character stream.voidupdateClob(int columnIndex, java.io.Reader reader)Update clob.voidupdateClob(int columnIndex, java.io.Reader reader, long length)Update clob.voidupdateClob(int columnIndex, java.sql.Clob x)Update clob.voidupdateClob(java.lang.String columnLabel, java.io.Reader reader)Update clob.voidupdateClob(java.lang.String columnLabel, java.io.Reader reader, long length)Update clob.voidupdateClob(java.lang.String columnLabel, java.sql.Clob x)Update clob.voidupdateDate(int columnIndex, java.sql.Date x)Update date.voidupdateDate(java.lang.String columnLabel, java.sql.Date x)Update date.voidupdateDouble(int columnIndex, double x)Update double.voidupdateDouble(java.lang.String columnLabel, double x)Update double.voidupdateFloat(int columnIndex, float x)Update float.voidupdateFloat(java.lang.String columnLabel, float x)Update float.voidupdateInt(int columnIndex, int x)Update int.voidupdateInt(java.lang.String columnLabel, int x)Update int.voidupdateLong(int columnIndex, long x)Update long.voidupdateLong(java.lang.String columnLabel, long x)Update long.voidupdateNCharacterStream(int columnIndex, java.io.Reader x)Update N character stream.voidupdateNCharacterStream(int columnIndex, java.io.Reader x, long length)Update N character stream.voidupdateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader)Update N character stream.voidupdateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)Update N character stream.voidupdateNClob(int columnIndex, java.io.Reader reader)Update N clob.voidupdateNClob(int columnIndex, java.io.Reader reader, long length)Update N clob.voidupdateNClob(int columnIndex, java.sql.NClob nClob)Update N clob.voidupdateNClob(java.lang.String columnLabel, java.io.Reader reader)Update N clob.voidupdateNClob(java.lang.String columnLabel, java.io.Reader reader, long length)Update N clob.voidupdateNClob(java.lang.String columnLabel, java.sql.NClob nClob)Update N clob.voidupdateNString(int columnIndex, java.lang.String nString)Update N string.voidupdateNString(java.lang.String columnLabel, java.lang.String nString)Update N string.voidupdateNull(int columnIndex)Update null.voidupdateNull(java.lang.String columnLabel)Update null.voidupdateObject(int columnIndex, java.lang.Object x)Update object.voidupdateObject(int columnIndex, java.lang.Object x, int scaleOrLength)Update object.voidupdateObject(java.lang.String columnLabel, java.lang.Object x)Update object.voidupdateObject(java.lang.String columnLabel, java.lang.Object x, int scaleOrLength)Update object.voidupdateRef(int columnIndex, java.sql.Ref x)Update ref.voidupdateRef(java.lang.String columnLabel, java.sql.Ref x)Update ref.voidupdateRow()Update row.voidupdateRowId(int columnIndex, java.sql.RowId x)Update row id.voidupdateRowId(java.lang.String columnLabel, java.sql.RowId x)Update row id.voidupdateShort(int columnIndex, short x)Update short.voidupdateShort(java.lang.String columnLabel, short x)Update short.voidupdateSQLXML(int columnIndex, java.sql.SQLXML xmlObject)Update SQLXML.voidupdateSQLXML(java.lang.String columnLabel, java.sql.SQLXML xmlObject)Update SQLXML.voidupdateString(int columnIndex, java.lang.String x)Update string.voidupdateString(java.lang.String columnLabel, java.lang.String x)Update string.voidupdateTime(int columnIndex, java.sql.Time x)Update time.voidupdateTime(java.lang.String columnLabel, java.sql.Time x)Update time.voidupdateTimestamp(int columnIndex, java.sql.Timestamp x)Update timestamp.voidupdateTimestamp(java.lang.String columnLabel, java.sql.Timestamp x)Update timestamp.booleanwasNull()Was null.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
构造器详细资料
-
ResultSetWrapper
public ResultSetWrapper(java.sql.ResultSet res)Instantiates a new result set wrapper.- 参数:
res- the res
-
-
方法详细资料
-
absolute
public boolean absolute(int row)Absolute.- 参数:
row- the row- 返回:
- true, if successful
- 另请参阅:
ResultSet
-
afterLast
public void afterLast()After last.- 另请参阅:
ResultSet
-
beforeFirst
public void beforeFirst()Before first.- 另请参阅:
ResultSet
-
cancelRowUpdates
public void cancelRowUpdates()Cancel row updates.- 另请参阅:
ResultSet
-
clearWarnings
public void clearWarnings()Clear warnings.- 另请参阅:
ResultSet
-
close
public void close()Close.- 指定者:
close在接口中java.lang.AutoCloseable- 另请参阅:
ResultSet
-
deleteRow
public void deleteRow()Delete row.- 另请参阅:
ResultSet
-
findColumn
public int findColumn(java.lang.String columnLabel)Find column.- 参数:
columnLabel- the column label- 返回:
- the int
- 另请参阅:
ResultSet
-
first
public boolean first()First.- 返回:
- true, if successful
- 另请参阅:
ResultSet
-
getArray
public java.sql.Array getArray(int columnIndex)Gets the array.- 参数:
columnIndex- the column index- 返回:
- the array
- 另请参阅:
ResultSet
-
getArray
public java.sql.Array getArray(java.lang.String columnLabel)Gets the array.- 参数:
columnLabel- the column label- 返回:
- the array
- 另请参阅:
ResultSet
-
getAsciiStream
public java.io.InputStream getAsciiStream(int columnIndex)Gets the ascii stream.- 参数:
columnIndex- the column index- 返回:
- the ascii stream
- 另请参阅:
ResultSet
-
getAsciiStream
public java.io.InputStream getAsciiStream(java.lang.String columnLabel)Gets the ascii stream.- 参数:
columnLabel- the column label- 返回:
- the ascii stream
- 另请参阅:
ResultSet
-
getBigDecimal
public java.math.BigDecimal getBigDecimal(int columnIndex)Gets the big decimal.- 参数:
columnIndex- the column index- 返回:
- the big decimal
- 另请参阅:
ResultSet
-
getBigDecimal
public java.math.BigDecimal getBigDecimal(java.lang.String columnLabel)Gets the big decimal.- 参数:
columnLabel- the column label- 返回:
- the big decimal
- 另请参阅:
ResultSet
-
getBigDecimal
@Deprecated public java.math.BigDecimal getBigDecimal(int columnIndex, int scale)已过时。Gets the big decimal.- 参数:
columnIndex- the column indexscale- the scale- 返回:
- the big decimal
- 另请参阅:
ResultSet
-
getBigDecimal
@Deprecated public java.math.BigDecimal getBigDecimal(java.lang.String columnLabel, int scale)已过时。Gets the big decimal.- 参数:
columnLabel- the column labelscale- the scale- 返回:
- the big decimal
- 另请参阅:
ResultSet
-
getBinaryStream
public java.io.InputStream getBinaryStream(int columnIndex)Gets the binary stream.- 参数:
columnIndex- the column index- 返回:
- the binary stream
- 另请参阅:
ResultSet
-
getBinaryStream
public java.io.InputStream getBinaryStream(java.lang.String columnLabel)Gets the binary stream.- 参数:
columnLabel- the column label- 返回:
- the binary stream
- 另请参阅:
ResultSet
-
getBlob
public java.sql.Blob getBlob(int columnIndex)Gets the blob.- 参数:
columnIndex- the column index- 返回:
- the blob
- 另请参阅:
ResultSet
-
getBlob
public java.sql.Blob getBlob(java.lang.String columnLabel)Gets the blob.- 参数:
columnLabel- the column label- 返回:
- the blob
- 另请参阅:
ResultSet
-
getBoolean
public boolean getBoolean(int columnIndex)Gets the boolean.- 参数:
columnIndex- the column index- 返回:
- the boolean
- 另请参阅:
ResultSet
-
getBoolean
public boolean getBoolean(java.lang.String columnLabel)Gets the boolean.- 参数:
columnLabel- the column label- 返回:
- the boolean
- 另请参阅:
ResultSet
-
getByte
public byte getByte(int columnIndex)Gets the byte.- 参数:
columnIndex- the column index- 返回:
- the byte
- 另请参阅:
ResultSet
-
getByte
public byte getByte(java.lang.String columnLabel)Gets the byte.- 参数:
columnLabel- the column label- 返回:
- the byte
- 另请参阅:
ResultSet
-
getBytes
public byte[] getBytes(int columnIndex)Gets the bytes.- 参数:
columnIndex- the column index- 返回:
- the bytes
- 另请参阅:
ResultSet
-
getBytes
public byte[] getBytes(java.lang.String columnLabel)Gets the bytes.- 参数:
columnLabel- the column label- 返回:
- the bytes
- 另请参阅:
ResultSet
-
getCharacterStream
public java.io.Reader getCharacterStream(int columnIndex)Gets the character stream.- 参数:
columnIndex- the column index- 返回:
- the character stream
- 另请参阅:
ResultSet
-
getCharacterStream
public java.io.Reader getCharacterStream(java.lang.String columnLabel)Gets the character stream.- 参数:
columnLabel- the column label- 返回:
- the character stream
- 另请参阅:
ResultSet
-
getClob
public java.sql.Clob getClob(int columnIndex)Gets the clob.- 参数:
columnIndex- the column index- 返回:
- the clob
- 另请参阅:
ResultSet
-
getClob
public java.sql.Clob getClob(java.lang.String columnLabel)Gets the clob.- 参数:
columnLabel- the column label- 返回:
- the clob
- 另请参阅:
ResultSet
-
getConcurrency
public int getConcurrency()Gets the concurrency.- 返回:
- the concurrency
- 另请参阅:
ResultSet
-
getCursorName
public java.lang.String getCursorName()Gets the cursor name.- 返回:
- the cursor name
- 另请参阅:
ResultSet
-
getDate
public java.sql.Date getDate(int columnIndex)Gets the date.- 参数:
columnIndex- the column index- 返回:
- the date
- 另请参阅:
ResultSet
-
getDate
public java.sql.Date getDate(java.lang.String columnLabel)Gets the date.- 参数:
columnLabel- the column label- 返回:
- the date
- 另请参阅:
ResultSet
-
getDate
public java.sql.Date getDate(int columnIndex, java.util.Calendar cal)Gets the date.- 参数:
columnIndex- the column indexcal- the cal- 返回:
- the date
- 另请参阅:
ResultSet
-
getDate
public java.sql.Date getDate(java.lang.String columnLabel, java.util.Calendar cal)Gets the date.- 参数:
columnLabel- the column labelcal- the cal- 返回:
- the date
- 另请参阅:
ResultSet
-
getDouble
public double getDouble(int columnIndex)Gets the double.- 参数:
columnIndex- the column index- 返回:
- the double
- 另请参阅:
ResultSet
-
getDouble
public double getDouble(java.lang.String columnLabel)Gets the double.- 参数:
columnLabel- the column label- 返回:
- the double
- 另请参阅:
ResultSet
-
getFetchDirection
public int getFetchDirection()Gets the fetch direction.- 返回:
- the fetch direction
- 另请参阅:
ResultSet
-
getFetchSize
public int getFetchSize()Gets the fetch size.- 返回:
- the fetch size
- 另请参阅:
ResultSet
-
getFloat
public float getFloat(int columnIndex)Gets the float.- 参数:
columnIndex- the column index- 返回:
- the float
- 另请参阅:
ResultSet
-
getFloat
public float getFloat(java.lang.String columnLabel)Gets the float.- 参数:
columnLabel- the column label- 返回:
- the float
- 另请参阅:
ResultSet
-
getHoldability
public int getHoldability()Gets the holdability.- 返回:
- the holdability
- 另请参阅:
ResultSet
-
getInt
public int getInt(int columnIndex)Gets the int.- 参数:
columnIndex- the column index- 返回:
- the int
- 另请参阅:
ResultSet
-
getInt
public int getInt(java.lang.String columnLabel)Gets the int.- 参数:
columnLabel- the column label- 返回:
- the int
- 另请参阅:
ResultSet
-
getLong
public long getLong(int columnIndex)Gets the long.- 参数:
columnIndex- the column index- 返回:
- the long
- 另请参阅:
ResultSet
-
getLong
public long getLong(java.lang.String columnLabel)Gets the long.- 参数:
columnLabel- the column label- 返回:
- the long
- 另请参阅:
ResultSet
-
getMetaData
public java.sql.ResultSetMetaData getMetaData()Gets the meta data.- 返回:
- the meta data
- 另请参阅:
ResultSet
-
getNCharacterStream
public java.io.Reader getNCharacterStream(int columnIndex)Gets the n character stream.- 参数:
columnIndex- the column index- 返回:
- the n character stream
- 另请参阅:
ResultSet
-
getNCharacterStream
public java.io.Reader getNCharacterStream(java.lang.String columnLabel)Gets the n character stream.- 参数:
columnLabel- the column label- 返回:
- the n character stream
- 另请参阅:
ResultSet
-
getNClob
public java.sql.NClob getNClob(int columnIndex)Gets the n clob.- 参数:
columnIndex- the column index- 返回:
- the n clob
- 另请参阅:
ResultSet
-
getNClob
public java.sql.NClob getNClob(java.lang.String columnLabel)Gets the n clob.- 参数:
columnLabel- the column label- 返回:
- the n clob
- 另请参阅:
ResultSet
-
getNString
public java.lang.String getNString(int columnIndex)Gets the n string.- 参数:
columnIndex- the column index- 返回:
- the n string
- 另请参阅:
ResultSet
-
getNString
public java.lang.String getNString(java.lang.String columnLabel)Gets the n string.- 参数:
columnLabel- the column label- 返回:
- the n string
- 另请参阅:
ResultSet
-
getObject
public java.lang.Object getObject(int columnIndex)Gets the object.- 参数:
columnIndex- the column index- 返回:
- the object
- 另请参阅:
ResultSet
-
getObject
public java.lang.Object getObject(java.lang.String columnLabel)Gets the object.- 参数:
columnLabel- the column label- 返回:
- the object
- 另请参阅:
ResultSet
-
getObject
public java.lang.Object getObject(int columnIndex, java.util.Map<java.lang.String,java.lang.Class<?>> map)Gets the object.- 参数:
columnIndex- the column indexmap- the map- 返回:
- the object
- 另请参阅:
ResultSet
-
getObject
public java.lang.Object getObject(java.lang.String columnLabel, java.util.Map<java.lang.String,java.lang.Class<?>> map)Gets the object.- 参数:
columnLabel- the column labelmap- the map- 返回:
- the object
- 另请参阅:
ResultSet
-
getRef
public java.sql.Ref getRef(int columnIndex)Gets the ref.- 参数:
columnIndex- the column index- 返回:
- the ref
- 另请参阅:
ResultSet
-
getRef
public java.sql.Ref getRef(java.lang.String columnLabel)Gets the ref.- 参数:
columnLabel- the column label- 返回:
- the ref
- 另请参阅:
ResultSet
-
getRow
public int getRow()Gets the row.- 返回:
- the row
- 另请参阅:
ResultSet
-
getRowId
public java.sql.RowId getRowId(int columnIndex)Gets the row id.- 参数:
columnIndex- the column index- 返回:
- the row id
- 另请参阅:
ResultSet
-
getRowId
public java.sql.RowId getRowId(java.lang.String columnLabel)Gets the row id.- 参数:
columnLabel- the column label- 返回:
- the row id
- 另请参阅:
ResultSet
-
getSQLXML
public java.sql.SQLXML getSQLXML(int columnIndex)Gets the sqlxml.- 参数:
columnIndex- the column index- 返回:
- the sqlxml
- 另请参阅:
ResultSet
-
getSQLXML
public java.sql.SQLXML getSQLXML(java.lang.String columnLabel)Gets the sqlxml.- 参数:
columnLabel- the column label- 返回:
- the sqlxml
- 另请参阅:
ResultSet
-
getShort
public short getShort(int columnIndex)Gets the short.- 参数:
columnIndex- the column index- 返回:
- the short
- 另请参阅:
ResultSet
-
getShort
public short getShort(java.lang.String columnLabel)Gets the short.- 参数:
columnLabel- the column label- 返回:
- the short
- 另请参阅:
ResultSet
-
getStatement
public java.sql.Statement getStatement()Gets the statement.- 返回:
- the statement
- 另请参阅:
ResultSet
-
getString
public java.lang.String getString(int columnIndex)Gets the string.- 参数:
columnIndex- the column index- 返回:
- the string
- 另请参阅:
ResultSet
-
getString
public java.lang.String getString(java.lang.String columnLabel)Gets the string.- 参数:
columnLabel- the column label- 返回:
- the string
- 另请参阅:
ResultSet
-
getTime
public java.sql.Time getTime(int columnIndex)Gets the time.- 参数:
columnIndex- the column index- 返回:
- the time
- 另请参阅:
ResultSet
-
getTime
public java.sql.Time getTime(java.lang.String columnLabel)Gets the time.- 参数:
columnLabel- the column label- 返回:
- the time
- 另请参阅:
ResultSet
-
getTime
public java.sql.Time getTime(int columnIndex, java.util.Calendar cal)Gets the time.- 参数:
columnIndex- the column indexcal- the cal- 返回:
- the time
- 另请参阅:
ResultSet
-
getTime
public java.sql.Time getTime(java.lang.String columnLabel, java.util.Calendar cal)Gets the time.- 参数:
columnLabel- the column labelcal- the cal- 返回:
- the time
- 另请参阅:
ResultSet
-
getTimestamp
public java.sql.Timestamp getTimestamp(int columnIndex)Gets the timestamp.- 参数:
columnIndex- the column index- 返回:
- the timestamp
- 另请参阅:
ResultSet
-
getTimestamp
public java.sql.Timestamp getTimestamp(java.lang.String columnLabel)Gets the timestamp.- 参数:
columnLabel- the column label- 返回:
- the timestamp
- 另请参阅:
ResultSet
-
getTimestamp
public java.sql.Timestamp getTimestamp(int columnIndex, java.util.Calendar cal)Gets the timestamp.- 参数:
columnIndex- the column indexcal- the cal- 返回:
- the timestamp
- 另请参阅:
ResultSet
-
getTimestamp
public java.sql.Timestamp getTimestamp(java.lang.String columnLabel, java.util.Calendar cal)Gets the timestamp.- 参数:
columnLabel- the column labelcal- the cal- 返回:
- the timestamp
- 另请参阅:
ResultSet
-
getType
public int getType()Gets the type.- 返回:
- the type
- 另请参阅:
ResultSet
-
getURL
public java.net.URL getURL(int columnIndex)Gets the url.- 参数:
columnIndex- the column index- 返回:
- the url
- 另请参阅:
ResultSet
-
getURL
public java.net.URL getURL(java.lang.String columnLabel)Gets the url.- 参数:
columnLabel- the column label- 返回:
- the url
- 另请参阅:
ResultSet
-
getUnicodeStream
@Deprecated public java.io.InputStream getUnicodeStream(int columnIndex)已过时。Gets the unicode stream.- 参数:
columnIndex- the column index- 返回:
- the unicode stream
- 另请参阅:
ResultSet
-
getUnicodeStream
@Deprecated public java.io.InputStream getUnicodeStream(java.lang.String columnLabel)已过时。Gets the unicode stream.- 参数:
columnLabel- the column label- 返回:
- the unicode stream
- 另请参阅:
ResultSet
-
getWarnings
public java.sql.SQLWarning getWarnings()Gets the warnings.- 返回:
- the warnings
- 另请参阅:
ResultSet
-
insertRow
public void insertRow()Insert row.- 另请参阅:
ResultSet
-
isAfterLast
public boolean isAfterLast()Checks if is after last.- 返回:
- true, if is after last
- 另请参阅:
ResultSet
-
isBeforeFirst
public boolean isBeforeFirst()Checks if is before first.- 返回:
- true, if is before first
- 另请参阅:
ResultSet
-
isClosed
public boolean isClosed()Checks if is closed.- 返回:
- true, if is closed
- 另请参阅:
ResultSet
-
isFirst
public boolean isFirst()Checks if is first.- 返回:
- true, if is first
- 另请参阅:
ResultSet
-
isLast
public boolean isLast()Checks if is last.- 返回:
- true, if is last
- 另请参阅:
ResultSet
-
last
public boolean last()Last.- 返回:
- true, if successful
- 另请参阅:
ResultSet
-
moveToCurrentRow
public void moveToCurrentRow()Move to current row.- 另请参阅:
ResultSet
-
moveToInsertRow
public void moveToInsertRow()Move to insert row.- 另请参阅:
ResultSet
-
next
public boolean next()Next.- 返回:
- true, if successful
- 另请参阅:
ResultSet
-
previous
public boolean previous()Previous.- 返回:
- true, if successful
- 另请参阅:
ResultSet
-
refreshRow
public void refreshRow()Refresh row.- 另请参阅:
ResultSet
-
relative
public boolean relative(int rows)Relative.- 参数:
rows- the rows- 返回:
- true, if successful
- 另请参阅:
ResultSet
-
rowDeleted
public boolean rowDeleted()Row deleted.- 返回:
- true, if successful
- 另请参阅:
ResultSet
-
rowInserted
public boolean rowInserted()Row inserted.- 返回:
- true, if successful
- 另请参阅:
ResultSet
-
rowUpdated
public boolean rowUpdated()Row updated.- 返回:
- true, if successful
- 另请参阅:
ResultSet
-
setFetchDirection
public void setFetchDirection(int direction)Sets the fetch direction.- 参数:
direction- the new fetch direction- 另请参阅:
ResultSet
-
setFetchSize
public void setFetchSize(int rows)Sets the fetch size.- 参数:
rows- the new fetch size- 另请参阅:
ResultSet
-
updateArray
public void updateArray(int columnIndex, java.sql.Array x)Update array.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateArray
public void updateArray(java.lang.String columnLabel, java.sql.Array x)Update array.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream x)Update ascii stream.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x)Update ascii stream.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream x, int length)Update ascii stream.- 参数:
columnIndex- the column indexx- the xlength- the length- 另请参阅:
ResultSet
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, int length)Update ascii stream.- 参数:
columnLabel- the column labelx- the xlength- the length- 另请参阅:
ResultSet
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream x, long length)Update ascii stream.- 参数:
columnIndex- the column indexx- the xlength- the length- 另请参阅:
ResultSet
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, long length)Update ascii stream.- 参数:
columnLabel- the column labelx- the xlength- the length- 另请参阅:
ResultSet
-
updateBigDecimal
public void updateBigDecimal(int columnIndex, java.math.BigDecimal x)Update big decimal.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateBigDecimal
public void updateBigDecimal(java.lang.String columnLabel, java.math.BigDecimal x)Update big decimal.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream x)Update binary stream.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x)Update binary stream.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream x, int length)Update binary stream.- 参数:
columnIndex- the column indexx- the xlength- the length- 另请参阅:
ResultSet
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, int length)Update binary stream.- 参数:
columnLabel- the column labelx- the xlength- the length- 另请参阅:
ResultSet
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream x, long length)Update binary stream.- 参数:
columnIndex- the column indexx- the xlength- the length- 另请参阅:
ResultSet
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, long length)Update binary stream.- 参数:
columnLabel- the column labelx- the xlength- the length- 另请参阅:
ResultSet
-
updateBlob
public void updateBlob(int columnIndex, java.sql.Blob x)Update blob.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateBlob
public void updateBlob(java.lang.String columnLabel, java.sql.Blob x)Update blob.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateBlob
public void updateBlob(int columnIndex, java.io.InputStream inputStream)Update blob.- 参数:
columnIndex- the column indexinputStream- the input stream- 另请参阅:
ResultSet
-
updateBlob
public void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream)Update blob.- 参数:
columnLabel- the column labelinputStream- the input stream- 另请参阅:
ResultSet
-
updateBlob
public void updateBlob(int columnIndex, java.io.InputStream inputStream, long length)Update blob.- 参数:
columnIndex- the column indexinputStream- the input streamlength- the length- 另请参阅:
ResultSet
-
updateBlob
public void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream, long length)Update blob.- 参数:
columnLabel- the column labelinputStream- the input streamlength- the length- 另请参阅:
ResultSet
-
updateBoolean
public void updateBoolean(int columnIndex, boolean x)Update boolean.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateBoolean
public void updateBoolean(java.lang.String columnLabel, boolean x)Update boolean.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateByte
public void updateByte(int columnIndex, byte x)Update byte.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateByte
public void updateByte(java.lang.String columnLabel, byte x)Update byte.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateBytes
public void updateBytes(int columnIndex, byte[] x)Update bytes.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateBytes
public void updateBytes(java.lang.String columnLabel, byte[] x)Update bytes.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader x)Update character stream.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader)Update character stream.- 参数:
columnLabel- the column labelreader- the reader- 另请参阅:
ResultSet
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader x, int length)Update character stream.- 参数:
columnIndex- the column indexx- the xlength- the length- 另请参阅:
ResultSet
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, int length)Update character stream.- 参数:
columnLabel- the column labelreader- the readerlength- the length- 另请参阅:
ResultSet
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader x, long length)Update character stream.- 参数:
columnIndex- the column indexx- the xlength- the length- 另请参阅:
ResultSet
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)Update character stream.- 参数:
columnLabel- the column labelreader- the readerlength- the length- 另请参阅:
ResultSet
-
updateClob
public void updateClob(int columnIndex, java.sql.Clob x)Update clob.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateClob
public void updateClob(java.lang.String columnLabel, java.sql.Clob x)Update clob.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateClob
public void updateClob(int columnIndex, java.io.Reader reader)Update clob.- 参数:
columnIndex- the column indexreader- the reader- 另请参阅:
ResultSet
-
updateClob
public void updateClob(java.lang.String columnLabel, java.io.Reader reader)Update clob.- 参数:
columnLabel- the column labelreader- the reader- 另请参阅:
ResultSet
-
updateClob
public void updateClob(int columnIndex, java.io.Reader reader, long length)Update clob.- 参数:
columnIndex- the column indexreader- the readerlength- the length- 另请参阅:
ResultSet
-
updateClob
public void updateClob(java.lang.String columnLabel, java.io.Reader reader, long length)Update clob.- 参数:
columnLabel- the column labelreader- the readerlength- the length- 另请参阅:
ResultSet
-
updateDate
public void updateDate(int columnIndex, java.sql.Date x)Update date.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateDate
public void updateDate(java.lang.String columnLabel, java.sql.Date x)Update date.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateDouble
public void updateDouble(int columnIndex, double x)Update double.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateDouble
public void updateDouble(java.lang.String columnLabel, double x)Update double.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateFloat
public void updateFloat(int columnIndex, float x)Update float.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateFloat
public void updateFloat(java.lang.String columnLabel, float x)Update float.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateInt
public void updateInt(int columnIndex, int x)Update int.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateInt
public void updateInt(java.lang.String columnLabel, int x)Update int.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateLong
public void updateLong(int columnIndex, long x)Update long.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateLong
public void updateLong(java.lang.String columnLabel, long x)Update long.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, java.io.Reader x)Update N character stream.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateNCharacterStream
public void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader)Update N character stream.- 参数:
columnLabel- the column labelreader- the reader- 另请参阅:
ResultSet
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, java.io.Reader x, long length)Update N character stream.- 参数:
columnIndex- the column indexx- the xlength- the length- 另请参阅:
ResultSet
-
updateNCharacterStream
public void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)Update N character stream.- 参数:
columnLabel- the column labelreader- the readerlength- the length- 另请参阅:
ResultSet
-
updateNClob
public void updateNClob(int columnIndex, java.sql.NClob nClob)Update N clob.- 参数:
columnIndex- the column indexnClob- the n clob- 另请参阅:
ResultSet
-
updateNClob
public void updateNClob(java.lang.String columnLabel, java.sql.NClob nClob)Update N clob.- 参数:
columnLabel- the column labelnClob- the n clob- 另请参阅:
ResultSet
-
updateNClob
public void updateNClob(int columnIndex, java.io.Reader reader)Update N clob.- 参数:
columnIndex- the column indexreader- the reader- 另请参阅:
ResultSet
-
updateNClob
public void updateNClob(java.lang.String columnLabel, java.io.Reader reader)Update N clob.- 参数:
columnLabel- the column labelreader- the reader- 另请参阅:
ResultSet
-
updateNClob
public void updateNClob(int columnIndex, java.io.Reader reader, long length)Update N clob.- 参数:
columnIndex- the column indexreader- the readerlength- the length- 另请参阅:
ResultSet
-
updateNClob
public void updateNClob(java.lang.String columnLabel, java.io.Reader reader, long length)Update N clob.- 参数:
columnLabel- the column labelreader- the readerlength- the length- 另请参阅:
ResultSet
-
updateNString
public void updateNString(int columnIndex, java.lang.String nString)Update N string.- 参数:
columnIndex- the column indexnString- the n string- 另请参阅:
ResultSet
-
updateNString
public void updateNString(java.lang.String columnLabel, java.lang.String nString)Update N string.- 参数:
columnLabel- the column labelnString- the n string- 另请参阅:
ResultSet
-
updateNull
public void updateNull(int columnIndex)Update null.- 参数:
columnIndex- the column index- 另请参阅:
ResultSet
-
updateNull
public void updateNull(java.lang.String columnLabel)Update null.- 参数:
columnLabel- the column label- 另请参阅:
ResultSet
-
updateObject
public void updateObject(int columnIndex, java.lang.Object x)Update object.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateObject
public void updateObject(java.lang.String columnLabel, java.lang.Object x)Update object.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateObject
public void updateObject(int columnIndex, java.lang.Object x, int scaleOrLength)Update object.- 参数:
columnIndex- the column indexx- the xscaleOrLength- the scale or length- 另请参阅:
ResultSet
-
updateObject
public void updateObject(java.lang.String columnLabel, java.lang.Object x, int scaleOrLength)Update object.- 参数:
columnLabel- the column labelx- the xscaleOrLength- the scale or length- 另请参阅:
ResultSet
-
updateRef
public void updateRef(int columnIndex, java.sql.Ref x)Update ref.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateRef
public void updateRef(java.lang.String columnLabel, java.sql.Ref x)Update ref.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateRow
public void updateRow()Update row.- 另请参阅:
ResultSet
-
updateRowId
public void updateRowId(int columnIndex, java.sql.RowId x)Update row id.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateRowId
public void updateRowId(java.lang.String columnLabel, java.sql.RowId x)Update row id.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateSQLXML
public void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject)Update SQLXML.- 参数:
columnIndex- the column indexxmlObject- the xml object- 另请参阅:
ResultSet
-
updateSQLXML
public void updateSQLXML(java.lang.String columnLabel, java.sql.SQLXML xmlObject)Update SQLXML.- 参数:
columnLabel- the column labelxmlObject- the xml object- 另请参阅:
ResultSet
-
updateShort
public void updateShort(int columnIndex, short x)Update short.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateShort
public void updateShort(java.lang.String columnLabel, short x)Update short.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateString
public void updateString(int columnIndex, java.lang.String x)Update string.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateString
public void updateString(java.lang.String columnLabel, java.lang.String x)Update string.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateTime
public void updateTime(int columnIndex, java.sql.Time x)Update time.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateTime
public void updateTime(java.lang.String columnLabel, java.sql.Time x)Update time.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
updateTimestamp
public void updateTimestamp(int columnIndex, java.sql.Timestamp x)Update timestamp.- 参数:
columnIndex- the column indexx- the x- 另请参阅:
ResultSet
-
updateTimestamp
public void updateTimestamp(java.lang.String columnLabel, java.sql.Timestamp x)Update timestamp.- 参数:
columnLabel- the column labelx- the x- 另请参阅:
ResultSet
-
wasNull
public boolean wasNull()Was null.- 返回:
- true, if successful
- 另请参阅:
ResultSet
-
isWrapperFor
public boolean isWrapperFor(java.lang.Class<?> iface)Checks if is wrapper for.- 参数:
iface- the iface- 返回:
- true, if is wrapper for
- 另请参阅:
ResultSet
-
unwrap
public <T> T unwrap(java.lang.Class<T> iface)Unwrap.- 类型参数:
T- the generic type- 参数:
iface- the iface- 返回:
- the t
- 另请参阅:
ResultSet
-
getResultSet
public java.sql.ResultSet getResultSet()Gets the result set.- 返回:
- 返回resultSet
-