public class NoopReplicationTask extends ReplicationTask
ReplicationTask.Factory
dbNameMapping, 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, withTableNameMapping
public NoopReplicationTask(HCatNotificationEvent event)
public boolean needsStagingDirs()
ReplicationTask
needsStagingDirs
in class ReplicationTask
public boolean isActionable()
ReplicationTask
isActionable
in class ReplicationTask
public Iterable<? extends Command> getSrcWhCommands()
getSrcWhCommands
in class ReplicationTask
public Iterable<? extends Command> getDstWhCommands()
getDstWhCommands
in class ReplicationTask
Copyright © 2017 The Apache Software Foundation. All rights reserved.