Class AbstractResultSet
java.lang.Object
cz.cvut.kbss.ontodriver.owlapi.query.AbstractResultSet
- All Implemented Interfaces:
- ResultSet,- AutoCloseable,- Iterable<ResultRow>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()Closes this result set releasing any sub-resources it holds.static ResultSetcreateResultSet(cz.cvut.kbss.owl2query.model.QueryResult<org.semanticweb.owlapi.model.OWLObject> result, Statement statement, String query) Retrieves theStatementthat produced thisResultSetobject.booleanisOpen()Retrieves status of this result set.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cz.cvut.kbss.ontodriver.ResultSetfindColumn, first, getBoolean, getBoolean, getByte, getByte, getColumnCount, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getObject, getObject, getObject, getObject, getRowIndex, getShort, getShort, getString, getString, hasNext, isBound, isBound, isFirst, iterator, last, next, previous, relative, setRowIndex, spliterator, stream
- 
Constructor Details- 
AbstractResultSet
 
- 
- 
Method Details- 
getStatementDescription copied from interface:ResultSetRetrieves theStatementthat produced thisResultSetobject. If this result set was generated some other way, this method will returnnull.- Specified by:
- getStatementin interface- ResultSet
- Returns:
- The Statementthat produced thisResultSetor null
 
- 
closepublic void close()Description copied from interface:ResultSetCloses this result set releasing any sub-resources it holds.After closing the result set is not usable any more and calling methods on it (except closeandisOpen) will result inOntoDriverException.Calling closeon already closed resource does nothing.Calling this method also results in immediate disconnection of all registered observers and cancellation of any running reasoning associated with this result set. - Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- ResultSet
 
- 
isOpenpublic boolean isOpen()Description copied from interface:ResultSetRetrieves status of this result set.
- 
createResultSet
 
-