Returns the iterator size. -1 is returned if the result size is unknown. If this method returns a positive value, #get(long) needs to be implemented as well. @return number of entries @throws QueryException query exception
()
| 39 | * @throws QueryException query exception |
| 40 | */ |
| 41 | @SuppressWarnings("unused") |
| 42 | public long size() throws QueryException { |
| 43 | return -1; |
| 44 | } |
| 45 | |
| 46 | /** |
| 47 | * Indicates if this iterator is based on a value. |