@PublicApi public interface KeyValueSystem
Modifier and Type | Interface and Description |
---|---|
static class |
KeyValueSystem.Factory
Factory for the
KeyValueSystem . |
Modifier and Type | Method and Description |
---|---|
KeyValueStoreWriter |
createStore(AlluxioURI uri)
Gets a writer to create a new key-value store.
|
void |
deleteStore(AlluxioURI uri)
Deletes a completed key-value store.
|
void |
mergeStore(AlluxioURI fromUri,
AlluxioURI toUri)
Merges one completed key-value store to another completed key-value store.
|
KeyValueStoreReader |
openStore(AlluxioURI uri)
Gets a reader to access a key-value store.
|
void |
renameStore(AlluxioURI oldUri,
AlluxioURI newUri)
Rename a completed key-value store.
|
KeyValueStoreReader openStore(AlluxioURI uri) throws IOException, AlluxioException
uri
- AlluxioURI
to the storeBaseKeyValueStoreReader
instanceIOException
AlluxioException
KeyValueStoreWriter createStore(AlluxioURI uri) throws IOException, AlluxioException
uri
- AlluxioURI
to the storeBaseKeyValueStoreWriter
instanceIOException
AlluxioException
void renameStore(AlluxioURI oldUri, AlluxioURI newUri) throws IOException, AlluxioException
oldUri
- the old AlluxioURI
to the storenewUri
- the new AlluxioURI
to the storeIOException
AlluxioException
void deleteStore(AlluxioURI uri) throws IOException, InvalidPathException, FileDoesNotExistException, AlluxioException
uri
- AlluxioURI
to the storeInvalidPathException
- if the uri exists but is not a key-value storeFileDoesNotExistException
- if the uri does not existIOException
AlluxioException
void mergeStore(AlluxioURI fromUri, AlluxioURI toUri) throws IOException, AlluxioException
fromUri
- the AlluxioURI
to the store to be mergedtoUri
- the AlluxioURI
to the store to be merged toIOException
AlluxioException
Copyright © 2023. All Rights Reserved.