Package org.openbravo.data
Interface ScrollableFieldProvider
-
- All Known Implementing Classes:
AbstractScrollableFieldProviderFilter
,LimitRowsScrollableFieldProviderFilter
public interface ScrollableFieldProvider
Interface implemented by java code generated for xsql-files if any SqlMethod defined is using return="scrollable" Generated classes implementing this allow reading the result row by row without the need to load all the potentially big dataset all at once into memory.- Author:
- huehner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
FieldProvider
get()
boolean
hasData()
boolean
next()
-
-
-
Method Detail
-
hasData
boolean hasData()
-
next
boolean next() throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
-
get
FieldProvider get() throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
-
close
void close()
-
-