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()booleancloseWindow(String id)StringcurrentChunkId()TcurrentDataCollectionId()intdataCollectionsToBeSnapshottedCount()booleandeduplicationNeeded()TablegetSchema()booleanisNonInitialChunk()booleanisSchemaVerificationPassed()Optional<Object[]>maximumKey()voidmaximumKey(Object[] key)voidnextChunkPosition(Object[] lastKey)TnextDataCollection()booleanopenWindow(String id)voidrevertChunk()voidsendEvent(Object[] keyFromRow)voidsetSchema(Table schema)voidsetSchemaVerificationPassed(boolean schemaVerificationPassed)booleansnapshotRunning()voidstartNewChunk()Map<String,Object>store(Map<String,Object> offset)
-
-
-
Method Detail
-
currentDataCollectionId
T currentDataCollectionId()
-
nextDataCollection
T nextDataCollection()
-
addDataCollectionNamesToSnapshot
List<T> addDataCollectionNamesToSnapshot(List<String> dataCollectionIds)
-
dataCollectionsToBeSnapshottedCount
int dataCollectionsToBeSnapshottedCount()
-
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()
-
setSchema
void setSchema(Table schema)
-
getSchema
Table getSchema()
-
isSchemaVerificationPassed
boolean isSchemaVerificationPassed()
-
setSchemaVerificationPassed
void setSchemaVerificationPassed(boolean schemaVerificationPassed)
-
-