/** @see org.mulgara.store.tuples.AbstractTuples#getRowExpectedCount() */ public long getRowExpectedCount() throws TuplesException { return source.isFinished() ? source.getStatementCount() : Short.MAX_VALUE; }
/** @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; }