T
- Input record type@Deprecated @PublicEvolving public class PrintingOutputFormat<T> extends org.apache.flink.api.common.io.RichOutputFormat<T>
Four possible format options: sinkIdentifier
:taskId> output <- sinkIdentifier
provided, parallelism > 1 sinkIdentifier
> output <- sinkIdentifier
provided,
parallelism == 1 taskId> output <- no sinkIdentifier
provided, parallelism > 1 output <-
no sinkIdentifier
provided, parallelism == 1
Constructor and Description |
---|
PrintingOutputFormat()
Deprecated.
Instantiates a printing output format that prints to standard out.
|
PrintingOutputFormat(boolean stdErr)
Deprecated.
Instantiates a printing output format that prints to standard out.
|
PrintingOutputFormat(String sinkIdentifier,
boolean stdErr)
Deprecated.
Instantiates a printing output format that prints to standard out with a prefixed message.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
|
void |
configure(org.apache.flink.configuration.Configuration parameters)
Deprecated.
|
void |
open(int taskNumber,
int numTasks)
Deprecated.
|
String |
toString()
Deprecated.
|
void |
writeRecord(T record)
Deprecated.
|
getRuntimeContext, setRuntimeContext
public PrintingOutputFormat()
public PrintingOutputFormat(boolean stdErr)
stdErr
- True, if the format should print to standard error instead of standard out.public PrintingOutputFormat(String sinkIdentifier, boolean stdErr)
sinkIdentifier
- Message that is prefixed to the output of the value.stdErr
- True, if the format should print to standard error instead of standard out.public void configure(org.apache.flink.configuration.Configuration parameters)
public void open(int taskNumber, int numTasks)
public void writeRecord(T record)
public void close()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.