T - The type of input format invoked by instances of this data source.@Deprecated public class GenericDataSource<T extends org.apache.flink.api.common.io.InputFormat<org.apache.flink.types.Record,?>> extends org.apache.flink.api.common.operators.GenericDataSourceBase<org.apache.flink.types.Record,T>
| Constructor and Description |
|---|
GenericDataSource(Class<? extends T> format)
Deprecated.
Creates a new instance for the given file using the given input format, using the default name.
|
GenericDataSource(Class<? extends T> format,
String name)
Deprecated.
Creates a new instance for the given file using the given input format.
|
GenericDataSource(T format)
Deprecated.
Creates a new instance for the given file using the given input format, using the default name.
|
GenericDataSource(T format,
String name)
Deprecated.
Creates a new instance for the given file using the given input format.
|
accept, executeOnCollections, getFormatWrapper, getSplitDataProperties, getStatisticsKey, getUserCodeWrapper, setSplitDataProperties, setStatisticsKey, toStringcreateUnionCascade, createUnionCascade, createUnionCascade, getCompilerHints, getDegreeOfParallelism, getName, getOperatorInfo, getParallelism, getParameters, setDegreeOfParallelism, setName, setParallelism, setParameter, setParameter, setParameterpublic GenericDataSource(T format, String name)
format - The InputFormat implementation used to read the data.name - The given name for the Pact, used in plans, logs and progress messages.public GenericDataSource(T format)
format - The InputFormat implementation used to read the data.public GenericDataSource(Class<? extends T> format, String name)
format - The InputFormat implementation used to read the data.name - The given name for the Pact, used in plans, logs and progress messages.Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.