org.apache.solr.hadoop
Class SolrInputDocumentWritable
java.lang.Object
org.apache.solr.hadoop.SolrInputDocumentWritable
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
public class SolrInputDocumentWritable
- extends Object
- implements org.apache.hadoop.io.Writable
SolrInputDocumentWritable
public SolrInputDocumentWritable()
SolrInputDocumentWritable
public SolrInputDocumentWritable(SolrInputDocument sid)
getSolrInputDocument
public SolrInputDocument getSolrInputDocument()
toString
public String toString()
- Overrides:
toString in class Object
write
public void write(DataOutput out)
throws IOException
- Specified by:
write in interface org.apache.hadoop.io.Writable
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields in interface org.apache.hadoop.io.Writable
- Throws:
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.