()
| 195 | } // end of AggregateColl |
| 196 | |
| 197 | public boolean Rewind() { |
| 198 | if (cursor != null) |
| 199 | cursor.close(); |
| 200 | |
| 201 | if (pip == null) { |
| 202 | if (dbf != null) |
| 203 | cursor = coll.find(dbq, dbf); |
| 204 | else if (dbq != null) |
| 205 | cursor = coll.find(dbq); |
| 206 | else |
| 207 | cursor = coll.find(); |
| 208 | |
| 209 | } else |
| 210 | cursor = coll.aggregate(pip, aop); |
| 211 | |
| 212 | return (cursor == null); |
| 213 | } // end of Rewind |
| 214 | |
| 215 | public int ReadNext() { |
| 216 | try { |