OUT
- The type of the elements produced by this data source.public class DataSource<OUT> extends Operator<OUT,DataSource<OUT>>
Constructor and Description |
---|
DataSource(ExecutionEnvironment context,
InputFormat<OUT,?> inputFormat,
TypeInformation<OUT> type)
Creates a new data source.
|
Modifier and Type | Method and Description |
---|---|
InputFormat<OUT,?> |
getInputFormat()
Gets the input format that is executed by this data source.
|
protected GenericDataSourceBase<OUT,?> |
translateToDataFlow() |
getName, getParallelism, getResultType, name, setParallelism
aggregate, checkSameExecutionContext, coGroup, cross, crossWithHuge, crossWithTiny, distinct, distinct, distinct, distinct, filter, first, flatMap, getExecutionEnvironment, getType, groupBy, groupBy, groupBy, iterate, iterateDelta, join, join, joinWithHuge, joinWithTiny, map, mapPartition, max, maxBy, min, minBy, output, partitionByHash, partitionByHash, partitionByHash, print, printToErr, project, rebalance, reduce, reduceGroup, runOperation, sum, union, write, write, writeAsCsv, writeAsCsv, writeAsCsv, writeAsCsv, writeAsFormattedText, writeAsFormattedText, writeAsText, writeAsText
public DataSource(ExecutionEnvironment context, InputFormat<OUT,?> inputFormat, TypeInformation<OUT> type)
context
- The environment in which the data source gets executed.inputFormat
- The input format that the data source executes.type
- The type of the elements produced by this input format.public InputFormat<OUT,?> getInputFormat()
protected GenericDataSourceBase<OUT,?> translateToDataFlow()
Copyright © 2014 The Apache Software Foundation. All rights reserved.