| Package | Description |
|---|---|
| org.apache.flink.streaming.api.environment | |
| org.apache.flink.streaming.api.functions.source |
| Modifier and Type | Method and Description |
|---|---|
<OUT> DataStreamSource<OUT> |
StreamExecutionEnvironment.readFile(org.apache.flink.api.common.io.FileInputFormat<OUT> inputFormat,
String filePath,
FileProcessingMode watchType,
long interval,
FilePathFilter filter)
Reads the contents of the user-specified
filePath based on the given FileInputFormat. |
<OUT> DataStreamSource<OUT> |
StreamExecutionEnvironment.readFile(org.apache.flink.api.common.io.FileInputFormat<OUT> inputFormat,
String filePath,
FileProcessingMode watchType,
long interval,
FilePathFilter filter,
org.apache.flink.api.common.typeinfo.TypeInformation<OUT> typeInformation)
Reads the contents of the user-specified
filePath based on the given FileInputFormat. |
| Modifier and Type | Class and Description |
|---|---|
static class |
FilePathFilter.DefaultFilter
The default file path filtering method and is used
if no other such function is provided.
|
| Modifier and Type | Method and Description |
|---|---|
static FilePathFilter |
FilePathFilter.createDefaultFilter() |
| Constructor and Description |
|---|
ContinuousFileMonitoringFunction(org.apache.flink.api.common.io.FileInputFormat<OUT> format,
String path,
FilePathFilter filter,
FileProcessingMode watchType,
int readerParallelism,
long interval) |
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.