butler.sql.record
Class RecordRowProcessor

java.lang.Object
  extended by butler.sql.record.RecordRowProcessor
All Implemented Interfaces:
RowProcessor

public class RecordRowProcessor
extends java.lang.Object
implements RowProcessor

Creates one Record instance from one row in a ResultSet

Author:
Fredrik Bertilsson

Constructor Summary
RecordRowProcessor(Table tab)
           
RecordRowProcessor(Table tab, java.util.List cols)
           
 
Method Summary
 boolean isAggregate()
           
 java.lang.Object process(java.sql.ResultSet rs)
           
 void setAggregate(boolean aggregate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordRowProcessor

public RecordRowProcessor(Table tab)
                   throws java.lang.Exception
Throws:
java.lang.Exception

RecordRowProcessor

public RecordRowProcessor(Table tab,
                          java.util.List cols)
                   throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

process

public java.lang.Object process(java.sql.ResultSet rs)
                         throws java.lang.Exception
Specified by:
process in interface RowProcessor
Throws:
java.lang.Exception

isAggregate

public boolean isAggregate()

setAggregate

public void setAggregate(boolean aggregate)