public class NoopReplicationTask extends ReplicationTask
ReplicationTask.FactorydbNameMapping, dstStagingDirProvider, event, messageFactory, srcStagingDirProvider, tableNameMapping| Constructor and Description |
|---|
NoopReplicationTask(HCatNotificationEvent event) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<? extends Command> |
getDstWhCommands()
Returns a list of commands to send to a hive driver on the dest warehouse
|
Iterable<? extends Command> |
getSrcWhCommands()
Returns a list of commands to send to a hive driver on the source warehouse
|
boolean |
isActionable()
Returns true if this ReplicationTask is prepared with all info it needs, and is
ready to be used
|
boolean |
needsStagingDirs()
Returns true if the replication task in question needs to create staging
directories to complete its operation.
|
create, getEvent, resetFactory, validateEventType, verifyActionable, withDbNameMapping, withDstStagingDirProvider, withSrcStagingDirProvider, withTableNameMappingpublic NoopReplicationTask(HCatNotificationEvent event)
public boolean needsStagingDirs()
ReplicationTaskneedsStagingDirs in class ReplicationTaskpublic boolean isActionable()
ReplicationTaskisActionable in class ReplicationTaskpublic Iterable<? extends Command> getSrcWhCommands()
getSrcWhCommands in class ReplicationTaskpublic Iterable<? extends Command> getDstWhCommands()
getDstWhCommands in class ReplicationTaskCopyright © 2019 The Apache Software Foundation. All Rights Reserved.