org.axiondb.jdbc

Class AxionResultSet

public class AxionResultSet extends Object implements ResultSet

A @link java.sql.ResultSet implementation.

Version: $Revision: 1.40 $ $Date: 2007/11/13 19:04:01 $

Author: Chuck Burdick Rodney Waldhoff Ahimanikya Satapathy Jonathan Giron

Field Summary
protected RowDecoratorIterator_rows
Constructor Summary
AxionResultSet(RowDecoratorIterator rows, Selectable[] selected)
AxionResultSet(RowDecoratorIterator rows, Selectable[] selected, Statement stmt)
protected AxionResultSet()
Method Summary
booleanabsolute(int row)
voidafterLast()
voidbeforeFirst()
voidcancelRowUpdates()
voidclearWarnings()
voidclose()
static ResultSetcreateEmptyResultSet(Statement stmt)
voiddeleteRow()
intfindColumn(String colName)
booleanfirst()
ArraygetArray(int i)
ArraygetArray(String colName)
InputStreamgetAsciiStream(int i)
InputStreamgetAsciiStream(String colName)
BigDecimalgetBigDecimal(int i)
BigDecimalgetBigDecimal(int i, int scale)
BigDecimalgetBigDecimal(String colName)
BigDecimalgetBigDecimal(String colName, int scale)
InputStreamgetBinaryStream(int i)
InputStreamgetBinaryStream(String colName)
BlobgetBlob(int i)
BlobgetBlob(String colName)
booleangetBoolean(int i)
booleangetBoolean(String colName)
bytegetByte(int i)
bytegetByte(String colName)
byte[]getBytes(int i)
byte[]getBytes(String colName)
ReadergetCharacterStream(int i)
ReadergetCharacterStream(String colName)
ClobgetClob(int i)
ClobgetClob(String colName)
intgetConcurrency()
StringgetCursorName()
DategetDate(int i)
DategetDate(int i, Calendar cal)
DategetDate(String colName)
DategetDate(String colName, Calendar cal)
doublegetDouble(int i)
doublegetDouble(String colName)
intgetFetchDirection()
intgetFetchSize()
floatgetFloat(int i)
floatgetFloat(String colName)
intgetInt(int i)
intgetInt(String colName)
longgetLong(int i)
longgetLong(String colName)
ResultSetMetaDatagetMetaData()
ObjectgetObject(int i)
ObjectgetObject(String colName)
RefgetRef(int i)
RefgetRef(String colName)
intgetRow()
shortgetShort(int i)
shortgetShort(String colName)
StatementgetStatement()
StringgetString(int i)
StringgetString(String colName)
TimegetTime(int i)
TimegetTime(int i, Calendar cal)
TimegetTime(String colName)
TimegetTime(String colName, Calendar cal)
TimestampgetTimestamp(int i)
TimestampgetTimestamp(int i, Calendar cal)
TimestampgetTimestamp(String colName)
TimestampgetTimestamp(String colName, Calendar cal)
intgetType()
InputStreamgetUnicodeStream(int i)
InputStreamgetUnicodeStream(String colName)
URLgetURL(int i)
URLgetURL(String colName)
SQLWarninggetWarnings()
voidinsertRow()
booleanisAfterLast()
booleanisBeforeFirst()
booleanisFirst()
booleanisLast()
booleanlast()
voidmoveToCurrentRow()
voidmoveToInsertRow()
booleannext()
booleanprevious()
voidrefreshRow()
booleanrelative(int rows)
booleanrowDeleted()
booleanrowInserted()
booleanrowUpdated()
voidsetFetchDirection(int direction)
voidsetFetchSize(int size)
voidsetMaxRows(int max)
protected voidsetStatement(Statement stmt)
voidsetTransaction(TransactionManager manager, Transaction transaction)
voidupdateArray(int arg0, Array arg1)
Currently unsupported.
voidupdateArray(String colName, Array arg1)
voidupdateAsciiStream(int i, InputStream in, int length)
voidupdateAsciiStream(String colName, InputStream in, int length)
voidupdateBigDecimal(int i, BigDecimal value)
voidupdateBigDecimal(String colName, BigDecimal value)
voidupdateBinaryStream(int i, InputStream value, int length)
voidupdateBinaryStream(String colName, InputStream value, int length)
voidupdateBlob(int arg0, Blob arg1)
Currently unsupported.
voidupdateBlob(String colName, Blob arg1)
voidupdateBoolean(int i, boolean value)
voidupdateBoolean(String colName, boolean value)
voidupdateByte(int i, byte value)
voidupdateByte(String colName, byte value)
voidupdateBytes(int i, byte[] value)
voidupdateBytes(String colName, byte[] value)
voidupdateCharacterStream(int i, Reader value, int length)
voidupdateCharacterStream(String colName, Reader value, int length)
voidupdateClob(int arg0, Clob arg1)
Currently unsupported.
voidupdateClob(String colName, Clob arg1)
voidupdateDate(int i, Date value)
voidupdateDate(String colName, Date value)
voidupdateDouble(int i, double value)
voidupdateDouble(String colName, double value)
voidupdateFloat(int i, float value)
voidupdateFloat(String colName, float value)
voidupdateInt(int i, int value)
voidupdateInt(String colName, int value)
voidupdateLong(int i, long value)
voidupdateLong(String colName, long value)
voidupdateNull(int i)
voidupdateNull(String colName)
voidupdateObject(int i, Object value)
voidupdateObject(int i, Object value, int scale)
voidupdateObject(String colName, Object value)
voidupdateObject(String colName, Object value, int scale)
voidupdateRef(int arg0, Ref arg1)
Currently unsupported.
voidupdateRef(String colName, Ref arg1)
voidupdateRow()
voidupdateShort(int i, short value)
voidupdateShort(String colName, short value)
voidupdateString(int i, String value)
voidupdateString(String colName, String value)
voidupdateTime(int i, Time value)
voidupdateTime(String colName, Time value)
voidupdateTimestamp(int i, Timestamp value)
voidupdateTimestamp(String colName, Timestamp value)
booleanwasNull()

