Class ImlFeatureIdsSourceReader
java.lang.Object
com.here.platform.data.client.flink.impl.ImlFeatureIdsSourceReader
- All Implemented Interfaces:
AutoCloseable,org.apache.flink.api.common.state.CheckpointListener,org.apache.flink.api.connector.source.SourceReader<scala.Tuple2<Object,scala.collection.immutable.Seq<String>>, ContinuousSourceUtils.TimestampSplit>
public class ImlFeatureIdsSourceReader
extends Object
implements org.apache.flink.api.connector.source.SourceReader<scala.Tuple2<Object,scala.collection.immutable.Seq<String>>,ContinuousSourceUtils.TimestampSplit>
-
Constructor Summary
ConstructorsConstructorDescriptionImlFeatureIdsSourceReader(scala.collection.immutable.Seq<String> ids, long layerRefreshInterval, DataClientFlinkContextFactory contextFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()scala.collection.immutable.Seq<scala.collection.immutable.Seq<String>>idChunks()voidorg.apache.flink.core.io.InputStatuspollNext(org.apache.flink.api.connector.source.ReaderOutput<scala.Tuple2<Object, scala.collection.immutable.Seq<String>>> output) snapshotState(long checkpointId) voidstart()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.api.common.state.CheckpointListener
notifyCheckpointAbortedMethods inherited from interface org.apache.flink.api.connector.source.SourceReader
handleSourceEvents, notifyCheckpointComplete, pauseOrResumeSplits
-
Constructor Details
-
ImlFeatureIdsSourceReader
public ImlFeatureIdsSourceReader(scala.collection.immutable.Seq<String> ids, long layerRefreshInterval, DataClientFlinkContextFactory contextFactory)
-
-
Method Details
-
addSplits
- Specified by:
addSplitsin interfaceorg.apache.flink.api.connector.source.SourceReader<scala.Tuple2<Object,scala.collection.immutable.Seq<String>>, ContinuousSourceUtils.TimestampSplit>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
idChunks
-
isAvailable
- Specified by:
isAvailablein interfaceorg.apache.flink.api.connector.source.SourceReader<scala.Tuple2<Object,scala.collection.immutable.Seq<String>>, ContinuousSourceUtils.TimestampSplit>
-
notifyNoMoreSplits
public void notifyNoMoreSplits()- Specified by:
notifyNoMoreSplitsin interfaceorg.apache.flink.api.connector.source.SourceReader<scala.Tuple2<Object,scala.collection.immutable.Seq<String>>, ContinuousSourceUtils.TimestampSplit>
-
pollNext
public org.apache.flink.core.io.InputStatus pollNext(org.apache.flink.api.connector.source.ReaderOutput<scala.Tuple2<Object, scala.collection.immutable.Seq<String>>> output) - Specified by:
pollNextin interfaceorg.apache.flink.api.connector.source.SourceReader<scala.Tuple2<Object,scala.collection.immutable.Seq<String>>, ContinuousSourceUtils.TimestampSplit>
-
snapshotState
- Specified by:
snapshotStatein interfaceorg.apache.flink.api.connector.source.SourceReader<scala.Tuple2<Object,scala.collection.immutable.Seq<String>>, ContinuousSourceUtils.TimestampSplit>
-
start
public void start()- Specified by:
startin interfaceorg.apache.flink.api.connector.source.SourceReader<scala.Tuple2<Object,scala.collection.immutable.Seq<String>>, ContinuousSourceUtils.TimestampSplit>
-