|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.midao.jdbc.core.handlers.output.MapListLazyOutputHandler
public class MapListLazyOutputHandler
Converts query output into List of Maps
LazyOutputHandler}
Constructor Summary | |
---|---|
MapListLazyOutputHandler()
Creates new MapListLazyOutputHandler instance. |
|
MapListLazyOutputHandler(QueryOutputProcessor processor)
Creates new MapListLazyOutputHandler instance. |
Method Summary | |
---|---|
void |
close()
Function closes all resources used by this Lazy output handler instance. |
java.util.Map<java.lang.String,java.lang.Object> |
getNext()
Returns next element from lazy list |
MapListLazyOutputHandler |
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 MapListLazyOutputHandler()
public MapListLazyOutputHandler(QueryOutputProcessor processor)
processor
- Query output processorMethod Detail |
---|
public boolean hasNext()
hasNext
in interface LazyOutputHandler<MapListLazyOutputHandler,java.util.Map<java.lang.String,java.lang.Object>>
public java.util.Map<java.lang.String,java.lang.Object> getNext()
getNext
in interface LazyOutputHandler<MapListLazyOutputHandler,java.util.Map<java.lang.String,java.lang.Object>>
public void close()
close
in interface LazyOutputHandler<MapListLazyOutputHandler,java.util.Map<java.lang.String,java.lang.Object>>
public MapListLazyOutputHandler handle(java.util.List<QueryParameters> outputList) throws MidaoException
handle
in interface OutputHandler<MapListLazyOutputHandler>
outputList
- Query output
MidaoException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |