Package net.solarnetwork.central.support
Class SimpleBulkLoadingOptions
java.lang.Object
net.solarnetwork.central.support.SimpleBulkLoadingOptions
- All Implemented Interfaces:
BulkLoadingDao.LoadingOptions
Basic immutable implementation of
BulkLoadingDao.LoadingOptions.- Since:
- 1.43
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleBulkLoadingOptions(String name, Integer batchSize, BulkLoadingDao.LoadingTransactionMode transactionMode, Map<String, ?> parameters) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the batch size hint.getName()Get the name.Get the parameters.Get the transaction mode.
-
Constructor Details
-
SimpleBulkLoadingOptions
public SimpleBulkLoadingOptions(String name, Integer batchSize, BulkLoadingDao.LoadingTransactionMode transactionMode, Map<String, ?> parameters) Constructor.- Parameters:
name- the namebatchSize- the batch size hinttransactionMode- the transaction modeparameters- the parameters
-
-
Method Details
-
getName
Get the name.- Specified by:
getNamein interfaceBulkLoadingDao.LoadingOptions- Returns:
- the name
-
getBatchSize
Get the batch size hint.- Specified by:
getBatchSizein interfaceBulkLoadingDao.LoadingOptions- Returns:
- the batchSize
-
getTransactionMode
Get the transaction mode.- Specified by:
getTransactionModein interfaceBulkLoadingDao.LoadingOptions- Returns:
- the batchTransactionMode
-
getParameters
Get the parameters.- Specified by:
getParametersin interfaceBulkLoadingDao.LoadingOptions- Returns:
- the parameters
-