|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qi4j.index.sql.support.postgresql.PostgreSQLIndexExporter
public class PostgreSQLIndexExporter
Constructor Summary | |
---|---|
PostgreSQLIndexExporter()
|
Method Summary | |
---|---|
void |
activate()
This is invoked on the service when the instance is being activated |
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. |
void |
passivate()
This is invoked on the service when the instance is being passivated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PostgreSQLIndexExporter()
Method Detail |
---|
public void activate() throws Exception
Activatable
activate
in interface Activatable
Exception
- if service could not be activatedpublic void passivate() throws Exception
Activatable
passivate
in interface Activatable
Exception
- if the service could not be passivatedpublic void exportFormalToWriter(PrintWriter out) throws IOException, UnsupportedOperationException
IndexExporter
exportFormalToWriter
in interface IndexExporter
out
- The print writer that the index will be sent to.
IOException
- if an IOException occurs in the underlying PrintWriter.
UnsupportedOperationException
- if the method is not supported by this implementation.public void exportReadableToStream(PrintStream out) throws IOException, UnsupportedOperationException
IndexExporter
exportReadableToStream
in interface IndexExporter
out
- The output stream that the index will be sent to.
IOException
- if an IOException occurs in the underlying PrintStream.
UnsupportedOperationException
- if the method is not supported by this implementation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |