org.egothor.repository
Interface URIRepositoryAppender

All Known Subinterfaces:
URIRepository
All Known Implementing Classes:
BijectInt2String, BijectInt2StringAppender, FastBlindAppender, Table, WebStore

public interface URIRepositoryAppender

Author:
galambos

Method Summary
 long append(java.net.URI uri)
          Returns the new identifier related to the URI, -id iff the URI already exists under the id in the base.
 void close()
           
 long size()
          Returns number of URIs in the base, or -1 iff the value is unknown.
 

Method Detail

append

long append(java.net.URI uri)
            throws DatabaseStorageException
Returns the new identifier related to the URI, -id iff the URI already exists under the id in the base.

Throws:
DatabaseStorageException

close

void close()

size

long size()
Returns number of URIs in the base, or -1 iff the value is unknown.