com.mwc.sqld.db
Class TwoWayMergeSort.SortCurser
java.lang.Object
|
+--com.mwc.sqld.db.TwoWayMergeSort.SortCurser
- All Implemented Interfaces:
- Curser, ValueLookup
- Enclosing class:
- TwoWayMergeSort
- public class TwoWayMergeSort.SortCurser
- extends java.lang.Object
- implements Curser
Method Summary |
boolean |
close()
|
java.lang.String[][] |
cols()
|
boolean |
eof()
|
java.lang.String |
getType(java.lang.String colName)
|
java.lang.String |
getValue(int index)
|
java.lang.String |
getValue(java.lang.String colName)
|
boolean |
next()
|
boolean |
put(java.lang.String rec)
|
boolean |
put(java.lang.String rec,
boolean append)
|
boolean |
put(ValueLookup c)
|
int |
recCount()
|
boolean |
reset()
|
int |
size()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TwoWayMergeSort.SortCurser
public TwoWayMergeSort.SortCurser(java.io.File f,
java.lang.String[][] cols,
int recCount)
throws java.io.IOException
cols
public java.lang.String[][] cols()
- Specified by:
cols
in interface ValueLookup
size
public int size()
- Specified by:
size
in interface ValueLookup
reset
public boolean reset()
- Specified by:
reset
in interface Curser
put
public boolean put(ValueLookup c)
put
public boolean put(java.lang.String rec)
put
public boolean put(java.lang.String rec,
boolean append)
next
public boolean next()
- Specified by:
next
in interface Curser
getValue
public java.lang.String getValue(java.lang.String colName)
- Specified by:
getValue
in interface ValueLookup
getValue
public java.lang.String getValue(int index)
- Specified by:
getValue
in interface ValueLookup
getType
public java.lang.String getType(java.lang.String colName)
- Specified by:
getType
in interface ValueLookup
close
public boolean close()
- Specified by:
close
in interface Curser
recCount
public int recCount()
- Specified by:
recCount
in interface Curser
eof
public boolean eof()