edu.yale.cs.hadoopdb.benchmark
Class AggTaskSmallDB.AggUserVisitsRecord

java.lang.Object
  extended by edu.yale.cs.hadoopdb.benchmark.AggTaskSmallDB.AggUserVisitsRecord
All Implemented Interfaces:
DBWritable
Enclosing class:
AggTaskSmallDB

static class AggTaskSmallDB.AggUserVisitsRecord
extends java.lang.Object
implements DBWritable


Field Summary
private  java.lang.String subSourceIP
           
private  double sumAdRevenue
           
 
Constructor Summary
AggTaskSmallDB.AggUserVisitsRecord()
           
 
Method Summary
 java.lang.String getSubSourceIP()
           
 double getSumAdRevenue()
           
 void readFields(java.sql.ResultSet resultSet)
          Reads the fields of the object from the ResultSet.
 void write(java.sql.PreparedStatement statement)
          Sets the fields of the object in the PreparedStatement (not used currently).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subSourceIP

private java.lang.String subSourceIP

sumAdRevenue

private double sumAdRevenue
Constructor Detail

AggTaskSmallDB.AggUserVisitsRecord

AggTaskSmallDB.AggUserVisitsRecord()
Method Detail

getSubSourceIP

public java.lang.String getSubSourceIP()

getSumAdRevenue

public double getSumAdRevenue()

readFields

public void readFields(java.sql.ResultSet resultSet)
                throws java.sql.SQLException
Description copied from interface: DBWritable
Reads the fields of the object from the ResultSet.

Specified by:
readFields in interface DBWritable
Parameters:
resultSet - the ResultSet to get the fields from.
Throws:
java.sql.SQLException

write

public void write(java.sql.PreparedStatement statement)
           throws java.sql.SQLException
Description copied from interface: DBWritable
Sets the fields of the object in the PreparedStatement (not used currently).

Specified by:
write in interface DBWritable
Parameters:
statement - the statement that the fields are put into.
Throws:
java.sql.SQLException