Class PostgreBulkHelper

java.lang.Object
io.clonecloudstore.common.database.postgre.PostgreBulkHelper

public class PostgreBulkHelper extends Object
Postgre implementation of the BulkHelper
  • Constructor Details

    • PostgreBulkHelper

      public PostgreBulkHelper()
      Constructor
  • Method Details

    • changeBulkSize

      protected void changeBulkSize(int bulkSize)
    • getBulkSize

      protected int getBulkSize()
    • addToBulk

      public boolean addToBulk()
      Returns:
      True if bulk operation reaches the limit
    • getMaxBatch

      protected int getMaxBatch()
      Returns:
      the current max batch value
    • resetBulk

      public void resetBulk()