01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 2008.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.sail.rdbms.iteration;
07:
08: import java.sql.SQLException;
09:
10: import org.openrdf.sail.SailException;
11:
12: /**
13: * Empty iteration that extends {@link RdbmsResourceIteration}.
14: *
15: * @author James Leigh
16: *
17: */
18: public class EmptyRdbmsResourceIteration extends RdbmsResourceIteration {
19:
20: public EmptyRdbmsResourceIteration() throws SQLException {
21: super (null, null);
22: }
23:
24: @Override
25: public void close() throws SailException {
26: }
27:
28: @Override
29: public boolean hasNext() throws SailException {
30: return false;
31: }
32:
33: }
|