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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SolrInputDocumentWritable()`
    `SolrInputDocumentWritable(SolrInputDocument sid)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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-2016 Apache Software Foundation. All Rights Reserved.