Field Detail

_rows

protected RowDecoratorIterator _rows

Constructor Detail

AxionResultSet

public AxionResultSet(RowDecoratorIterator rows, Selectable[] selected)

Deprecated: use @link #AxionResultSet(RowDecoratorIterator,Selectable,Statement

AxionResultSet

public AxionResultSet(RowDecoratorIterator rows, Selectable[] selected, Statement stmt)

AxionResultSet

protected AxionResultSet()

Method Detail

absolute

public boolean absolute(int row)

afterLast

public void afterLast()

beforeFirst

public void beforeFirst()

cancelRowUpdates

public void cancelRowUpdates()

clearWarnings

public void clearWarnings()

close

public void close()

createEmptyResultSet

public static ResultSet createEmptyResultSet(Statement stmt)

deleteRow

public void deleteRow()

findColumn

public int findColumn(String colName)

first

public boolean first()

getArray

public Array getArray(int i)

getArray

public Array getArray(String colName)

getAsciiStream

public InputStream getAsciiStream(int i)

getAsciiStream

public InputStream getAsciiStream(String colName)

getBigDecimal

public BigDecimal getBigDecimal(int i)

getBigDecimal

public BigDecimal getBigDecimal(int i, int scale)

Deprecated: See @link java.sql.ResultSet#getBigDecimal(int,int)

getBigDecimal

public BigDecimal getBigDecimal(String colName)

getBigDecimal

public BigDecimal getBigDecimal(String colName, int scale)

Deprecated: See @link java.sql.ResultSet#getBigDecimal(java.lang.String,int)

getBinaryStream

public InputStream getBinaryStream(int i)

getBinaryStream

public InputStream getBinaryStream(String colName)

getBlob

public Blob getBlob(int i)

getBlob

public Blob getBlob(String colName)

getBoolean

public boolean getBoolean(int i)

getBoolean

public boolean getBoolean(String colName)

getByte

public byte getByte(int i)

getByte

public byte getByte(String colName)

getBytes

public byte[] getBytes(int i)

getBytes

public byte[] getBytes(String colName)

getCharacterStream

public Reader getCharacterStream(int i)

getCharacterStream

public Reader getCharacterStream(String colName)

getClob

public Clob getClob(int i)

getClob

public Clob getClob(String colName)

getConcurrency

public int getConcurrency()

getCursorName

public String getCursorName()

getDate

public Date getDate(int i)

getDate

public Date getDate(int i, Calendar cal)

getDate

public Date getDate(String colName)

getDate

public Date getDate(String colName, Calendar cal)

getDouble

public double getDouble(int i)

getDouble

public double getDouble(String colName)

getFetchDirection

public int getFetchDirection()

getFetchSize

public int getFetchSize()

getFloat

public float getFloat(int i)

getFloat

public float getFloat(String colName)

getInt

public int getInt(int i)

getInt

public int getInt(String colName)

getLong

public long getLong(int i)

getLong

public long getLong(String colName)

getMetaData

public ResultSetMetaData getMetaData()

getObject

public Object getObject(int i)

getObject

public Object getObject(String colName)

getRef

public Ref getRef(int i)

getRef

public Ref getRef(String colName)

getRow

public int getRow()

getShort

public short getShort(int i)

getShort

public short getShort(String colName)

getStatement

public Statement getStatement()

getString

public String getString(int i)

getString

public String getString(String colName)

getTime

