public class DataSink<T> extends Object
Constructor and Description |
---|
DataSink(DataSet<T> data,
OutputFormat<T> format,
TypeInformation<T> type) |
Modifier and Type | Method and Description |
---|---|
DataSet<T> |
getDataSet() |
OutputFormat<T> |
getFormat() |
int |
getParallelism()
Returns the degree of parallelism of this data sink.
|
Configuration |
getParameters() |
TypeInformation<T> |
getType() |
DataSink<T> |
name(String name) |
DataSink<T> |
setParallelism(int dop)
Sets the degree of parallelism for this data sink.
|
String |
toString() |
protected GenericDataSinkBase<T> |
translateToDataFlow(Operator<T> input) |
DataSink<T> |
withParameters(Configuration parameters)
Pass a configuration to the OutputFormat
|
public DataSink(DataSet<T> data, OutputFormat<T> format, TypeInformation<T> type)
public OutputFormat<T> getFormat()
public TypeInformation<T> getType()
public DataSink<T> withParameters(Configuration parameters)
parameters
- Configuration parameterspublic Configuration getParameters()
protected GenericDataSinkBase<T> translateToDataFlow(Operator<T> input)
public int getParallelism()
Copyright © 2015 The Apache Software Foundation. All rights reserved.