Skip to main content
Package com.gpudb

Class BulkInserter<T>

java.lang.Object
com.gpudb.BulkInserter<T>
Type Parameters:
T - the type of object being inserted
All Implemented Interfaces:

public class BulkInserter<T> extends Object implements AutoCloseable
Object that manages the insertion into GPUdb of large numbers of records in bulk, with automatic batch management and support for multi-head ingest. BulkInserter instances are thread safe and may be used from any number of threads simultaneously. Use the insert(Object) and insert(List) methods to queue records for insertion, and the flush() method to ensure that all queued records have been inserted.