public interface BatchIterator<E> extends java.util.Iterator<E>, IDisposable
This Iterator interface loads objects for iteration in batches
to reduce memory footprint. This Iterator is ideal for handling
large data sets. This interface also extends the IDisposable interface,
which provides cleanup handle.
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BATCH_SIZE
Default batch size
|
| Modifier and Type | Method and Description |
|---|---|
void |
setBatchSize(int size)
Set batch size
|
closestatic final int DEFAULT_BATCH_SIZE
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2020. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.