History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: SES-224
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Arjohn Kampman
Reporter: Jeen Broekstra
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Sesame

size() method for counting number of (explicit) triples in a repository.

Created: 25/Jan/06 10:00 AM   Updated: 20/Mar/08 09:21 PM
Component/s: Repository API
Affects Version/s: 2.0-alpha-2, 2.0-alpha-3
Fix Version/s: 2.0-beta1

Sub-Tasks  All   Open   
 Sub-Task Progress: 
1. Implementing the size() by iterating breaks the Sail stack in HTTPSail - method needs to be added to Sail interface Sub-task Sub-task Closed Closed    

 Description   
Useful additions to the Repository API would be methods to request the number of (explicit) triples in the store:

 * int Repository.size() - return the number of triples in a repository
 * int Repository.size(Resource context) - return the number of triples in this context in this repository

Additionally an isEmpty() method might be added as well, while we're at it...

 All   Comments   Change History      Sort Order:
Comment by Arjohn Kampman [13/Nov/06 11:54 AM]
Issue was closed without being resolved.