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()
URIRepositoryAppender
size
in interface URIRepositoryAppender
public long append(URI uri) throws DatabaseStorageException
append
in interface URIRepositoryAppender
DatabaseStorageException
public void close()
close
in interface URIRepositoryAppender
Copyright © 2016 Egothor. All Rights Reserved.