public abstract class AbstractTupleResultSet extends Object implements TupleResultSet
| Modifier and Type | Field and Description |
|---|---|
protected ResultSet |
rs |
protected it.unibz.inf.ontop.com.google.common.collect.ImmutableList<it.unibz.inf.ontop.model.term.Variable> |
signature |
| Modifier and Type | Method and Description |
|---|---|
protected OntopConnectionException |
buildConnectionException(Exception e) |
void |
close() |
int |
getColumnCount() |
int |
getFetchSize() |
it.unibz.inf.ontop.com.google.common.collect.ImmutableList<String> |
getSignature() |
boolean |
hasNext() |
boolean |
isConnectionAlive() |
protected boolean |
moveCursor() |
OntopBindingSet |
next() |
protected abstract OntopBindingSet |
readCurrentRow() |
protected final ResultSet rs
protected final it.unibz.inf.ontop.com.google.common.collect.ImmutableList<it.unibz.inf.ontop.model.term.Variable> signature
public int getColumnCount()
getColumnCount in interface TupleResultSetpublic int getFetchSize()
throws OntopConnectionException
getFetchSize in interface TupleResultSetOntopConnectionExceptionpublic it.unibz.inf.ontop.com.google.common.collect.ImmutableList<String> getSignature()
getSignature in interface TupleResultSetpublic OntopBindingSet next() throws OntopConnectionException, OntopResultConversionException
next in interface IterativeOBDAResultSet<OntopBindingSet,OntopResultConversionException>OntopConnectionExceptionOntopResultConversionExceptionpublic boolean hasNext()
throws OntopConnectionException
hasNext in interface IterativeOBDAResultSet<OntopBindingSet,OntopResultConversionException>OntopConnectionExceptionprotected boolean moveCursor()
throws SQLException,
OntopConnectionException
SQLExceptionOntopConnectionExceptionpublic void close()
throws OntopConnectionException
close in interface OBDAResultSetclose in interface AutoCloseableOntopConnectionExceptionpublic boolean isConnectionAlive()
throws OntopConnectionException
isConnectionAlive in interface TupleResultSetOntopConnectionExceptionprotected abstract OntopBindingSet readCurrentRow() throws OntopConnectionException, OntopResultConversionException
protected OntopConnectionException buildConnectionException(Exception e)
Copyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.