|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Record
A record in a RecordSet
. Column values can be accessed by either
column name or a zero-based index.
Method Summary | |
---|---|
java.lang.String |
get(int index)
Gets the value of a column by column index. |
java.lang.String |
get(java.lang.String column)
Gets the value of a column by column name. |
int |
getCount()
Gets the number of columns in the record. |
java.lang.String |
getName(int index)
Gets the name of a column. |
java.util.List |
getNames()
Get the names of the columns in the record. |
int |
indexOf(java.lang.String column)
Gets the index of column. |
Method Detail |
---|
java.util.List getNames()
java.lang.String getName(int index) throws java.lang.IllegalArgumentException
index
- the zero-based column index
java.lang.IllegalArgumentException
- if the column index is invalidjava.lang.String get(java.lang.String column) throws java.lang.IllegalArgumentException
column
- the column name
java.lang.IllegalArgumentException
- if the column name is invalidint getCount()
int indexOf(java.lang.String column)
column
- the column name
java.lang.String get(int index) throws java.lang.IllegalArgumentException
index
- zero-based the column index
java.lang.IllegalArgumentException
- if the column index is invalid
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |