Ejemplo n.º 1
0
 /** @see org.mulgara.store.tuples.AbstractTuples#getRowExpectedCount() */
 public long getRowExpectedCount() throws TuplesException {
   return source.isFinished() ? source.getStatementCount() : Short.MAX_VALUE;
 }
Ejemplo n.º 2
0
 /** @see org.mulgara.store.tuples.AbstractTuples#getRowUpperBound() */
 public long getRowUpperBound() throws TuplesException {
   // go for the max number of integers, not longs, since this is more reasonable
   return source.isFinished() ? source.getStatementCount() : Integer.MAX_VALUE;
 }