public class DropDatabaseReplicationTask extends ReplicationTask
ReplicationTask.Factory
dbNameMapping, dstStagingDirProvider, event, messageFactory, srcStagingDirProvider, tableNameMapping
Constructor and Description |
---|
DropDatabaseReplicationTask(HCatNotificationEvent event) |
Modifier and Type | Method and Description |
---|---|
Iterable<? extends Command> |
getDstWhCommands()
Returns a Iterable
|
Iterable<? extends Command> |
getSrcWhCommands()
Returns a Iterable
|
boolean |
needsStagingDirs()
Returns true if the replication task in question needs to create staging
directories to complete its operation.
|
create, getEvent, isActionable, resetFactory, validateEventType, verifyActionable, withDbNameMapping, withDstStagingDirProvider, withSrcStagingDirProvider, withTableNameMapping
public DropDatabaseReplicationTask(HCatNotificationEvent event)
public boolean needsStagingDirs()
ReplicationTask
needsStagingDirs
in class ReplicationTask
public Iterable<? extends Command> getSrcWhCommands()
ReplicationTask
getSrcWhCommands
in class ReplicationTask
public Iterable<? extends Command> getDstWhCommands()
ReplicationTask
getDstWhCommands
in class ReplicationTask
Copyright © 2019 The Apache Software Foundation. All rights reserved.