Interface IRecordset
-
- All Superinterfaces:
com4j.Com4jObject,IColumnInfo
public interface IRecordset extends IColumnInfo
Represents the entire set of records resulting from an executed command. At any given time, the Recordset object refers to a single record within the record set as the current record.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanbor()Checks if the record cursor is on the first record.intcacheSize()The number of records in the recordset that are cached locally in memory.voidcacheSize(int pVal)The number of records in the recordset that are cached locally in memory.com4j.Com4jObjectclone()Creates a duplicate of this Recordset object.booleaneor()Checks if the record cursor is after the last record.java.lang.ObjectfieldValue(java.lang.Object fieldKey)The value for the specified field.voidfieldValue(java.lang.Object fieldKey, java.lang.Object pVal)The value for the specified field.voidfirst()Moves to the first record and makes it the current record.voidlast()Moves to the last record and makes it the current record.voidnext()Moves to the next record and makes it the current record.intposition()The current record position (0-based).voidposition(int pVal)The current record position (0-based).voidprev()Moves to the previous record and makes it the current record.intrecordCount()The number of records in the Recordset.voidrefresh(int range, int low, int high)Refreshes the Recordset, overwriting values in memory.
-
-
-
Method Detail
-
fieldValue
java.lang.Object fieldValue(java.lang.Object fieldKey)
The value for the specified field.
Getter method for the COM property "FieldValue"
- Parameters:
fieldKey- Mandatory java.lang.Object parameter.- Returns:
- Returns a value of type java.lang.Object
-
fieldValue
void fieldValue(java.lang.Object fieldKey, java.lang.Object pVal)The value for the specified field.
Setter method for the COM property "FieldValue"
- Parameters:
fieldKey- Mandatory java.lang.Object parameter.pVal- Mandatory java.lang.Object parameter.
-
recordCount
int recordCount()
The number of records in the Recordset.
Getter method for the COM property "RecordCount"
- Returns:
- Returns a value of type int
-
bor
boolean bor()
Checks if the record cursor is on the first record.
Getter method for the COM property "BOR"
- Returns:
- Returns a value of type boolean
-
eor
boolean eor()
Checks if the record cursor is after the last record.
Getter method for the COM property "EOR"
- Returns:
- Returns a value of type boolean
-
cacheSize
int cacheSize()
The number of records in the recordset that are cached locally in memory.
Getter method for the COM property "CacheSize"
- Returns:
- Returns a value of type int
-
cacheSize
void cacheSize(int pVal)
The number of records in the recordset that are cached locally in memory.
Setter method for the COM property "CacheSize"
- Parameters:
pVal- Mandatory int parameter.
-
position
int position()
The current record position (0-based).
Getter method for the COM property "Position"
- Returns:
- Returns a value of type int
-
position
void position(int pVal)
The current record position (0-based).
Setter method for the COM property "Position"
- Parameters:
pVal- Mandatory int parameter.
-
first
void first()
Moves to the first record and makes it the current record.
-
next
void next()
Moves to the next record and makes it the current record.
-
prev
void prev()
Moves to the previous record and makes it the current record.
-
last
void last()
Moves to the last record and makes it the current record.
-
clone
com4j.Com4jObject clone()
Creates a duplicate of this Recordset object.
- Returns:
- Returns a value of type com4j.Com4jObject
-
refresh
void refresh(@DefaultValue("0") int range, int low, int high)Refreshes the Recordset, overwriting values in memory.
- Parameters:
range- Optional parameter. Default value is 0low- Optional parameter. Default value is 0high- Optional parameter. Default value is 0
-
-