public class BijectInt2StringAppender extends Object implements URIRepositoryAppender
| Constructor and Description |
|---|
BijectInt2StringAppender(String name,
int uris_cache) |
| Modifier and Type | Method and Description |
|---|---|
long |
append(URI uri)
Returns the new identifier related to the URI, -id iff the URI already exists under the id in the base.
|
void |
close() |
void |
destroy() |
long |
size()
Returns number of URIs in the base, or -1 iff the value is unknown.
|
public BijectInt2StringAppender(String name, int uris_cache)
public void destroy()
public long size()
URIRepositoryAppendersize in interface URIRepositoryAppenderpublic long append(URI uri) throws DatabaseStorageException
append in interface URIRepositoryAppenderDatabaseStorageExceptionpublic void close()
close in interface URIRepositoryAppenderCopyright © 2016 Egothor. All Rights Reserved.