T - Type of the data output by the source.public interface SourceFunction<T> extends Function
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SourceFunction.SourceContext<T> |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
fetch(SourceFunction.SourceContext<T> ctx) |
void |
init(int parallelism,
int index) |
loadCheckpoint, saveCheckpointvoid init(int parallelism,
int index)
void fetch(SourceFunction.SourceContext<T> ctx) throws Exception
Exceptionvoid close()
Copyright © 2020. All rights reserved.