java.lang.Object
io.airbyte.cdk.integrations.source.relationaldb.models.DbStreamState
Direct Known Subclasses:
CursorBasedStatus

public class DbStreamState extends Object
  • Constructor Details

    • DbStreamState

      public DbStreamState()
  • Method Details

    • getStreamName

      public String getStreamName()
      name of the stream (Required)
    • setStreamName

      public void setStreamName(String streamName)
      name of the stream (Required)
    • withStreamName

      public DbStreamState withStreamName(String streamName)
    • getStreamNamespace

      public String getStreamNamespace()
      namespace of the stream (Required)
    • setStreamNamespace

      public void setStreamNamespace(String streamNamespace)
      namespace of the stream (Required)
    • withStreamNamespace

      public DbStreamState withStreamNamespace(String streamNamespace)
    • getCursorField

      public List<String> getCursorField()
      field that was used to record the cursor.
    • setCursorField

      public void setCursorField(List<String> cursorField)
      field that was used to record the cursor.
    • withCursorField

      public DbStreamState withCursorField(List<String> cursorField)
    • getCursor

      public String getCursor()
      string representation of the last value recorded for the cursor.
    • setCursor

      public void setCursor(String cursor)
      string representation of the last value recorded for the cursor.
    • withCursor

      public DbStreamState withCursor(String cursor)
    • getCursorRecordCount

      public Long getCursorRecordCount()
      number of records that have the cursor value.
    • setCursorRecordCount

      public void setCursorRecordCount(Long cursorRecordCount)
      number of records that have the cursor value.
    • withCursorRecordCount

      public DbStreamState withCursorRecordCount(Long cursorRecordCount)
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • setAdditionalProperty

      public void setAdditionalProperty(String name, Object value)
    • withAdditionalProperty

      public DbStreamState withAdditionalProperty(String name, Object value)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object