ReplicationTask function ( HCatClient arg0 , HCatNotificationEvent arg1 ) { if ( arg1 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } return getFactoryInstance ( arg0 ) . create ( arg0 , arg1 ) ; }
factory method to return appropriate subtype of replicationtask for given event concode_field_sep String factoryClassName concode_elem_sep StagingDirectoryProvider srcStagingDirProvider concode_elem_sep Function<String,String> dbNameMapping concode_elem_sep StagingDirectoryProvider dstStagingDirProvider concode_elem_sep Factory factoryInstance concode_elem_sep MessageFactory messageFactory concode_elem_sep Function<String,String> tableNameMapping concode_elem_sep HCatNotificationEvent event concode_field_sep Factory getFactoryInstance concode_elem_sep HCatNotificationEvent getEvent concode_elem_sep void resetFactory concode_elem_sep ReplicationTask withTableNameMapping concode_elem_sep Iterable<? extends Command> getDstWhCommands concode_elem_sep boolean isActionable concode_elem_sep void verifyActionable concode_elem_sep ReplicationTask withDstStagingDirProvider concode_elem_sep void createFactoryInstance concode_elem_sep ReplicationTask withSrcStagingDirProvider concode_elem_sep boolean needsStagingDirs concode_elem_sep void validateEventType concode_elem_sep Iterable<? extends Command> getSrcWhCommands concode_elem_sep ReplicationTask withDbNameMapping