public Time getTime(int i)

getTime

public Time getTime(int i, Calendar cal)

getTime

public Time getTime(String colName)

getTime

public Time getTime(String colName, Calendar cal)

getTimestamp

public Timestamp getTimestamp(int i)

getTimestamp

public Timestamp getTimestamp(int i, Calendar cal)

getTimestamp

public Timestamp getTimestamp(String colName)

getTimestamp

public Timestamp getTimestamp(String colName, Calendar cal)

getType

public int getType()

getUnicodeStream

public InputStream getUnicodeStream(int i)

Deprecated: See @link java.sql.ResultSet#getUnicodeStream

getUnicodeStream

public InputStream getUnicodeStream(String colName)

Deprecated: See @link java.sql.ResultSet#getUnicodeStream

getURL

public URL getURL(int i)

getURL

public URL getURL(String colName)

getWarnings

public SQLWarning getWarnings()

insertRow

public void insertRow()

isAfterLast

public boolean isAfterLast()

isBeforeFirst

public boolean isBeforeFirst()

isFirst

public boolean isFirst()

isLast

public boolean isLast()

last

public boolean last()

moveToCurrentRow

public void moveToCurrentRow()

moveToInsertRow

public void moveToInsertRow()

next

public boolean next()

previous

public boolean previous()

refreshRow

public void refreshRow()

relative

public boolean relative(int rows)

rowDeleted

public boolean rowDeleted()

rowInserted

public boolean rowInserted()

rowUpdated

public boolean rowUpdated()

setFetchDirection

public void setFetchDirection(int direction)

setFetchSize

public void setFetchSize(int size)

setMaxRows

public void setMaxRows(int max)

setStatement

protected void setStatement(Statement stmt)

setTransaction

public void setTransaction(TransactionManager manager, Transaction transaction)

updateArray

public void updateArray(int arg0, Array arg1)
Currently unsupported.

updateArray

public void updateArray(String colName, Array arg1)

updateAsciiStream

public void updateAsciiStream(int i, InputStream in, int length)

updateAsciiStream

public void updateAsciiStream(String colName, InputStream in, int length)

updateBigDecimal

public void updateBigDecimal(int i, BigDecimal value)

updateBigDecimal

public void updateBigDecimal(String colName, BigDecimal value)

updateBinaryStream

public void updateBinaryStream(int i, InputStream value, int length)

updateBinaryStream

public void updateBinaryStream(String colName, InputStream value, int length)

updateBlob

public void updateBlob(int arg0, Blob arg1)
Currently unsupported.

updateBlob

public void updateBlob(String colName, Blob arg1)

updateBoolean

public void updateBoolean(int i, boolean value)

updateBoolean

public void updateBoolean(String colName, boolean value)

updateByte

public void updateByte(int i, byte value)

updateByte

public void updateByte(String colName, byte value)

updateBytes

public void updateBytes(int i, byte[] value)

updateBytes

public void updateBytes(String colName, byte[] value)

updateCharacterStream

public void updateCharacterStream(int i, Reader value, int length)

updateCharacterStream

public void updateCharacterStream(String colName, Reader value, int length)

updateClob

public void updateClob(int arg0, Clob arg1)
Currently unsupported.

updateClob

public void updateClob(String colName, Clob arg1)

updateDate

public void updateDate(int i, Date value)

updateDate

public void updateDate(String colName, Date value)

updateDouble

public void updateDouble(int i, double value)

updateDouble

public void updateDouble(String colName, double value)

updateFloat

public void updateFloat(int i, float value)

updateFloat

public void updateFloat(String colName, float value)

updateInt

public void updateInt(int i, int value)

updateInt

public void updateInt(String colName, int value)

updateLong

public void updateLong(int i, long value)

updateLong

public void updateLong(String colName, long value)

updateNull

public void updateNull(int i)

updateNull

public void updateNull(String colName)

updateObject

public void updateObject(int i, Object value)

updateObject

public void updateObject(int i, Object value, int scale)

updateObject

public void updateObject(String colName, Object value)

updateObject

public void updateObject(String colName, Object value, int scale)

updateRef

public void updateRef(int arg0, Ref arg1)
Currently unsupported.

updateRef

public void updateRef(String colName, Ref arg1)

updateRow

public void updateRow()

updateShort

public void updateShort(int i, short value)

updateShort

public void updateShort(String colName, short value)

updateString

public void updateString(int i, String value)

updateString

public void updateString(String colName, String value)

updateTime

public void updateTime(int i, Time value)

updateTime

public void updateTime(String colName, Time value)

updateTimestamp

public void updateTimestamp(int i, Timestamp value)

updateTimestamp

public void updateTimestamp(String colName, Timestamp value)

wasNull

public boolean wasNull()