Class AbstractSqlResultHandler

java.lang.Object
com.onenetwork.platform.data.sql.AbstractSqlResultHandler
All Implemented Interfaces:
SqlResultHandler

public abstract class AbstractSqlResultHandler
extends java.lang.Object
implements SqlResultHandler
Convenient base class for implementing SqlResultHandler. All methods implemented in this class are no-ops.
  • Constructor Summary

    Constructors 
    Constructor Description
    AbstractSqlResultHandler()  
  • Method Summary

    Modifier and Type Method Description
    void beginSqlResult​(SqlResultMeta sqlResultMeta)
    This event is fired just after the metadata has been fetched for the query result, but before any rows are processed
    void endSqlResult()
    This event is fired after all SqlRows have been processed to to allow implementers to perform cleanup operations
    void processSqlRow​(SqlRow sqlRow)
    This event is fired as each SqlRow is fetched; interested parties can listen to this method to process each row

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait