public class ContinuousFileStoreSource extends FlinkSource
FlinkSource
for reading records. It continuously monitors new snapshots.Modifier and Type | Field and Description |
---|---|
protected BucketMode |
bucketMode |
protected Map<String,String> |
options |
limit, readBuilder
Constructor and Description |
---|
ContinuousFileStoreSource(ReadBuilder readBuilder,
Map<String,String> options,
Long limit) |
ContinuousFileStoreSource(ReadBuilder readBuilder,
Map<String,String> options,
Long limit,
BucketMode bucketMode) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.flink.api.connector.source.SplitEnumerator<FileStoreSourceSplit,PendingSplitsCheckpoint> |
buildEnumerator(org.apache.flink.api.connector.source.SplitEnumeratorContext<FileStoreSourceSplit> context,
Collection<FileStoreSourceSplit> splits,
Long nextSnapshotId,
StreamTableScan scan) |
org.apache.flink.api.connector.source.Boundedness |
getBoundedness() |
org.apache.flink.api.connector.source.SplitEnumerator<FileStoreSourceSplit,PendingSplitsCheckpoint> |
restoreEnumerator(org.apache.flink.api.connector.source.SplitEnumeratorContext<FileStoreSourceSplit> context,
PendingSplitsCheckpoint checkpoint) |
createEnumerator, createReader, getEnumeratorCheckpointSerializer, getSplitSerializer
protected final BucketMode bucketMode
public ContinuousFileStoreSource(ReadBuilder readBuilder, Map<String,String> options, @Nullable Long limit)
public ContinuousFileStoreSource(ReadBuilder readBuilder, Map<String,String> options, @Nullable Long limit, BucketMode bucketMode)
public org.apache.flink.api.connector.source.Boundedness getBoundedness()
public org.apache.flink.api.connector.source.SplitEnumerator<FileStoreSourceSplit,PendingSplitsCheckpoint> restoreEnumerator(org.apache.flink.api.connector.source.SplitEnumeratorContext<FileStoreSourceSplit> context, PendingSplitsCheckpoint checkpoint)
protected org.apache.flink.api.connector.source.SplitEnumerator<FileStoreSourceSplit,PendingSplitsCheckpoint> buildEnumerator(org.apache.flink.api.connector.source.SplitEnumeratorContext<FileStoreSourceSplit> context, Collection<FileStoreSourceSplit> splits, @Nullable Long nextSnapshotId, StreamTableScan scan)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.