Class StreamSnapshot

java.lang.Object
dev.frostlake.persistence.StreamSnapshot
All Implemented Interfaces:
Serializable

public class StreamSnapshot extends Object implements Serializable
Serializable snapshot of a STREAM — its definition plus the pending (unconsumed) change records, which are restored at offset 0 so consuming after a reload yields the same rows. Already-consumed history is intentionally dropped (it has no effect on future reads).
See Also:
  • Field Details

    • name

      public String name
    • sourceTableName

      public String sourceTableName
    • baseTableName

      public String baseTableName
    • baseTableNames

      public List<String> baseTableNames
    • sourceType

      public String sourceType
    • streamType

      public String streamType
    • showInitialRows

      public boolean showInitialRows
    • stale

      public boolean stale
    • comment

      public String comment
    • owner

      public String owner
    • records

      public List<StreamRecordSnapshot> records
  • Constructor Details

    • StreamSnapshot

      public StreamSnapshot()