public class StaticFileStoreSource extends FlinkSource
FlinkSource
for reading records. It does not monitor new snapshots.limit, readBuilder
Constructor and Description |
---|
StaticFileStoreSource(ReadBuilder readBuilder,
Long limit,
int splitBatchSize,
FlinkConnectorOptions.SplitAssignMode splitAssignMode) |
StaticFileStoreSource(ReadBuilder readBuilder,
Long limit,
int splitBatchSize,
FlinkConnectorOptions.SplitAssignMode splitAssignMode,
DynamicPartitionFilteringInfo dynamicPartitionFilteringInfo) |
Modifier and Type | Method and Description |
---|---|
static SplitAssigner |
createSplitAssigner(org.apache.flink.api.connector.source.SplitEnumeratorContext<FileStoreSourceSplit> context,
int splitBatchSize,
FlinkConnectorOptions.SplitAssignMode splitAssignMode,
Collection<FileStoreSourceSplit> splits) |
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
public StaticFileStoreSource(ReadBuilder readBuilder, @Nullable Long limit, int splitBatchSize, FlinkConnectorOptions.SplitAssignMode splitAssignMode)
public StaticFileStoreSource(ReadBuilder readBuilder, @Nullable Long limit, int splitBatchSize, FlinkConnectorOptions.SplitAssignMode splitAssignMode, @Nullable DynamicPartitionFilteringInfo dynamicPartitionFilteringInfo)
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)
public static SplitAssigner createSplitAssigner(org.apache.flink.api.connector.source.SplitEnumeratorContext<FileStoreSourceSplit> context, int splitBatchSize, FlinkConnectorOptions.SplitAssignMode splitAssignMode, Collection<FileStoreSourceSplit> splits)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.