|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Query
Alternative Implementation of Jeremy Allaire's Query Interface
Field Summary |
---|
Fields inherited from interface java.sql.ResultSet |
---|
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE |
Method Summary | |
---|---|
int |
addRow()
|
int |
getColumnIndex(String coulmnName)
returns index of a columnName |
String[] |
getColumns()
|
String |
getData(int row,
int col)
returns one field of a Query as String |
String |
getName()
|
int |
getRowCount()
|
void |
setData(int row,
int col,
String value)
sets value at a defined position in Query |
Methods inherited from interface java.sql.Wrapper |
---|
isWrapperFor, unwrap |
Method Detail |
---|
int addRow()
int getColumnIndex(String coulmnName)
coulmnName
- column name to get index for
String[] getColumns()
String getData(int row, int col) throws IndexOutOfBoundsException
row
- col
-
IndexOutOfBoundsException
String getName()
int getRowCount()
void setData(int row, int col, String value) throws IndexOutOfBoundsException
row
- col
- value
-
IndexOutOfBoundsException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |