class OutputFormatSinkFunction extends RichSinkFunction<IN> implements InputTypeConfigurable {

	@Override
	public void setRuntimeContext(RuntimeContext context) {
		super.setRuntimeContext(context);
		if (format instanceof RichOutputFormat) {
			((RichOutputFormat) format).setRuntimeContext(context);
		}
	}

	public  OutputFormatSinkFunction(OutputFormat<IN> format);

}