public class AlignedContinuousFileStoreSource extends ContinuousFileStoreSource
AlignedSourceReader
and AlignedContinuousFileSplitEnumerator
.bucketMode, options
limit, readBuilder
Constructor and Description |
---|
AlignedContinuousFileStoreSource(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.SourceReader<org.apache.flink.table.data.RowData,FileStoreSourceSplit> |
createReader(org.apache.flink.api.connector.source.SourceReaderContext context) |
getBoundedness, restoreEnumerator
createEnumerator, getEnumeratorCheckpointSerializer, getSplitSerializer
public AlignedContinuousFileStoreSource(ReadBuilder readBuilder, Map<String,String> options, @Nullable Long limit, BucketMode bucketMode)
public org.apache.flink.api.connector.source.SourceReader<org.apache.flink.table.data.RowData,FileStoreSourceSplit> createReader(org.apache.flink.api.connector.source.SourceReaderContext context)
createReader
in interface org.apache.flink.api.connector.source.SourceReaderFactory<org.apache.flink.table.data.RowData,FileStoreSourceSplit>
createReader
in class FlinkSource
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)
buildEnumerator
in class ContinuousFileStoreSource
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.