public class FileSystemMetadataDeleter extends Object implements MetadataDeleter
Constructor and Description |
---|
FileSystemMetadataDeleter(FileSystemMetadataTable table,
MetadataType metadataType) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
delete(MetadataQuery query)
Delete metadata from the DB.
|
void |
flush()
Flush the deleter, committing all pending changes.
|
public FileSystemMetadataDeleter(FileSystemMetadataTable table, MetadataType metadataType)
public boolean delete(MetadataQuery query)
MetadataDeleter
delete
in interface MetadataDeleter
query
- The query that specifies the metadata to be deleted.true
if an object matching the query was found and successfully deleted,
false
otherwise.public void flush()
MetadataDeleter
flush
in interface MetadataDeleter
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2013–2022. All rights reserved.