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 RdbmsStatementIteration}.
14: *
15: * @author James Leigh
16: *
17: */
18: public class EmptyRdbmsStatementIteration extends
19: RdbmsStatementIteration {
20:
21: public EmptyRdbmsStatementIteration() throws SQLException {
22: super (null, null, null);
23: }
24:
25: @Override
26: public void close() throws SailException {
27: }
28:
29: @Override
30: public boolean hasNext() throws SailException {
31: return false;
32: }
33:
34: }
|