org.qi4j.index.sql.support.postgresql
Class PostgreSQLIndexExporter

java.lang.Object
  extended by org.qi4j.index.sql.support.postgresql.PostgreSQLIndexExporter
All Implemented Interfaces:
IndexExporter

public class PostgreSQLIndexExporter
extends java.lang.Object
implements IndexExporter


Constructor Summary
PostgreSQLIndexExporter()
           
 
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

PostgreSQLIndexExporter

public PostgreSQLIndexExporter()
Method Detail

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.

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.