com.sybase.jdbc2.tds
Class TdsResultSet

java.lang.Object
  |
  +--com.sybase.jdbc2.tds.TdsResultSet
Direct Known Subclasses:
TdsParamSet

public class TdsResultSet
extends Object
implements ProtocolResultSet


Field Summary
 private java.util.Vector_cachedRows
           
 protected com.sybase.jdbc2.tds.TdsDataObject[]_columns
           
 private boolean_dead
           
 protected boolean_needNext
           
 protected int_rowCount
           
 private com.sybase.jdbc2.tds.RowFormatToken_rowfmt
           
 private int_rowIndex
           
 private com.sybase.jdbc2.tds.TdsDataObject[]_savedCols
           
 private boolean_scrolling
           
 private int_totalColumns
           
 protected com.sybase.jdbc2.tds.TdsProtocolContext_tpc
           
 private int_type
           
 protected java.sql.SQLWarning_warning
           

Constructor Summary
 protected TdsResultSet(com.sybase.jdbc2.tds.TdsProtocolContext )
           

Method Summary
 voidabsolute(int )
           
 private voidcacheCurrentRow()
           
 voidclearWarnings()
           
 voidclose(boolean )
           
 protected voiddump()
           
 intfindColumn(java.lang.String )
           
 com.sybase.jdbc2.jdbc.JdbcDataObjectgetColumn(int )
           
 intgetCount()
           
 java.sql.ResultSetMetaDatagetMetaData()
           
 intgetNumRowsCached()
           
 intgetType()
           
 java.sql.SQLWarninggetWarnings()
           
 protected voidhandleSQLE(java.sql.SQLException )
           
 protected synchronized voidmarkDead()
           
 booleannext()
           
 protected intnextResult()
           
 protected voidprepareForNextFetch()
           
 voidprevious()
           
 voidsetType(int )
           

Methods inherited from class java.lang.Object
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize

Field Detail

_cachedRows

private java.util.Vector _cachedRows

_columns

protected com.sybase.jdbc2.tds.TdsDataObject[] _columns

_dead

private boolean _dead

_needNext

protected boolean _needNext

_rowCount

protected int _rowCount

_rowfmt

private com.sybase.jdbc2.tds.RowFormatToken _rowfmt

_rowIndex

private int _rowIndex

_savedCols

private com.sybase.jdbc2.tds.TdsDataObject[] _savedCols

_scrolling

private boolean _scrolling

_totalColumns

private int _totalColumns

_tpc

protected com.sybase.jdbc2.tds.TdsProtocolContext _tpc

_type

private int _type

_warning

protected java.sql.SQLWarning _warning
Constructor Detail

TdsResultSet

protected TdsResultSet(com.sybase.jdbc2.tds.TdsProtocolContext )
Method Detail

absolute

public void absolute(int )

cacheCurrentRow

private void cacheCurrentRow()

clearWarnings

public void clearWarnings()

close

public void close(boolean )

dump

protected void dump()

findColumn

public int findColumn(java.lang.String )

getColumn

public com.sybase.jdbc2.jdbc.JdbcDataObject getColumn(int )

getCount

public int getCount()

getMetaData

public java.sql.ResultSetMetaData getMetaData()

getNumRowsCached

public int getNumRowsCached()

getType

public int getType()

getWarnings

public java.sql.SQLWarning getWarnings()

handleSQLE

protected void handleSQLE(java.sql.SQLException )

markDead

protected synchronized void markDead()

next

public boolean next()

nextResult

protected int nextResult()

prepareForNextFetch

protected void prepareForNextFetch()

previous

public void previous()

setType

public void setType(int )