|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.midao.jdbc.core.handlers.output.BeanListLazyOutputHandler<S>
public class BeanListLazyOutputHandler<S>
Converts query output into lazy list of beans
LazyOutputHandler}
Constructor Summary | |
---|---|
BeanListLazyOutputHandler(java.lang.Class<S> type)
Creates new BeanListLazyOutputHandler instance. |
|
BeanListLazyOutputHandler(java.lang.Class<S> type,
QueryOutputProcessor processor)
Creates new BeanListLazyOutputHandler instance. |
Method Summary | |
---|---|
void |
close()
Function closes all resources used by this Lazy output handler instance. |
S |
getNext()
Returns next element from lazy list |
BeanListLazyOutputHandler |
handle(java.util.List<QueryParameters> outputList)
Reads query output and converts it into |
boolean |
hasNext()
Checks if lazy list has next element |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanListLazyOutputHandler(java.lang.Class<S> type)
type
- Bean Class descriptionpublic BeanListLazyOutputHandler(java.lang.Class<S> type, QueryOutputProcessor processor)
type
- Bean Class descriptionprocessor
- Query output processorMethod Detail |
---|
public boolean hasNext()
hasNext
in interface LazyOutputHandler<BeanListLazyOutputHandler,S>
public S getNext()
getNext
in interface LazyOutputHandler<BeanListLazyOutputHandler,S>
public void close()
close
in interface LazyOutputHandler<BeanListLazyOutputHandler,S>
public BeanListLazyOutputHandler handle(java.util.List<QueryParameters> outputList) throws MidaoException
handle
in interface OutputHandler<BeanListLazyOutputHandler>
outputList
- Query output
MidaoException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |