org.midao.jdbc.core.handlers.output
Class RowCountOutputHandler<T extends java.lang.Number>

java.lang.Object
  extended by org.midao.jdbc.core.handlers.output.AbstractOutputHandler<T>
      extended by org.midao.jdbc.core.handlers.output.RowCountOutputHandler<T>
All Implemented Interfaces:
OutputHandler<T>

public class RowCountOutputHandler<T extends java.lang.Number>
extends AbstractOutputHandler<T>

Class which allows to receive amount of records updated. Can be used in QueryRunnerService.update(org.midao.jdbc.core.handlers.input.InputHandler, OutputHandler)


Field Summary
 
Fields inherited from class org.midao.jdbc.core.handlers.output.AbstractOutputHandler
outputProcessor
 
Constructor Summary
RowCountOutputHandler()
          Creates new RowCountOutputHandler instance.
 
Method Summary
 T handle(java.util.List<QueryParameters> outputList)
          Returns amount of records updated (value is calculated by JDBC Driver)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowCountOutputHandler

public RowCountOutputHandler()
Creates new RowCountOutputHandler instance.

Method Detail

handle

public T handle(java.util.List<QueryParameters> outputList)
Returns amount of records updated (value is calculated by JDBC Driver)

Parameters:
outputList - Query output
Returns:


Copyright © 2013. All Rights Reserved.