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

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

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


Field Summary
private  java.lang.String sourceIP
           
private  double sumAdRevenue
           
 
Constructor Summary
AggTaskLargeDB.AggUserVisitsRecord()
           
 
Method Summary
 java.lang.String getSourceIP()
           
 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

sourceIP

private java.lang.String sourceIP

sumAdRevenue

private double sumAdRevenue
Constructor Detail

AggTaskLargeDB.AggUserVisitsRecord

AggTaskLargeDB.AggUserVisitsRecord()
Method Detail

getSourceIP

public java.lang.String getSourceIP()

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