|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Recordset
A Recordset is a set of records.
| Field Summary | |
|---|---|
static int |
CACHED
The constant indicating that a recordset is not connected to JDBC |
static int |
LINKED
The constant indicating that a recordset is connected to JDBC |
| Method Summary | |
|---|---|
void |
close()
Close the record set. |
int |
columns()
Returns the amount of all columns in a record. |
void |
delete()
Delete current record. |
FieldValue[] |
fields()
Gets FieldValue array of a record. |
FieldValue |
fields(int index)
Gets FieldValue that indicated by an index. |
FieldValue |
fields(java.lang.String fdName)
Gets FieldValue that indicated by a field name. |
boolean |
first()
Cursor move to the first record. |
boolean |
getBoolean(int index)
|
boolean |
getBoolean(java.lang.String fdName)
|
byte |
getByte(int index)
|
byte |
getByte(java.lang.String fdName)
|
byte[] |
getBytes(int index)
|
byte[] |
getBytes(java.lang.String fdName)
|
java.sql.Date |
getDate(int index)
|
java.sql.Date |
getDate(java.lang.String fdName)
|
double |
getDouble(int index)
|
double |
getDouble(java.lang.String fdName)
|
float |
getFloat(int index)
|
float |
getFloat(java.lang.String fdName)
|
int |
getInt(int index)
|
int |
getInt(java.lang.String fdName)
|
long |
getLong(int index)
|
long |
getLong(java.lang.String fdName)
|
int |
getSetType()
Returns the type of the Recordset, it should be one of
jet.server.api.db.Recordset.LINKED or
jet.server.api.db.Recordset.CACHED |
short |
getShort(int index)
|
short |
getShort(java.lang.String fdName)
|
java.lang.String |
getString(int index)
|
java.lang.String |
getString(java.lang.String fdName)
|
java.sql.Time |
getTime(int index)
|
java.sql.Time |
getTime(java.lang.String fdName)
|
java.sql.Timestamp |
getTimestamp(int index)
|
java.sql.Timestamp |
getTimestamp(java.lang.String fdName)
|
java.lang.Object |
getValue(int index)
Gets value of the specified field by the field index |
java.lang.Object |
getValue(java.lang.String fdName)
Gets value of the specified field by the field name |
boolean |
next()
Cursor move to the next record from the current record. |
int |
rows()
Returns the amount of all rows in this records set. |
| Field Detail |
|---|
static final int LINKED
static final int CACHED
| Method Detail |
|---|
int getSetType()
Recordset, it should be one of
jet.server.api.db.Recordset.LINKED or
jet.server.api.db.Recordset.CACHED
Recordset.FieldValue[] fields()
FieldValue array of a record.
FieldValue fields(int index)
FieldValue that indicated by an index.
index -
FieldValueFieldValue fields(java.lang.String fdName)
FieldValue that indicated by a field name.
fdName - the field name
FieldValueint rows()
int columns()
boolean first()
boolean next()
void delete()
void close()
java.lang.Object getValue(int index)
index -
java.lang.Object getValue(java.lang.String fdName)
fdName -
boolean getBoolean(int index)
throws java.sql.SQLException
java.sql.SQLException
boolean getBoolean(java.lang.String fdName)
throws java.sql.SQLException
java.sql.SQLException
byte getByte(int index)
throws java.sql.SQLException
java.sql.SQLException
byte getByte(java.lang.String fdName)
throws java.sql.SQLException
java.sql.SQLException
short getShort(int index)
throws java.sql.SQLException
java.sql.SQLException
short getShort(java.lang.String fdName)
throws java.sql.SQLException
java.sql.SQLException
int getInt(int index)
throws java.sql.SQLException
java.sql.SQLException
int getInt(java.lang.String fdName)
throws java.sql.SQLException
java.sql.SQLException
long getLong(int index)
throws java.sql.SQLException
java.sql.SQLException
long getLong(java.lang.String fdName)
throws java.sql.SQLException
java.sql.SQLException
float getFloat(int index)
throws java.sql.SQLException
java.sql.SQLException
float getFloat(java.lang.String fdName)
throws java.sql.SQLException
java.sql.SQLException
double getDouble(int index)
throws java.sql.SQLException
java.sql.SQLException
double getDouble(java.lang.String fdName)
throws java.sql.SQLException
java.sql.SQLException
java.lang.String getString(int index)
throws java.sql.SQLException
java.sql.SQLException
java.lang.String getString(java.lang.String fdName)
throws java.sql.SQLException
java.sql.SQLException
byte[] getBytes(int index)
throws java.sql.SQLException
java.sql.SQLException
byte[] getBytes(java.lang.String fdName)
throws java.sql.SQLException
java.sql.SQLException
java.sql.Date getDate(int index)
throws java.sql.SQLException
java.sql.SQLException
java.sql.Date getDate(java.lang.String fdName)
throws java.sql.SQLException
java.sql.SQLException
java.sql.Time getTime(int index)
throws java.sql.SQLException
java.sql.SQLException
java.sql.Time getTime(java.lang.String fdName)
throws java.sql.SQLException
java.sql.SQLException
java.sql.Timestamp getTimestamp(int index)
throws java.sql.SQLException
java.sql.SQLException
java.sql.Timestamp getTimestamp(java.lang.String fdName)
throws java.sql.SQLException
java.sql.SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||