public final class HibernateRebuildSession extends Object implements Esi4JRebuildSession
| Constructor and Description |
|---|
HibernateRebuildSession(Class<?> type,
org.hibernate.SessionFactory sessionFactory,
HibernateModule module,
ScrollingSession scrollingSession) |
| 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 HibernateRebuildSession(Class<?> type, org.hibernate.SessionFactory sessionFactory, HibernateModule module, ScrollingSession scrollingSession)
public boolean isOrdered()
isOrdered in interface Esi4JRebuildSessionScrutineerRebuildProcessor)public Class<?> getType()
getType in interface Esi4JRebuildSessionpublic 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.