ParallelFilteredProcessorRunner.Writer<java.lang.Object>
, java.io.Closeable
, java.lang.AutoCloseable
public class ToStringWriter extends java.lang.Object implements ParallelFilteredProcessorRunner.Writer<java.lang.Object>
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
|
static ToStringWriter |
getInstance() |
|
void |
write(java.lang.Object processedRecord,
long storePosition,
java.io.PrintStream out) |
public static ToStringWriter getInstance()
public void write(java.lang.Object processedRecord, long storePosition, java.io.PrintStream out) throws java.io.IOException
write
in interface ParallelFilteredProcessorRunner.Writer<java.lang.Object>
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
java.io.IOException