org.apache.solr.hadoop
Class SolrInputDocumentWritable

java.lang.Object
  extended by org.apache.solr.hadoop.SolrInputDocumentWritable
All Implemented Interfaces:
org.apache.hadoop.io.Writable

public class SolrInputDocumentWritable
extends Object
implements org.apache.hadoop.io.Writable


Constructor Summary
SolrInputDocumentWritable()
           
SolrInputDocumentWritable(SolrInputDocument sid)
           
 
Method Summary
 SolrInputDocument getSolrInputDocument()
           
 void readFields(DataInput in)
           
 String toString()
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SolrInputDocumentWritable

public SolrInputDocumentWritable()

SolrInputDocumentWritable

public SolrInputDocumentWritable(SolrInputDocument sid)
Method Detail

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.