Interface IncrementalSnapshotContext<T>
- All Known Implementing Classes:
AbstractIncrementalSnapshotContext
,SignalBasedIncrementalSnapshotContext
public interface IncrementalSnapshotContext<T>
-
Method Summary
Modifier and TypeMethodDescriptionaddDataCollectionNamesToSnapshot
(List<String> dataCollectionIds, Optional<String> additionalCondition) Object[]
boolean
closeWindow
(String id) int
boolean
boolean
boolean
boolean
void
maximumKey
(Object[] key) void
nextChunkPosition
(Object[] lastKey) boolean
openWindow
(String id) void
boolean
removeDataCollectionFromSnapshot
(String dataCollectionId) void
void
void
void
void
setSchemaVerificationPassed
(boolean schemaVerificationPassed) boolean
void
void
-
Method Details
-
currentDataCollectionId
DataCollection<T> currentDataCollectionId() -
nextDataCollection
DataCollection<T> nextDataCollection() -
addDataCollectionNamesToSnapshot
-
dataCollectionsToBeSnapshottedCount
int dataCollectionsToBeSnapshottedCount() -
openWindow
-
closeWindow
-
pauseSnapshot
void pauseSnapshot() -
resumeSnapshot
void resumeSnapshot() -
isSnapshotPaused
boolean isSnapshotPaused() -
isNonInitialChunk
boolean isNonInitialChunk() -
snapshotRunning
boolean snapshotRunning() -
startNewChunk
void startNewChunk() -
nextChunkPosition
-
currentChunkId
String currentChunkId() -
chunkEndPosititon
Object[] chunkEndPosititon() -
sendEvent
-
maximumKey
-
maximumKey
-
deduplicationNeeded
boolean deduplicationNeeded() -
store
-
revertChunk
void revertChunk() -
setSchema
-
getSchema
Table getSchema() -
isSchemaVerificationPassed
boolean isSchemaVerificationPassed() -
setSchemaVerificationPassed
void setSchemaVerificationPassed(boolean schemaVerificationPassed) -
stopSnapshot
void stopSnapshot() -
removeDataCollectionFromSnapshot
-