MCPcopy Create free account
hub / github.com/cruppstahl/upscaledb / bulkOperations

Method bulkOperations

java/java/de/crupp/upscaledb/Database.java:295–301  ·  view source on GitHub ↗

Performs bulk operations This method wraps the native ups_db_bulk_operations function. @param txn The transaction; can be null @param operations An array of Operations which are executed

(Transaction txn, Operation[] operations)

Source from the content-addressed store, hash-verified

293 * @param operations An array of Operations which are executed
294 */
295 public void bulkOperations(Transaction txn, Operation[] operations)
296 throws DatabaseException {
297 int status = ups_db_bulk_operations(m_handle,
298 txn != null ? txn.getHandle(): 0, operations, 0);
299 if (status != 0)
300 throw new DatabaseException(status);
301 }
302
303 /**
304 * Retrieve the current value for a given Database setting

Callers 2

testBulkOperationsMethod · 0.95

Calls 2

getHandleMethod · 0.45

Tested by 2

testBulkOperationsMethod · 0.76