Package org.jumpmind.symmetric.service
Interface IDataLoaderService
- All Known Implementing Classes:
DataLoaderService
public interface IDataLoaderService
This service provides an API to load data into a SymmetricDS node's database from a transport
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidgetConflictSettingsNodeGroupLinks(NodeGroupLink link, boolean refreshCache) getCurrentIncomingError(long batchId, String nodeId) getIncomingError(long batchId, String nodeId, long rowNumber) getIncomingErrors(long batchId, String nodeId) voidinsertIncomingError(ISqlTransaction transaction, IncomingError incomingError) voidinsertIncomingError(IncomingError incomingError) loadDataBatch(String batchData) loadDataBatch(String batchData, IProcessInfoListener listener) voidloadDataFromConfig(Node remote, RemoteNodeStatus status, boolean force) loadDataFromOfflineTransport(Node remote, RemoteNodeStatus status, IIncomingTransport transport) loadDataFromPull(Node remote, String channelId) voidloadDataFromPull(Node sourceNode, RemoteNodeStatus status) voidloadDataFromPush(Node sourceNode, InputStream in, OutputStream out) voidloadDataFromPush(Node sourceNode, String channelId, InputStream in, OutputStream out) loadDataFromTransport(ProcessInfo processInfo, Node sourceNode, IIncomingTransport transport) booleanvoidrename(String oldId, DataLoaderService.ConflictNodeGroupLink settings) voidsave(DataLoaderService.ConflictNodeGroupLink settings) voidvoidupdateIncomingError(IncomingError incomingError)
-
Method Details
-
refreshFromDatabase
boolean refreshFromDatabase() -
loadDataFromPull
- Throws:
IOException
-
loadDataFromPull
- Throws:
IOException
-
loadDataFromPush
- Throws:
IOException
-
loadDataFromPush
void loadDataFromPush(Node sourceNode, String channelId, InputStream in, OutputStream out) throws IOException - Throws:
IOException
-
loadDataFromTransport
List<IncomingBatch> loadDataFromTransport(ProcessInfo processInfo, Node sourceNode, IIncomingTransport transport) throws IOException - Throws:
IOException
-
loadDataFromOfflineTransport
List<IncomingBatch> loadDataFromOfflineTransport(Node remote, RemoteNodeStatus status, IIncomingTransport transport) throws IOException - Throws:
IOException
-
loadDataFromConfig
- Throws:
IOException
-
getAvailableDataLoaderFactories
-
loadDataBatch
-
loadDataBatch
-
getConflictSettingsNodeGroupLinks
List<DataLoaderService.ConflictNodeGroupLink> getConflictSettingsNodeGroupLinks(NodeGroupLink link, boolean refreshCache) -
getConflictSettinsNodeGroupLinksFromDb
List<DataLoaderService.ConflictNodeGroupLink> getConflictSettinsNodeGroupLinksFromDb(NodeGroupLink link) -
getConflictSettingsNodeGroupLinks
List<DataLoaderService.ConflictNodeGroupLink> getConflictSettingsNodeGroupLinks() -
delete
-
deleteAllConflicts
void deleteAllConflicts() -
save
-
saveAsCopy
-
rename
-
clearCache
void clearCache() -
getIncomingErrors
-
getIncomingError
-
getCurrentIncomingError
-
insertIncomingError
-
insertIncomingError
-
updateIncomingError
-