public class IteratorRebuildSession extends Object implements Esi4JRebuildSession
Esi4JRebuildSession implementation using a simple Iterator| Constructor and Description |
|---|
IteratorRebuildSession(Class<?> type,
Iterator<?> iterator,
boolean ordered) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
release resources.
|
Object |
getMetadata() |
List<?> |
getNext(int batchSize)
Must only be called after all elements of previous batch haven been
processed.
|
Class<?> |
getType() |
boolean |
isOrdered() |
public Class<?> getType()
getType in interface Esi4JRebuildSessionpublic boolean isOrdered()
isOrdered in interface Esi4JRebuildSessionScrutineerRebuildProcessor)public List<?> getNext(int batchSize)
Esi4JRebuildSessiongetNext in interface Esi4JRebuildSessionpublic Object getMetadata()
getMetadata in interface Esi4JRebuildSessionnull. Metadata type must
be mapped.public void close()
Esi4JRebuildSessionclose in interface Esi4JRebuildSessionCopyright © 2016 Molindo GmbH. All Rights Reserved.