Class HibernateOrmSearchScrollableResultsAdapter<H>
java.lang.Object
org.hibernate.search.mapper.orm.search.query.spi.HibernateOrmSearchScrollableResultsAdapter<H>
- All Implemented Interfaces:
Closeable,AutoCloseable,org.hibernate.query.spi.ScrollableResultsImplementor,org.hibernate.ScrollableResults
public class HibernateOrmSearchScrollableResultsAdapter<H>
extends Object
implements org.hibernate.ScrollableResults, org.hibernate.query.spi.ScrollableResultsImplementor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Constructor Summary
ConstructorsConstructorDescriptionHibernateOrmSearchScrollableResultsAdapter(SearchScroll<H> scroll, int maxResults, HibernateOrmSearchScrollableResultsAdapter.ScrollHitExtractor<? super H> hitExtractor) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidclose()booleanfirst()Object[]get()get(int i) getBigDecimal(int col) getBigInteger(int col) byte[]getBinary(int col) getBlob(int col) getBoolean(int col) getByte(int col) getCalendar(int col) getCharacter(int col) getClob(int col) getDate(int col) getDouble(int col) getFloat(int col) getInteger(int col) getLocale(int col) getLong(int col) intintgetShort(int col) getString(int col) getText(int col) getTimeZone(int col) org.hibernate.type.TypegetType(int i) booleanisClosed()booleanisFirst()booleanisLast()booleanlast()booleannext()booleanprevious()booleanscroll(int positions) booleansetRowNumber(int rowNumber)
-
Constructor Details
-
HibernateOrmSearchScrollableResultsAdapter
public HibernateOrmSearchScrollableResultsAdapter(SearchScroll<H> scroll, int maxResults, HibernateOrmSearchScrollableResultsAdapter.ScrollHitExtractor<? super H> hitExtractor)
-
-
Method Details
-
next
public boolean next()- Specified by:
nextin interfaceorg.hibernate.ScrollableResults
-
previous
public boolean previous()- Specified by:
previousin interfaceorg.hibernate.ScrollableResults
-
scroll
public boolean scroll(int positions) - Specified by:
scrollin interfaceorg.hibernate.ScrollableResults
-
last
public boolean last()- Specified by:
lastin interfaceorg.hibernate.ScrollableResults
-
first
public boolean first()- Specified by:
firstin interfaceorg.hibernate.ScrollableResults
-
beforeFirst
public void beforeFirst()- Specified by:
beforeFirstin interfaceorg.hibernate.ScrollableResults
-
afterLast
public void afterLast()- Specified by:
afterLastin interfaceorg.hibernate.ScrollableResults
-
isFirst
public boolean isFirst()- Specified by:
isFirstin interfaceorg.hibernate.ScrollableResults
-
isLast
public boolean isLast()- Specified by:
isLastin interfaceorg.hibernate.ScrollableResults
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.hibernate.ScrollableResults
-
getRowNumber
public int getRowNumber()- Specified by:
getRowNumberin interfaceorg.hibernate.ScrollableResults
-
setRowNumber
public boolean setRowNumber(int rowNumber) - Specified by:
setRowNumberin interfaceorg.hibernate.ScrollableResults
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceorg.hibernate.query.spi.ScrollableResultsImplementor
-
get
- Specified by:
getin interfaceorg.hibernate.ScrollableResults
-
get
- Specified by:
getin interfaceorg.hibernate.ScrollableResults
-
getType
public org.hibernate.type.Type getType(int i) - Specified by:
getTypein interfaceorg.hibernate.ScrollableResults
-
getInteger
- Specified by:
getIntegerin interfaceorg.hibernate.ScrollableResults
-
getLong
- Specified by:
getLongin interfaceorg.hibernate.ScrollableResults
-
getFloat
- Specified by:
getFloatin interfaceorg.hibernate.ScrollableResults
-
getBoolean
- Specified by:
getBooleanin interfaceorg.hibernate.ScrollableResults
-
getDouble
- Specified by:
getDoublein interfaceorg.hibernate.ScrollableResults
-
getShort
- Specified by:
getShortin interfaceorg.hibernate.ScrollableResults
-
getByte
- Specified by:
getBytein interfaceorg.hibernate.ScrollableResults
-
getCharacter
- Specified by:
getCharacterin interfaceorg.hibernate.ScrollableResults
-
getBinary
public byte[] getBinary(int col) - Specified by:
getBinaryin interfaceorg.hibernate.ScrollableResults
-
getText
- Specified by:
getTextin interfaceorg.hibernate.ScrollableResults
-
getBlob
- Specified by:
getBlobin interfaceorg.hibernate.ScrollableResults
-
getClob
- Specified by:
getClobin interfaceorg.hibernate.ScrollableResults
-
getString
- Specified by:
getStringin interfaceorg.hibernate.ScrollableResults
-
getBigDecimal
- Specified by:
getBigDecimalin interfaceorg.hibernate.ScrollableResults
-
getBigInteger
- Specified by:
getBigIntegerin interfaceorg.hibernate.ScrollableResults
-
getDate
- Specified by:
getDatein interfaceorg.hibernate.ScrollableResults
-
getLocale
- Specified by:
getLocalein interfaceorg.hibernate.ScrollableResults
-
getCalendar
- Specified by:
getCalendarin interfaceorg.hibernate.ScrollableResults
-
getTimeZone
- Specified by:
getTimeZonein interfaceorg.hibernate.ScrollableResults
-
getNumberOfTypes
public int getNumberOfTypes()- Specified by:
getNumberOfTypesin interfaceorg.hibernate.query.spi.ScrollableResultsImplementor
-