public class FileDataSourceBase<OUT> extends GenericDataSourceBase<OUT,FileInputFormat<OUT>>
GenericDataSourceBase.SplitDataProperties<T>| Modifier and Type | Field and Description |
|---|---|
protected String |
filePath |
formatWrapper, statisticsKeycompilerHints, name, operatorInfo, parameters| Constructor and Description |
|---|
FileDataSourceBase(Class<? extends FileInputFormat<OUT>> f,
OperatorInformation<OUT> operatorInfo,
String filePath)
Creates a new instance for the given file using the given input format.
|
FileDataSourceBase(Class<? extends FileInputFormat<OUT>> f,
OperatorInformation<OUT> operatorInfo,
String filePath,
String name)
Creates a new instance for the given file using the given file input format.
|
FileDataSourceBase(FileInputFormat<OUT> f,
OperatorInformation<OUT> operatorInfo,
String filePath)
Creates a new instance for the given file using the given input format.
|
FileDataSourceBase(FileInputFormat<OUT> f,
OperatorInformation<OUT> operatorInfo,
String filePath,
String name)
Creates a new instance for the given file using the given file input format.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFilePath()
Returns the file path from which the input is read.
|
String |
toString() |
accept, executeOnCollections, getFormatWrapper, getSplitDataProperties, getStatisticsKey, getUserCodeWrapper, setSplitDataProperties, setStatisticsKeycreateUnionCascade, createUnionCascade, createUnionCascade, getCompilerHints, getName, getOperatorInfo, getParallelism, getParameters, setName, setParallelism, setParameter, setParameter, setParameterprotected final String filePath
public FileDataSourceBase(FileInputFormat<OUT> f, OperatorInformation<OUT> operatorInfo, String filePath, String name)
f - The FileInputFormat implementation used to read the data.operatorInfo - The type information for the output type.filePath - The file location. The file path must be a fully qualified URI, including the address schema.name - The given name for the Pact, used in plans, logs and progress messages.public FileDataSourceBase(FileInputFormat<OUT> f, OperatorInformation<OUT> operatorInfo, String filePath)
f - The FileInputFormat implementation used to read the data.operatorInfo - The type information for the output type.filePath - The file location. The file path must be a fully qualified URI, including the address schema.public FileDataSourceBase(Class<? extends FileInputFormat<OUT>> f, OperatorInformation<OUT> operatorInfo, String filePath, String name)
f - The FileInputFormat implementation used to read the data.operatorInfo - The type information for the output type.filePath - The file location. The file path must be a fully qualified URI, including the address schema.name - The given name for the Pact, used in plans, logs and progress messages.public FileDataSourceBase(Class<? extends FileInputFormat<OUT>> f, OperatorInformation<OUT> operatorInfo, String filePath)
f - The FileInputFormat implementation used to read the data.operatorInfo - The type information for the output type.filePath - The file location. The file path must be a fully qualified URI, including the address schema.public String getFilePath()
public String toString()
toString in class GenericDataSourceBase<OUT,FileInputFormat<OUT>>Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.