Top Description Fields Methods
org.apache.derby.iapi.jdbc

public Interface EngineResultSet

extends ResultSet
Known Direct Implementers
org.apache.derby.impl.jdbc.EmbedResultSet
Imports
java.sql.ResultSet, .SQLException

Additional methods the embedded engine exposes on its ResultSet object implementations. An internal api only, mainly for the network server

Field Summary

Inherited from java.sql.ResultSet:
CLOSE_CURSORS_AT_COMMITCONCUR_READ_ONLYCONCUR_UPDATABLEFETCH_FORWARDFETCH_REVERSEFETCH_UNKNOWNHOLD_CURSORS_OVER_COMMITTYPE_FORWARD_ONLYTYPE_SCROLL_INSENSITIVETYPE_SCROLL_SENSITIVE

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

length of data value
getLength
(int
column to access
columnIndex
)

Return the length of the designated columnIndex data value.

public boolean

Returns:

true if this is a select for update statement's ResultSet
isForUpdate
()

Is this result set from a select for update statement?

public boolean

Returns:

true if the data value at columnIndex for the current row is null
isNull
(int
Column position
columnIndex
)

Is the designated columnIndex a null data value?

Inherited from java.sql.ResultSet:
absoluteafterLastbeforeFirstcancelRowUpdatesclearWarningsclosedeleteRowfindColumnfirstgetArraygetArraygetAsciiStreamgetAsciiStreamgetBigDecimalgetBigDecimalgetBigDecimalgetBigDecimalgetBinaryStreamgetBinaryStreamgetBlobgetBlobgetBooleangetBooleangetBytegetBytegetBytesgetBytesgetCharacterStreamgetCharacterStreamgetClobgetClobgetConcurrencygetCursorNamegetDategetDategetDategetDategetDoublegetDoublegetFetchDirectiongetFetchSizegetFloatgetFloatgetHoldabilitygetIntgetIntgetLonggetLonggetMetaDatagetNCharacterStreamgetNCharacterStreamgetNClobgetNClobgetNStringgetNStringgetObjectgetObjectgetObjectgetObjectgetObjectgetObjectgetRefgetRefgetRowgetRowIdgetRowIdgetShortgetShortgetSQLXMLgetSQLXMLgetStatementgetStringgetStringgetTimegetTimegetTimegetTimegetTimestampgetTimestampgetTimestampgetTimestampgetTypegetUnicodeStreamgetUnicodeStreamgetURLgetURLgetWarningsinsertRowisAfterLastisBeforeFirstisClosedisFirstisLastlastmoveToCurrentRowmoveToInsertRownextpreviousrefreshRowrelativerowDeletedrowInsertedrowUpdatedsetFetchDirectionsetFetchSizeupdateArrayupdateArrayupdateAsciiStreamupdateAsciiStreamupdateAsciiStreamupdateAsciiStreamupdateAsciiStreamupdateAsciiStreamupdateBigDecimalupdateBigDecimalupdateBinaryStreamupdateBinaryStreamupdateBinaryStreamupdateBinaryStreamupdateBinaryStreamupdateBinaryStreamupdateBlobupdateBlobupdateBlobupdateBlobupdateBlobupdateBlobupdateBooleanupdateBooleanupdateByteupdateByteupdateBytesupdateBytesupdateCharacterStreamupdateCharacterStreamupdateCharacterStreamupdateCharacterStreamupdateCharacterStreamupdateCharacterStreamupdateClobupdateClobupdateClobupdateClobupdateClobupdateClobupdateDateupdateDateupdateDoubleupdateDoubleupdateFloatupdateFloatupdateIntupdateIntupdateLongupdateLongupdateNCharacterStreamupdateNCharacterStreamupdateNCharacterStreamupdateNCharacterStreamupdateNClobupdateNClobupdateNClobupdateNClobupdateNClobupdateNClobupdateNStringupdateNStringupdateNullupdateNullupdateObjectupdateObjectupdateObjectupdateObjectupdateObjectupdateObjectupdateObjectupdateObjectupdateRefupdateRefupdateRowupdateRowIdupdateRowIdupdateShortupdateShortupdateSQLXMLupdateSQLXMLupdateStringupdateStringupdateTimeupdateTimeupdateTimestampupdateTimestampwasNull

Method Detail

getLengthback to summary
public int getLength(int columnIndex) throws SQLException

Return the length of the designated columnIndex data value. Implementation is type dependent.

Parameters
columnIndex:int

column to access

Returns:int

length of data value

Exceptions
SQLException:
on error
See Also
org.apache.derby.iapi.types.DataValueDescriptor#getLength()
isForUpdateback to summary
public boolean isForUpdate()

Is this result set from a select for update statement?

Returns:boolean

true if this is a select for update statement's ResultSet

isNullback to summary
public boolean isNull(int columnIndex) throws SQLException

Is the designated columnIndex a null data value? This is used by EXTDTAInputStream to get the null value without retrieving the underlying data value.

Parameters
columnIndex:int

Column position

Returns:boolean

true if the data value at columnIndex for the current row is null

Exceptions
SQLException:
on error