Package net.solarnetwork.dao
Interface BulkLoadingDao.LoadingOptions
- All Known Implementing Classes:
BasicBulkLoadingOptions
- Enclosing interface:
- BulkLoadingDao<T>
public static interface BulkLoadingDao.LoadingOptions
Bulk loading options.
-
Method Summary
Modifier and TypeMethodDescriptionGet a batch size.getName()Get a name for this batch operation.Get optional additional parameters, implementation specific.Get the desired transaction mode.
-
Method Details
-
getName
String getName()Get a name for this batch operation.- Returns:
- a name
-
getBatchSize
Integer getBatchSize()Get a batch size.If specified, perform loading in batches of this size.
- Returns:
- a batch size, or null for no hint
-
getTransactionMode
BulkLoadingDao.LoadingTransactionMode getTransactionMode()Get the desired transaction mode.- Returns:
- the transaction mode
-
getParameters
Get optional additional parameters, implementation specific.- Returns:
- parameters
-