public abstract class AbstractNonCoordinatedSource<T> extends Object implements org.apache.flink.api.connector.source.Source<T,SimpleSourceSplit,NoOpEnumState>
Source
that does not require coordination between JobManager and TaskManagers.Constructor and Description |
---|
AbstractNonCoordinatedSource() |
Modifier and Type | Method and Description |
---|---|
org.apache.flink.api.connector.source.SplitEnumerator<SimpleSourceSplit,NoOpEnumState> |
createEnumerator(org.apache.flink.api.connector.source.SplitEnumeratorContext<SimpleSourceSplit> enumContext) |
org.apache.flink.core.io.SimpleVersionedSerializer<NoOpEnumState> |
getEnumeratorCheckpointSerializer() |
org.apache.flink.core.io.SimpleVersionedSerializer<SimpleSourceSplit> |
getSplitSerializer() |
org.apache.flink.api.connector.source.SplitEnumerator<SimpleSourceSplit,NoOpEnumState> |
restoreEnumerator(org.apache.flink.api.connector.source.SplitEnumeratorContext<SimpleSourceSplit> enumContext,
NoOpEnumState checkpoint) |
public org.apache.flink.api.connector.source.SplitEnumerator<SimpleSourceSplit,NoOpEnumState> createEnumerator(org.apache.flink.api.connector.source.SplitEnumeratorContext<SimpleSourceSplit> enumContext)
createEnumerator
in interface org.apache.flink.api.connector.source.Source<T,SimpleSourceSplit,NoOpEnumState>
public org.apache.flink.api.connector.source.SplitEnumerator<SimpleSourceSplit,NoOpEnumState> restoreEnumerator(org.apache.flink.api.connector.source.SplitEnumeratorContext<SimpleSourceSplit> enumContext, NoOpEnumState checkpoint)
restoreEnumerator
in interface org.apache.flink.api.connector.source.Source<T,SimpleSourceSplit,NoOpEnumState>
public org.apache.flink.core.io.SimpleVersionedSerializer<SimpleSourceSplit> getSplitSerializer()
getSplitSerializer
in interface org.apache.flink.api.connector.source.Source<T,SimpleSourceSplit,NoOpEnumState>
public org.apache.flink.core.io.SimpleVersionedSerializer<NoOpEnumState> getEnumeratorCheckpointSerializer()
getEnumeratorCheckpointSerializer
in interface org.apache.flink.api.connector.source.Source<T,SimpleSourceSplit,NoOpEnumState>
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.