org.apache.flink.api.common.functions.util.PrintSinkOutputWriter Java Examples

The following examples show how to use org.apache.flink.api.common.functions.util.PrintSinkOutputWriter. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PrintingOutputFormat.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
/**
 * Instantiates a printing output format that prints to standard out.
 */
public PrintingOutputFormat() {
	writer = new PrintSinkOutputWriter<>(false);
}
 
Example #2
Source File: PrintSinkFunction.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
/**
 * Instantiates a print sink function that prints to standard out.
 */
public PrintSinkFunction() {
	writer = new PrintSinkOutputWriter<>(false);
}
 
Example #3
Source File: PrintSinkFunction.java    From flink with Apache License 2.0 4 votes vote down vote up
/**
 * Instantiates a print sink function that prints to standard out.
 */
public PrintSinkFunction() {
	writer = new PrintSinkOutputWriter<>(false);
}
 
Example #4
Source File: PrintingOutputFormat.java    From flink with Apache License 2.0 4 votes vote down vote up
/**
 * Instantiates a printing output format that prints to standard out.
 */
public PrintingOutputFormat() {
	writer = new PrintSinkOutputWriter<>(false);
}
 
Example #5
Source File: PrintingOutputFormat.java    From flink with Apache License 2.0 4 votes vote down vote up
/**
 * Instantiates a printing output format that prints to standard out.
 */
public PrintingOutputFormat() {
	writer = new PrintSinkOutputWriter<>(false);
}
 
Example #6
Source File: PrintSinkFunction.java    From flink with Apache License 2.0 4 votes vote down vote up
/**
 * Instantiates a print sink function that prints to standard out.
 */
public PrintSinkFunction() {
	writer = new PrintSinkOutputWriter<>(false);
}
 
Example #7
Source File: PrintTableSinkFactory.java    From flink with Apache License 2.0 4 votes vote down vote up
private RowDataPrintFunction(
		DataStructureConverter converter, String printIdentifier, boolean stdErr) {
	this.converter = converter;
	this.writer = new PrintSinkOutputWriter<>(printIdentifier, stdErr);
}
 
Example #8
Source File: PrintSinkFunction.java    From flink with Apache License 2.0 2 votes vote down vote up
/**
 * Instantiates a print sink function that prints to standard out and gives a sink identifier.
 *
 * @param stdErr True, if the format should print to standard error instead of standard out.
 * @param sinkIdentifier Message that identify sink and is prefixed to the output of the value
 */
public PrintSinkFunction(final String sinkIdentifier, final boolean stdErr) {
	writer = new PrintSinkOutputWriter<>(sinkIdentifier, stdErr);
}
 
Example #9
Source File: PrintSinkFunction.java    From flink with Apache License 2.0 2 votes vote down vote up
/**
 * Instantiates a print sink function that prints to standard out.
 *
 * @param stdErr True, if the format should print to standard error instead of standard out.
 */
public PrintSinkFunction(final boolean stdErr) {
	writer = new PrintSinkOutputWriter<>(stdErr);
}
 
Example #10
Source File: PrintingOutputFormat.java    From flink with Apache License 2.0 2 votes vote down vote up
/**
 * Instantiates a printing output format that prints to standard out with a prefixed message.
 * @param sinkIdentifier Message that is prefixed to the output of the value.
 * @param stdErr True, if the format should print to standard error instead of standard out.
 */
public PrintingOutputFormat(final String sinkIdentifier, final boolean stdErr) {
	writer = new PrintSinkOutputWriter<>(sinkIdentifier, stdErr);
}
 
Example #11
Source File: PrintingOutputFormat.java    From flink with Apache License 2.0 2 votes vote down vote up
/**
 * Instantiates a printing output format that prints to standard out.
 *
 * @param stdErr True, if the format should print to standard error instead of standard out.
 */
public PrintingOutputFormat(final boolean stdErr) {
	writer = new PrintSinkOutputWriter<>(stdErr);
}
 
Example #12
Source File: PrintSinkFunction.java    From flink with Apache License 2.0 2 votes vote down vote up
/**
 * Instantiates a print sink function that prints to standard out and gives a sink identifier.
 *
 * @param stdErr True, if the format should print to standard error instead of standard out.
 * @param sinkIdentifier Message that identify sink and is prefixed to the output of the value
 */
public PrintSinkFunction(final String sinkIdentifier, final boolean stdErr) {
	writer = new PrintSinkOutputWriter<>(sinkIdentifier, stdErr);
}
 
Example #13
Source File: PrintSinkFunction.java    From flink with Apache License 2.0 2 votes vote down vote up
/**
 * Instantiates a print sink function that prints to standard out.
 *
 * @param stdErr True, if the format should print to standard error instead of standard out.
 */
public PrintSinkFunction(final boolean stdErr) {
	writer = new PrintSinkOutputWriter<>(stdErr);
}
 
Example #14
Source File: PrintingOutputFormat.java    From flink with Apache License 2.0 2 votes vote down vote up
/**
 * Instantiates a printing output format that prints to standard out with a prefixed message.
 * @param sinkIdentifier Message that is prefixed to the output of the value.
 * @param stdErr True, if the format should print to standard error instead of standard out.
 */
public PrintingOutputFormat(final String sinkIdentifier, final boolean stdErr) {
	writer = new PrintSinkOutputWriter<>(sinkIdentifier, stdErr);
}
 
Example #15
Source File: PrintingOutputFormat.java    From flink with Apache License 2.0 2 votes vote down vote up
/**
 * Instantiates a printing output format that prints to standard out.
 *
 * @param stdErr True, if the format should print to standard error instead of standard out.
 */
public PrintingOutputFormat(final boolean stdErr) {
	writer = new PrintSinkOutputWriter<>(stdErr);
}
 
Example #16
Source File: PrintSinkFunction.java    From Flink-CEPplus with Apache License 2.0 2 votes vote down vote up
/**
 * Instantiates a print sink function that prints to standard out and gives a sink identifier.
 *
 * @param stdErr True, if the format should print to standard error instead of standard out.
 * @param sinkIdentifier Message that identify sink and is prefixed to the output of the value
 */
public PrintSinkFunction(final String sinkIdentifier, final boolean stdErr) {
	writer = new PrintSinkOutputWriter<>(sinkIdentifier, stdErr);
}
 
Example #17
Source File: PrintSinkFunction.java    From Flink-CEPplus with Apache License 2.0 2 votes vote down vote up
/**
 * Instantiates a print sink function that prints to standard out.
 *
 * @param stdErr True, if the format should print to standard error instead of standard out.
 */
public PrintSinkFunction(final boolean stdErr) {
	writer = new PrintSinkOutputWriter<>(stdErr);
}
 
Example #18
Source File: PrintingOutputFormat.java    From Flink-CEPplus with Apache License 2.0 2 votes vote down vote up
/**
 * Instantiates a printing output format that prints to standard out with a prefixed message.
 * @param sinkIdentifier Message that is prefixed to the output of the value.
 * @param stdErr True, if the format should print to standard error instead of standard out.
 */
public PrintingOutputFormat(final String sinkIdentifier, final boolean stdErr) {
	writer = new PrintSinkOutputWriter<>(sinkIdentifier, stdErr);
}
 
Example #19
Source File: PrintingOutputFormat.java    From Flink-CEPplus with Apache License 2.0 2 votes vote down vote up
/**
 * Instantiates a printing output format that prints to standard out.
 *
 * @param stdErr True, if the format should print to standard error instead of standard out.
 */
public PrintingOutputFormat(final boolean stdErr) {
	writer = new PrintSinkOutputWriter<>(stdErr);
}