Class PostgreBulkHelper
java.lang.Object
io.clonecloudstore.common.database.postgre.PostgreBulkHelper
Postgre implementation of the BulkHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected void
changeBulkSize
(int bulkSize) protected int
protected int
void
-
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()
-