| Package | Description |
|---|---|
| org.apache.flink.connector.file.src | |
| org.apache.flink.connector.file.src.reader |
| Modifier and Type | Method and Description |
|---|---|
Optional<CheckpointedPosition> |
FileSourceSplit.getReaderPosition()
Gets the (checkpointed) position of the reader, if set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FileSourceSplitState.setPosition(CheckpointedPosition position) |
FileSourceSplit |
FileSourceSplit.updateWithCheckpointedPosition(CheckpointedPosition position)
Creates a copy of this split where the checkpointed position is replaced by the given new
position.
|
| Constructor and Description |
|---|
FileSourceSplit(String id,
org.apache.flink.core.fs.Path filePath,
long offset,
long length,
long fileModificationTime,
long fileSize,
String[] hostnames,
CheckpointedPosition readerPosition)
Constructs a split with host information.
|
FileSourceSplit(String id,
org.apache.flink.core.fs.Path filePath,
long offset,
long length,
String[] hostnames,
CheckpointedPosition readerPosition)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
default CheckpointedPosition |
FileRecordFormat.Reader.getCheckpointedPosition()
Optionally returns the current position of the reader.
|
default CheckpointedPosition |
StreamFormat.Reader.getCheckpointedPosition()
Optionally returns the current position of the reader.
|
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.