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
IOException
public void close()
close
in interface BuildInfoStore
close
in interface Closeable
close
in interface AutoCloseable
public Optional<String> readMetadata(BuildTarget buildTarget, String key)
readMetadata
in interface BuildInfoStore
public com.google.common.collect.ImmutableMap<String,String> getAllMetadata(BuildTarget buildTarget)
getAllMetadata
in interface BuildInfoStore
public void updateMetadata(BuildTarget buildTarget, Map<String,String> metadata) throws IOException
updateMetadata
in interface BuildInfoStore
IOException
public void deleteMetadata(BuildTarget buildTarget) throws IOException
deleteMetadata
in interface BuildInfoStore
IOException