Interface BulkLoadingDao.LoadingOptions

All Known Implementing Classes:
SimpleBulkLoadingOptions
Enclosing interface:
BulkLoadingDao<T extends net.solarnetwork.dao.Entity<PK>,PK extends Serializable>

public static interface BulkLoadingDao.LoadingOptions
Bulk loading options.
  • 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

      Get the desired transaction mode.
      Returns:
      the transaction mode
    • getParameters

      Map<String,?> getParameters()
      Get optional additional parameters, implementation specific.
      Returns:
      parameters