Skip to content
Success

Changes

Summary

  1. [Feature #45] Made ResultSet Iterable. Added a common unchecked parent (commit: 0b1705f) (details)
  2. [Feature #45] Implemented Spliterator for ResultSet. Provide Stream from (commit: 99b760f) (details)
  3. [Feature #45] Use the updated ResultSet API in Query and TypedQuery (commit: 56fa4fe) (details)
  4. [Feature #45] First, naive implementation of getResultStream in Query (commit: 1d2a68d) (details)
  5. Working on support for setting query offset and limit using Query API. (commit: 5f035f2) (details)
  6. Translate setMaxResults and setFirstResult in the Query API into LIMIT (commit: 5c923c0) (details)
  7. [Feature #45] Started working on proper Stream support in the Query API. (commit: 6ac80ac) (details)
  8. [Feature #45] Implemented Stream support in the Query API. (commit: eb528a4) (details)
  9. [Feature #45] Testing the stream support in Query API. Ensure that (commit: 378decd) (details)
  10. [Refactoring] Minor refactoring in QueryImpl and TypedQueryImpl. (commit: 83db359) (details)
Commit 0b1705f6a8ef54c88bb2108651655e272ae72e91 by Martin Ledvinka
[Feature #45] Made ResultSet Iterable. Added a common unchecked parent
exception for OntoDriver API exceptions.
(commit: 0b1705f)
The file was modifiedontodriver-api/src/main/java/cz/cvut/kbss/ontodriver/exception/OntoDriverInitializationException.java (diff)
The file was addedontodriver-api/src/main/java/cz/cvut/kbss/ontodriver/iteration/DelegatingResultRow.java
The file was modifiedontodriver-api/src/main/java/cz/cvut/kbss/ontodriver/exception/IntegrityConstraintViolatedException.java (diff)
The file was modifiedontodriver-api/src/main/java/cz/cvut/kbss/ontodriver/exception/NotYetImplementedException.java (diff)
The file was addedontodriver-api/src/test/java/cz/cvut/kbss/ontodriver/iteration/ResultSetIteratorTest.java
The file was modifiedontodriver-api/src/main/java/cz/cvut/kbss/ontodriver/exception/IdentifierGenerationException.java (diff)
The file was modifiedontodriver-api/src/main/java/cz/cvut/kbss/ontodriver/ResultSet.java (diff)
The file was modifiedontodriver-api/src/main/java/cz/cvut/kbss/ontodriver/exception/UnassignableIdentifierException.java (diff)
The file was addedontodriver-api/src/main/java/cz/cvut/kbss/ontodriver/exception/OntoDriverRuntimeException.java
The file was addedontodriver-api/src/main/java/cz/cvut/kbss/ontodriver/iteration/ResultSetIterator.java
The file was addedontodriver-api/src/test/java/cz/cvut/kbss/ontodriver/ResultSetTest.java
The file was addedontodriver-api/src/test/java/cz/cvut/kbss/ontodriver/iteration/DelegatingResultRowTest.java
The file was addedontodriver-api/src/main/java/cz/cvut/kbss/ontodriver/iteration/ResultSetIterationException.java
The file was addedontodriver-api/src/main/java/cz/cvut/kbss/ontodriver/iteration/ResultRow.java
The file was modifiedontodriver-api/src/main/java/cz/cvut/kbss/ontodriver/exception/VariableNotBoundException.java (diff)
Commit 99b760f072131c455ea58b2bf3885bd16f46cf78 by Martin Ledvinka
[Feature #45] Implemented Spliterator for ResultSet. Provide Stream from
ResultSet.
(commit: 99b760f)
The file was modifiedontodriver-api/src/main/java/cz/cvut/kbss/ontodriver/ResultSet.java (diff)
The file was modifiedontodriver-api/src/test/java/cz/cvut/kbss/ontodriver/ResultSetTest.java (diff)
The file was modifiedontodriver-api/src/main/java/cz/cvut/kbss/ontodriver/iteration/ResultSetIterator.java (diff)
The file was addedontodriver-api/src/test/java/cz/cvut/kbss/ontodriver/iteration/ResultSetSpliteratorTest.java
The file was addedontodriver-api/src/main/java/cz/cvut/kbss/ontodriver/iteration/ResultSetSpliterator.java
Commit 56fa4fe5e057c141412fe74bea0717369bb28bec by Martin Ledvinka
[Feature #45] Use the updated ResultSet API in Query and TypedQuery
implementations.
(commit: 56fa4fe)
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/model/TypedQueryImplTest.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/model/AbstractQuery.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/model/TypedQueryImpl.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/query/mapper/VariableResultMapper.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/query/mapper/ObjectPropertyFieldResultMapper.java (diff)
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/query/mapper/VariableResultMapperTest.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/query/mapper/ResultRowMapper.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/query/mapper/EntityResultMapper.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/query/mapper/FieldResultMapper.java (diff)
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/query/mapper/ObjectPropertyFieldResultMapperTest.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/query/mapper/SparqlResultMapper.java (diff)
The file was modifiedjopa-integration-tests/src/test/java/cz/cvut/kbss/jopa/test/integration/CacheTest.java (diff)
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/query/mapper/ConstructorResultMapperTest.java (diff)
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/query/mapper/ResultRowMapperTest.java (diff)
The file was modifiedjopa-integration-tests/src/test/java/cz/cvut/kbss/jopa/test/integration/NamedQueryTest.java (diff)
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/model/QueryImplTest.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/query/mapper/ConstructorResultMapper.java (diff)
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/model/QueryTestBase.java (diff)
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/query/mapper/FieldResultMapperTest.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/model/ResultSetMappingQuery.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/model/QueryImpl.java (diff)
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/query/mapper/EntityResultMapperTest.java (diff)
Commit 1d2a68d1e87597a6cea5400ed2a5dac468cb5052 by Martin Ledvinka
[Feature #45] First, naive implementation of getResultStream in Query
API.
(commit: 1d2a68d)
The file was modifiedjopa-api/src/main/java/cz/cvut/kbss/jopa/model/query/TypedQuery.java (diff)
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/model/TypedQueryImplTest.java (diff)
The file was modifiedjopa-api/src/main/java/cz/cvut/kbss/jopa/model/query/Query.java (diff)
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/model/QueryImplTest.java (diff)
Commit 5f035f204084e2fd49de3d227a86502a6b7f03d0 by Martin Ledvinka
Working on support for setting query offset and limit using Query API.
(commit: 5f035f2)
The file was addedjopa-impl/src/test/java/cz/cvut/kbss/jopa/query/sparql/SparqlQueryHolderTest.java
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/query/QueryHolder.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/query/sparql/SparqlQueryHolder.java (diff)
Commit 5c923c017adbdf854df5346b765d1fdc1cae8d58 by Martin Ledvinka
Translate setMaxResults and setFirstResult in the Query API into LIMIT
and OFFSET clauses in the resulting SPARQL query. Use OWL2Query 0.5.1
with support of limit and offset in queries.
(commit: 5c923c0)
The file was modifiedontodriver-owlapi/src/test/java/cz/cvut/kbss/ontodriver/owlapi/query/QueryResultGenerator.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/model/TypedQueryImpl.java (diff)
The file was modifiedontodriver-owlapi/pom.xml (diff)
The file was modifiedpom.xml (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/model/QueryImpl.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/model/AbstractQuery.java (diff)
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/model/TypedQueryImplTest.java (diff)
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/model/QueryImplTest.java (diff)
Commit 6ac80ac21ae728a7e70ad1ee1e1eb0fdaf7b9d5b by Martin Ledvinka
[Feature #45] Started working on proper Stream support in the Query API.
(commit: 6ac80ac)
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/model/TypedQueryImplTest.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/model/AbstractQuery.java (diff)
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/model/QueryImplTest.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/model/QueryImpl.java (diff)
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/model/QueryTestBase.java (diff)
Commit eb528a494a35d091fab284ddfa46e5239de11338 by Martin Ledvinka
[Feature #45] Implemented Stream support in the Query API.
(commit: eb528a4)
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/model/TypedQueryImplTest.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/model/TypedQueryImpl.java (diff)
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/model/QueryImplTest.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/model/AbstractQuery.java (diff)
The file was addedjopa-impl/src/main/java/cz/cvut/kbss/jopa/model/QueryResultSpliterator.java
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/model/QueryTestBase.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/model/QueryImpl.java (diff)
Commit 378decd310ad6bc2824e2d47d077d554c3877c4b by Martin Ledvinka
[Feature #45] Testing the stream support in Query API. Ensure that
stream is closed by the spliterator at all circumstances.
(commit: 378decd)
The file was modifiedjopa-integration-tests/src/main/java/cz/cvut/kbss/jopa/test/query/runner/QueryRunner.java (diff)
The file was addedjopa-impl/src/test/java/cz/cvut/kbss/jopa/model/QueryResultSpliteratorTest.java
The file was modifiedjopa-integration-tests/pom.xml (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/model/QueryResultSpliterator.java (diff)
The file was modifiedjopa-integration-tests/src/main/java/cz/cvut/kbss/jopa/test/query/runner/TypedQueryRunner.java (diff)
Commit 83db359d735539281db9a694ea2028896abd0426 by Martin Ledvinka
[Refactoring] Minor refactoring in QueryImpl and TypedQueryImpl.
(commit: 83db359)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/model/TypedQueryImpl.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/model/AbstractQuery.java (diff)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/model/QueryImpl.java (diff)