MutableMetaStore¶
MutableMetaStore is an extension of the MetaStore abstraction for mutable metastores.
Contract¶
addSourceReferences¶
void addSourceReferences(
SourceName sourceName,
Set<SourceName> sourceReferences)
copy¶
MutableMetaStore copy()
Makes a copy of this MutableMetaStore
Used when:
EngineContextis requested to createSandbox
deleteSource¶
void deleteSource(
SourceName sourceName) // (1)!
void deleteSource(
SourceName sourceName,
boolean restoreInProgress)
- Turns
restoreInProgressoff (false)
Registering DataSource¶
void putSource(
DataSource dataSource,
boolean allowReplace)
See MetaStoreImpl
Used when:
DdlCommandExec.Executoris requested to execute CreateStreamCommand, CreateTable, AlterSourceCommandEngineExecutoris requested to sourceTablePlan