edu.yale.cs.hadoopdb.benchmark
Class JoinTaskDB.JoinRecord

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

static class JoinTaskDB.JoinRecord
extends java.lang.Object
implements DBWritable


Field Summary
private  int countPageRank
           
private  java.lang.String sourceIP
           
private  int sumPageRank
           
private  double totalRevenue
           
 
Constructor Summary
JoinTaskDB.JoinRecord()
           
 
Method Summary
 int getCountPageRank()
           
 java.lang.String getSourceIP()
           
 int getSumPageRank()
           
 double getTotalRevenue()
           
 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

countPageRank

private int countPageRank

sourceIP

private java.lang.String sourceIP

sumPageRank

private int sumPageRank

totalRevenue

private double totalRevenue
Constructor Detail

JoinTaskDB.JoinRecord

JoinTaskDB.JoinRecord()
Method Detail

getCountPageRank

public int getCountPageRank()

getSourceIP

public java.lang.String getSourceIP()

getSumPageRank

public int getSumPageRank()

getTotalRevenue

public double getTotalRevenue()

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