public interface DoraMetaStore
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all metadata from the dora meta store.
|
void |
close()
Closes the block store and releases all resources.
|
Optional<DoraMeta.FileStatus> |
getDoraMeta(String path)
queries dora metadata from the dora meta store.
|
void |
putDoraMeta(String path,
DoraMeta.FileStatus meta)
Adds dora metadata to the dora meta store.
|
void |
removeDoraMeta(String path)
Removes a dora meta, or does nothing if the dora meta does not exist.
|
Optional<Long> |
size() |
Optional<DoraMeta.FileStatus> getDoraMeta(String path)
path
- the full path of this filevoid putDoraMeta(String path, DoraMeta.FileStatus meta)
path
- the full path of this filemeta
- the block metadatavoid removeDoraMeta(String path)
path
- the full path of the filevoid clear()
void close()
Copyright © 2023. All Rights Reserved.