/** * Creates a GenericDataSink with the provided {@link OutputFormat} implementation and the given name. * It uses the given operator as its input. * * @param f The {@link OutputFormat} implementation used to sink the data. * @param input The operator to use as the input. * @param name The given name for the sink, used in plans, logs and progress messages. */ public GenericDataSink(OutputFormat<Record> f, Operator<Record> input, String name) { this(f, name); setInput(input); }
/** * Creates a GenericDataSink with the provided {@link OutputFormat} implementation and the given name. * It uses the given operator as its input. * * @param f The {@link OutputFormat} implementation used to sink the data. * @param input The operator to use as the input. * @param name The given name for the sink, used in plans, logs and progress messages. */ public GenericDataSink(Class<? extends OutputFormat<Record>> f, Operator<Record> input, String name) { this(f, name); setInput(input); }