edu.yale.cs.hadoopdb.benchmark
Class UDFAggTaskDB.DocumentRecord
java.lang.Object
edu.yale.cs.hadoopdb.benchmark.UDFAggTaskDB.DocumentRecord
- All Implemented Interfaces:
- DBWritable
- Enclosing class:
- UDFAggTaskDB
static class UDFAggTaskDB.DocumentRecord
- extends java.lang.Object
- implements DBWritable
Field Summary |
private java.lang.String |
contents
|
private java.lang.String |
url
|
Method Summary |
java.lang.String |
getContents()
|
java.lang.String |
getUrl()
|
void |
readFields(java.sql.ResultSet resultSet)
Reads the fields of the object from the ResultSet . |
void |
setContents(java.lang.String contents)
|
void |
setUrl(java.lang.String url)
|
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 |
contents
private java.lang.String contents
url
private java.lang.String url
UDFAggTaskDB.DocumentRecord
UDFAggTaskDB.DocumentRecord()
getContents
public java.lang.String getContents()
getUrl
public java.lang.String getUrl()
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
setContents
public void setContents(java.lang.String contents)
setUrl
public void setUrl(java.lang.String url)
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