Interface IncrementalSnapshotContext<T>

All Known Implementing Classes:
AbstractIncrementalSnapshotContext, SignalBasedIncrementalSnapshotContext

public interface IncrementalSnapshotContext<T>
  • Method Details

    • currentDataCollectionId

      DataCollection<T> currentDataCollectionId()
    • nextDataCollection

      DataCollection<T> nextDataCollection()
    • addDataCollectionNamesToSnapshot

      List<DataCollection<T>> addDataCollectionNamesToSnapshot(List<String> dataCollectionIds, Optional<String> additionalCondition)
    • dataCollectionsToBeSnapshottedCount

      int dataCollectionsToBeSnapshottedCount()
    • openWindow

      boolean openWindow(String id)
    • closeWindow

      boolean closeWindow(String id)
    • pauseSnapshot

      void pauseSnapshot()
    • resumeSnapshot

      void resumeSnapshot()
    • isSnapshotPaused

      boolean isSnapshotPaused()
    • 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)
    • maximumKey

      Optional<Object[]> maximumKey()
    • deduplicationNeeded

      boolean deduplicationNeeded()
    • store

      Map<String,Object> store(Map<String,Object> offset)
    • revertChunk

      void revertChunk()
    • setSchema

      void setSchema(Table schema)
    • getSchema

      Table getSchema()
    • isSchemaVerificationPassed

      boolean isSchemaVerificationPassed()
    • setSchemaVerificationPassed

      void setSchemaVerificationPassed(boolean schemaVerificationPassed)
    • stopSnapshot

      void stopSnapshot()
    • removeDataCollectionFromSnapshot

      boolean removeDataCollectionFromSnapshot(String dataCollectionId)