public class BijectInt2String extends BijectInt2StringAppender implements URIRepository
| Constructor and Description |
|---|
BijectInt2String(String name,
int uris_cache) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
destroy()
Destroy repository.
|
URI |
get(long id)
Retrieves the URI of a given id, null when the id is not assigned yet.
|
long |
resolve(URI uri)
Retrives long value (ID) assigned to the URI by some previous call of
URIRepositoryAppender.append(java.net.URI) method, -1 iff
the URI is unknown to this base. |
append, sizeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, sizepublic BijectInt2String(String name, int uris_cache)
name - uris_cache - public void destroy()
URIRepositorydestroy in interface URIRepositorydestroy in class BijectInt2StringAppenderpublic void close()
close in interface URIRepositoryAppenderclose in class BijectInt2StringAppenderpublic URI get(long id) throws DatabaseStorageException
get in interface URIRepositoryid - DatabaseStorageExceptionpublic long resolve(URI uri) throws DatabaseStorageException
URIRepositoryURIRepositoryAppender.append(java.net.URI) method, -1 iff
the URI is unknown to this base.resolve in interface URIRepositoryDatabaseStorageExceptionCopyright © 2016 Egothor. All Rights Reserved.