org.qi4j.index.elasticsearch

## Class ElasticSearchIndexExporter.Mixin

- java.lang.Object
- - org.qi4j.index.elasticsearch.ElasticSearchIndexExporter.Mixin

- All Implemented Interfaces:
    ElasticSearchIndexExporter, IndexExporter
  Enclosing interface:
    ElasticSearchIndexExporter

      public static class ElasticSearchIndexExporter.Mixin
      extends Object
      implements ElasticSearchIndexExporter

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.qi4j.index.elasticsearch.ElasticSearchIndexExporter

      `ElasticSearchIndexExporter.Mixin`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ElasticSearchIndexExporter.Mixin()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `exportFormalToWriter(PrintWriter out)` Write the index to the provided print writer in an implementation specific, machine-readable format, preferably either XML or JSON.
    `void` | `exportReadableToStream(PrintStream out)` Write the index to the provided output stream in an implementation specific, human-readable format.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ElasticSearchIndexExporter.Mixin

          public ElasticSearchIndexExporter.Mixin()

  - ### Method Detail

    - #### exportReadableToStream

          public void exportReadableToStream(PrintStream out)
                                      throws IOException,
                                             UnsupportedOperationException

      Description copied from interface: `IndexExporter`
      Write the index to the provided output stream in an implementation specific, human-readable format.
      Specified by:
        `exportReadableToStream` in interface `IndexExporter`
      Parameters:
        `out` - The output stream that the index will be sent to.
      Throws:
        `IOException` - if an IOException occurs in the underlying PrintStream.
        `UnsupportedOperationException` - if the method is not supported by this implementation.

    - #### exportFormalToWriter

          public void exportFormalToWriter(PrintWriter out)
                                    throws IOException,
                                           UnsupportedOperationException

      Description copied from interface: `IndexExporter`
      Write the index to the provided print writer in an implementation specific, machine-readable format, preferably either XML or JSON.
      Specified by:
        `exportFormalToWriter` in interface `IndexExporter`
      Parameters:
        `out` - The print writer that the index will be sent to.
      Throws:
        `IOException` - if an IOException occurs in the underlying PrintWriter.
        `UnsupportedOperationException` - if the method is not supported by this implementation.