Package | Description |
---|---|
org.apache.flink.connector.file.src | |
org.apache.flink.connector.file.src.reader | |
org.apache.flink.connectors.hive.read | |
org.apache.flink.orc |
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,
Path filePath,
long offset,
long length,
String[] hostnames,
CheckpointedPosition readerPosition)
Constructs a split with host information.
|
Modifier and Type | Method and Description |
---|---|
default CheckpointedPosition |
StreamFormat.Reader.getCheckpointedPosition()
Optionally returns the current position of the reader.
|
default CheckpointedPosition |
FileRecordFormat.Reader.getCheckpointedPosition()
Optionally returns the current position of the reader.
|
Modifier and Type | Method and Description |
---|---|
FileSourceSplit |
HiveSourceSplit.updateWithCheckpointedPosition(CheckpointedPosition position) |
Constructor and Description |
---|
HiveSourceSplit(org.apache.hadoop.mapred.FileSplit fileSplit,
HiveTablePartition hiveTablePartition,
CheckpointedPosition readerPosition) |
HiveSourceSplit(String id,
Path filePath,
long offset,
long length,
String[] hostnames,
CheckpointedPosition readerPosition,
HiveTablePartition hiveTablePartition) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractOrcFileInputFormat.OrcVectorizedReader.seek(CheckpointedPosition position)
The argument of
RecordReader.seekToRow(long) must come from RecordReader.getRowNumber() . |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.