public class SQLiteBuildInfoStore extends Object implements BuildInfoStore
| Constructor and Description |
|---|
SQLiteBuildInfoStore(ProjectFilesystem filesystem) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
deleteMetadata(BuildTarget buildTarget) |
com.google.common.collect.ImmutableMap<String,String> |
getAllMetadata(BuildTarget buildTarget) |
Optional<String> |
readMetadata(BuildTarget buildTarget,
String key) |
void |
updateMetadata(BuildTarget buildTarget,
Map<String,String> metadata) |
public SQLiteBuildInfoStore(ProjectFilesystem filesystem) throws IOException
IOExceptionpublic void close()
close in interface BuildInfoStoreclose in interface Closeableclose in interface AutoCloseablepublic Optional<String> readMetadata(BuildTarget buildTarget, String key)
readMetadata in interface BuildInfoStorepublic com.google.common.collect.ImmutableMap<String,String> getAllMetadata(BuildTarget buildTarget)
getAllMetadata in interface BuildInfoStorepublic void updateMetadata(BuildTarget buildTarget, Map<String,String> metadata) throws IOException
updateMetadata in interface BuildInfoStoreIOExceptionpublic void deleteMetadata(BuildTarget buildTarget) throws IOException
deleteMetadata in interface BuildInfoStoreIOException