org.qi4j.index.elasticsearch
Class ElasticSearchIndexExporter.Mixin

java.lang.Object
  extended by org.qi4j.index.elasticsearch.ElasticSearchIndexExporter.Mixin
All Implemented Interfaces:
ElasticSearchIndexExporter, IndexExporter
Enclosing interface:
ElasticSearchIndexExporter

public static class ElasticSearchIndexExporter.Mixin
extends java.lang.Object
implements ElasticSearchIndexExporter


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.qi4j.index.elasticsearch.ElasticSearchIndexExporter
ElasticSearchIndexExporter.Mixin
 
Constructor Summary
ElasticSearchIndexExporter.Mixin()
           
 
Method Summary
 void exportFormalToWriter(java.io.PrintWriter out)
          Write the index to the provided print writer in an implementation specific, machine-readable format, preferably either XML or JSON.
 void exportReadableToStream(java.io.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(java.io.PrintStream out)
                            throws java.io.IOException,
                                   java.lang.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:
java.io.IOException - if an IOException occurs in the underlying PrintStream.
java.lang.UnsupportedOperationException - if the method is not supported by this implementation.

exportFormalToWriter

public void exportFormalToWriter(java.io.PrintWriter out)
                          throws java.io.IOException,
                                 java.lang.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:
java.io.IOException - if an IOException occurs in the underlying PrintWriter.
java.lang.UnsupportedOperationException - if the method is not supported by this implementation.