Interface IncrementalSnapshotContext<T>
-
- All Known Implementing Classes:
AbstractIncrementalSnapshotContext
,SignalBasedIncrementalSnapshotContext
public interface IncrementalSnapshotContext<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<T>
addDataCollectionNamesToSnapshot(List<String> dataCollectionIds)
Object[]
chunkEndPosititon()
boolean
closeWindow(String id)
String
currentChunkId()
T
currentDataCollectionId()
boolean
deduplicationNeeded()
boolean
isNonInitialChunk()
Optional<Object[]>
maximumKey()
void
maximumKey(Object[] key)
void
nextChunkPosition(Object[] lastKey)
T
nextDataCollection()
boolean
openWindow(String id)
void
revertChunk()
void
sendEvent(Object[] keyFromRow)
boolean
snapshotRunning()
void
startNewChunk()
Map<String,Object>
store(Map<String,Object> offset)
int
tablesToBeSnapshottedCount()
-
-
-
Method Detail
-
currentDataCollectionId
T currentDataCollectionId()
-
nextDataCollection
T nextDataCollection()
-
addDataCollectionNamesToSnapshot
List<T> addDataCollectionNamesToSnapshot(List<String> dataCollectionIds)
-
tablesToBeSnapshottedCount
int tablesToBeSnapshottedCount()
-
openWindow
boolean openWindow(String id)
-
closeWindow
boolean closeWindow(String id)
-
isNonInitialChunk
boolean isNonInitialChunk()
-
snapshotRunning
boolean snapshotRunning()
-
startNewChunk
void startNewChunk()
-
nextChunkPosition
void nextChunkPosition(Object[] lastKey)
-
currentChunkId
String currentChunkId()
-
chunkEndPosititon
Object[] chunkEndPosititon()
-
sendEvent
void sendEvent(Object[] keyFromRow)
-
maximumKey
void maximumKey(Object[] key)
-
deduplicationNeeded
boolean deduplicationNeeded()
-
revertChunk
void revertChunk()
-
-