|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsimpledb.query.ProductScan
public class ProductScan
The scan class corresponding to the product relational algebra operator.
| Constructor Summary | |
|---|---|
ProductScan(Scan s1,
Scan s2)
Creates a product scan having the two underlying scans. |
|
| Method Summary | |
|---|---|
void |
beforeFirst()
Positions the scan before its first record. |
void |
close()
Closes both underlying scans. |
int |
getInt(java.lang.String fldname)
Returns the integer value of the specified field. |
java.lang.String |
getString(java.lang.String fldname)
Returns the string value of the specified field. |
Constant |
getVal(java.lang.String fldname)
Returns the value of the specified field. |
boolean |
hasField(java.lang.String fldname)
Returns true if the specified field is in either of the underlying scans. |
boolean |
next()
Moves the scan to the next record. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProductScan(Scan s1,
Scan s2)
s1 - the LHS scans2 - the RHS scan| Method Detail |
|---|
public void beforeFirst()
beforeFirst in interface ScanScan.beforeFirst()public boolean next()
next in interface ScanScan.next()public void close()
close in interface ScanScan.close()public Constant getVal(java.lang.String fldname)
getVal in interface Scanfldname - the name of the field
Scan.getVal(java.lang.String)public int getInt(java.lang.String fldname)
getInt in interface Scanfldname - the name of the field
Scan.getInt(java.lang.String)public java.lang.String getString(java.lang.String fldname)
getString in interface Scanfldname - the name of the field
Scan.getString(java.lang.String)public boolean hasField(java.lang.String fldname)
hasField in interface Scanfldname - the name of the field
Scan.hasField(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||