We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@Override public long size(Resource... contexts) throws RepositoryException { try (RepositoryResult<Statement> stmts = getStatements(null, null, null, true, contexts)) { long i = 0; while (stmts.hasNext()) { stmts.next(); i++; } return i; } }
Should be using a simple SPARQL query with a count.
Run void-generator see all triples from an endpoint being downloaded.
4.3.8
Yes
No response
The text was updated successfully, but these errors were encountered:
GH-4920 SPARQLConnection.size() method should not fetch every stateme…
6bd8fff
…nt in the repository. Just send a count query instead. Signed-off-by: Jerven Bolleman <jerven.bolleman@sib.swiss>
GH-4920 When sending the remote size query make sure we don't send null,
9650d55
or RDF4J nill
JervenBolleman
Successfully merging a pull request may close this issue.
Current Behavior
Expected Behavior
Should be using a simple SPARQL query with a count.
Steps To Reproduce
Run void-generator see all triples from an endpoint being downloaded.
Version
4.3.8
Are you interested in contributing a solution yourself?
Yes
Anything else?
No response
The text was updated successfully, but these errors were encountered: