explicit bucket aware declaration

This commit is contained in:
chrislu
2022-07-21 18:23:53 -07:00
parent 6147b61b0a
commit c93f7ffa44
4 changed files with 8 additions and 0 deletions

View File

@@ -320,6 +320,8 @@ func (store *YdbStore) Shutdown() {
_ = store.DB.Close(context.Background())
}
var _ filer.BucketAware = (*YdbStore)(nil)
func (store *YdbStore) CanDropWholeBucket() bool {
return store.SupportBucketTable
}