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)
MetadataDeleterdelete in interface MetadataDeleterquery - 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()
MetadataDeleterflush in interface MetadataDeleterpublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2013–2022. All rights reserved.