edu.yale.cs.hadoopdb.benchmark
Class SelectionTaskDB.RankingsRecord

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

static class SelectionTaskDB.RankingsRecord
extends java.lang.Object
implements DBWritable


Field Summary
private  int pageRank
           
private  java.lang.String pageURL
           
 
Constructor Summary
SelectionTaskDB.RankingsRecord()
           
 
Method Summary
 int getPageRank()
           
 java.lang.String getPageURL()
           
 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

pageRank

private int pageRank

pageURL

private java.lang.String pageURL
Constructor Detail

SelectionTaskDB.RankingsRecord

SelectionTaskDB.RankingsRecord()
Method Detail

getPageRank

public int getPageRank()

getPageURL

public java.lang.String getPageURL()

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