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 Classes Modifier and Type Class Description static interfaceHibernateOrmSearchScrollableResultsAdapter.ScrollHitExtractor<H>
-
Constructor Summary
Constructors Constructor Description HibernateOrmSearchScrollableResultsAdapter(SearchScroll<H> scroll, int maxResults, HibernateOrmSearchScrollableResultsAdapter.ScrollHitExtractor<? super H> hitExtractor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterLast()voidbeforeFirst()voidclose()booleanfirst()Object[]get()Objectget(int i)BigDecimalgetBigDecimal(int col)BigIntegergetBigInteger(int col)byte[]getBinary(int col)BlobgetBlob(int col)BooleangetBoolean(int col)BytegetByte(int col)CalendargetCalendar(int col)CharactergetCharacter(int col)ClobgetClob(int col)DategetDate(int col)DoublegetDouble(int col)FloatgetFloat(int col)IntegergetInteger(int col)LocalegetLocale(int col)LonggetLong(int col)intgetNumberOfTypes()intgetRowNumber()ShortgetShort(int col)StringgetString(int col)StringgetText(int col)TimeZonegetTimeZone(int col)org.hibernate.type.TypegetType(int i)booleanisClosed()booleanisFirst()booleanisLast()booleanlast()booleannext()booleanprevious()booleanscroll(int positions)booleansetRowNumber(int rowNumber)
-
-
-
Constructor Detail
-
HibernateOrmSearchScrollableResultsAdapter
public HibernateOrmSearchScrollableResultsAdapter(SearchScroll<H> scroll, int maxResults, HibernateOrmSearchScrollableResultsAdapter.ScrollHitExtractor<? super H> hitExtractor)
-
-
Method Detail
-
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
public Object[] get()
- Specified by:
getin interfaceorg.hibernate.ScrollableResults
-
get
public Object get(int i)
- Specified by:
getin interfaceorg.hibernate.ScrollableResults
-
getType
public org.hibernate.type.Type getType(int i)
- Specified by:
getTypein interfaceorg.hibernate.ScrollableResults
-
getInteger
public Integer getInteger(int col)
- Specified by:
getIntegerin interfaceorg.hibernate.ScrollableResults
-
getLong
public Long getLong(int col)
- Specified by:
getLongin interfaceorg.hibernate.ScrollableResults
-
getFloat
public Float getFloat(int col)
- Specified by:
getFloatin interfaceorg.hibernate.ScrollableResults
-
getBoolean
public Boolean getBoolean(int col)
- Specified by:
getBooleanin interfaceorg.hibernate.ScrollableResults
-
getDouble
public Double getDouble(int col)
- Specified by:
getDoublein interfaceorg.hibernate.ScrollableResults
-
getShort
public Short getShort(int col)
- Specified by:
getShortin interfaceorg.hibernate.ScrollableResults
-
getByte
public Byte getByte(int col)
- Specified by:
getBytein interfaceorg.hibernate.ScrollableResults
-
getCharacter
public Character getCharacter(int col)
- Specified by:
getCharacterin interfaceorg.hibernate.ScrollableResults
-
getBinary
public byte[] getBinary(int col)
- Specified by:
getBinaryin interfaceorg.hibernate.ScrollableResults
-
getText
public String getText(int col)
- Specified by:
getTextin interfaceorg.hibernate.ScrollableResults
-
getBlob
public Blob getBlob(int col)
- Specified by:
getBlobin interfaceorg.hibernate.ScrollableResults
-
getClob
public Clob getClob(int col)
- Specified by:
getClobin interfaceorg.hibernate.ScrollableResults
-
getString
public String getString(int col)
- Specified by:
getStringin interfaceorg.hibernate.ScrollableResults
-
getBigDecimal
public BigDecimal getBigDecimal(int col)
- Specified by:
getBigDecimalin interfaceorg.hibernate.ScrollableResults
-
getBigInteger
public BigInteger getBigInteger(int col)
- Specified by:
getBigIntegerin interfaceorg.hibernate.ScrollableResults
-
getDate
public Date getDate(int col)
- Specified by:
getDatein interfaceorg.hibernate.ScrollableResults
-
getLocale
public Locale getLocale(int col)
- Specified by:
getLocalein interfaceorg.hibernate.ScrollableResults
-
getCalendar
public Calendar getCalendar(int col)
- Specified by:
getCalendarin interfaceorg.hibernate.ScrollableResults
-
getTimeZone
public TimeZone getTimeZone(int col)
- Specified by:
getTimeZonein interfaceorg.hibernate.ScrollableResults
-
getNumberOfTypes
public int getNumberOfTypes()
- Specified by:
getNumberOfTypesin interfaceorg.hibernate.query.spi.ScrollableResultsImplementor
-
-