|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Scan
The interface will be implemented by each query scan. There is a Scan class for each relational algebra operator.
Method Summary | |
---|---|
void |
beforeFirst()
Positions the scan before its first record. |
void |
close()
Closes the scan and its subscans, if any. |
int |
getInt(String fldname)
Returns the value of the specified integer field in the current record. |
String |
getString(String fldname)
Returns the value of the specified string field in the current record. |
Constant |
getVal(String fldname)
Returns the value of the specified field in the current record. |
boolean |
hasField(String fldname)
Returns true if the scan has the specified field. |
boolean |
next()
Moves the scan to the next record. |
Method Detail |
---|
void beforeFirst()
boolean next()
void close()
Constant getVal(String fldname)
fldname
- the name of the field
int getInt(String fldname)
fldname
- the name of the field
String getString(String fldname)
fldname
- the name of the field
boolean hasField(String fldname)
fldname
- the name of the field
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |