public class CreateTableReplicationTask extends ReplicationTask
ReplicationTask.Factory
dbNameMapping, dstStagingDirProvider, event, messageFactory, srcStagingDirProvider, tableNameMapping
Constructor and Description |
---|
CreateTableReplicationTask(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 CreateTableReplicationTask(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 © 2017 The Apache Software Foundation. All rights reserved.