edu.yale.cs.hadoopdb.benchmark
Class GrepTaskDB.DocumentsRecord

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

static class GrepTaskDB.DocumentsRecord
extends java.lang.Object
implements DBWritable


Field Summary
private  java.lang.String field
           
private  java.lang.String key
           
 
Constructor Summary
GrepTaskDB.DocumentsRecord()
           
 
Method Summary
 java.lang.String getField()
           
 java.lang.String getKey()
           
 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

field

private java.lang.String field

key

private java.lang.String key
Constructor Detail

GrepTaskDB.DocumentsRecord

GrepTaskDB.DocumentsRecord()
Method Detail

getField

public java.lang.String getField()

getKey

public java.lang.String getKey()

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