Class HibernateOrmSearchScrollableResultsAdapter<H>
- java.lang.Object
-
- org.hibernate.search.mapper.orm.search.query.spi.HibernateOrmSearchScrollableResultsAdapter<H>
-
- All Implemented Interfaces:
Closeable,AutoCloseable,ScrollableResultsImplementor,ScrollableResults
public class HibernateOrmSearchScrollableResultsAdapter<H> extends Object implements ScrollableResults, 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)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 interfaceScrollableResults
-
previous
public boolean previous()
- Specified by:
previousin interfaceScrollableResults
-
scroll
public boolean scroll(int positions)
- Specified by:
scrollin interfaceScrollableResults
-
last
public boolean last()
- Specified by:
lastin interfaceScrollableResults
-
first
public boolean first()
- Specified by:
firstin interfaceScrollableResults
-
beforeFirst
public void beforeFirst()
- Specified by:
beforeFirstin interfaceScrollableResults
-
afterLast
public void afterLast()
- Specified by:
afterLastin interfaceScrollableResults
-
isFirst
public boolean isFirst()
- Specified by:
isFirstin interfaceScrollableResults
-
isLast
public boolean isLast()
- Specified by:
isLastin interfaceScrollableResults
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceScrollableResults
-
getRowNumber
public int getRowNumber()
- Specified by:
getRowNumberin interfaceScrollableResults
-
setRowNumber
public boolean setRowNumber(int rowNumber)
- Specified by:
setRowNumberin interfaceScrollableResults
-
isClosed
public boolean isClosed()
- Specified by:
isClosedin interfaceScrollableResultsImplementor
-
get
public Object[] get()
- Specified by:
getin interfaceScrollableResults
-
get
public Object get(int i)
- Specified by:
getin interfaceScrollableResults
-
getType
public Type getType(int i)
- Specified by:
getTypein interfaceScrollableResults
-
getInteger
public Integer getInteger(int col)
- Specified by:
getIntegerin interfaceScrollableResults
-
getLong
public Long getLong(int col)
- Specified by:
getLongin interfaceScrollableResults
-
getFloat
public Float getFloat(int col)
- Specified by:
getFloatin interfaceScrollableResults
-
getBoolean
public Boolean getBoolean(int col)
- Specified by:
getBooleanin interfaceScrollableResults
-
getDouble
public Double getDouble(int col)
- Specified by:
getDoublein interfaceScrollableResults
-
getShort
public Short getShort(int col)
- Specified by:
getShortin interfaceScrollableResults
-
getByte
public Byte getByte(int col)
- Specified by:
getBytein interfaceScrollableResults
-
getCharacter
public Character getCharacter(int col)
- Specified by:
getCharacterin interfaceScrollableResults
-
getBinary
public byte[] getBinary(int col)
- Specified by:
getBinaryin interfaceScrollableResults
-
getText
public String getText(int col)
- Specified by:
getTextin interfaceScrollableResults
-
getBlob
public Blob getBlob(int col)
- Specified by:
getBlobin interfaceScrollableResults
-
getClob
public Clob getClob(int col)
- Specified by:
getClobin interfaceScrollableResults
-
getString
public String getString(int col)
- Specified by:
getStringin interfaceScrollableResults
-
getBigDecimal
public BigDecimal getBigDecimal(int col)
- Specified by:
getBigDecimalin interfaceScrollableResults
-
getBigInteger
public BigInteger getBigInteger(int col)
- Specified by:
getBigIntegerin interfaceScrollableResults
-
getDate
public Date getDate(int col)
- Specified by:
getDatein interfaceScrollableResults
-
getLocale
public Locale getLocale(int col)
- Specified by:
getLocalein interfaceScrollableResults
-
getCalendar
public Calendar getCalendar(int col)
- Specified by:
getCalendarin interfaceScrollableResults
-
getTimeZone
public TimeZone getTimeZone(int col)
- Specified by:
getTimeZonein interfaceScrollableResults
-
getNumberOfTypes
public int getNumberOfTypes()
- Specified by:
getNumberOfTypesin interfaceScrollableResultsImplementor
-
-