@Internal public class MongoScanSourceSplitState extends Object implements MongoSourceSplitState
MongoScanSourceSplit.| 构造器和说明 |
|---|
MongoScanSourceSplitState(MongoScanSourceSplit scanSplit) |
| 限定符和类型 | 方法和说明 |
|---|---|
MongoScanSourceSplit |
toMongoSourceSplit()
Use the current split state to create a new
MongoSourceSplit. |
void |
updateOffset(org.bson.BsonDocument record)
Update the offset read by the current split for failure recovery.
|
public MongoScanSourceSplitState(MongoScanSourceSplit scanSplit)
public MongoScanSourceSplit toMongoSourceSplit()
MongoSourceSplitStateMongoSourceSplit.toMongoSourceSplit 在接口中 MongoSourceSplitStatepublic void updateOffset(org.bson.BsonDocument record)
MongoSourceSplitStateupdateOffset 在接口中 MongoSourceSplitStaterecord - The latest record that was read.Copyright © 2022–2024 The Apache Software Foundation. All rights reserved.