Class StreamProgress
java.lang.Object
org.apache.beam.sdk.io.gcp.bigtable.changestreams.restriction.StreamProgress
- All Implemented Interfaces:
 Serializable
Position for 
ReadChangeStreamPartitionProgressTracker. This represents contains
 information that allows a stream, along with the PartitionRecord to resume from a
 checkpoint.
 It should contain either a continuation token which represents a position in the stream, or it can contain a close stream message which represents an end to the stream and the DoFn needs to stop.
- See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionStreamProgress(@Nullable com.google.cloud.bigtable.data.v2.models.ChangeStreamContinuationToken token, Instant estimatedLowWatermark, BigDecimal throughputEstimate, Instant lastRunTimestamp, boolean isHeartbeat) StreamProgress(@Nullable com.google.cloud.bigtable.data.v2.models.CloseStream closeStream)  - 
Method Summary
 
- 
Constructor Details
- 
StreamProgress
public StreamProgress() - 
StreamProgress
public StreamProgress(@Nullable com.google.cloud.bigtable.data.v2.models.ChangeStreamContinuationToken token, Instant estimatedLowWatermark, BigDecimal throughputEstimate, Instant lastRunTimestamp, boolean isHeartbeat)  - 
StreamProgress
 
 - 
 - 
Method Details
- 
getCurrentToken
public @Nullable com.google.cloud.bigtable.data.v2.models.ChangeStreamContinuationToken getCurrentToken() - 
getEstimatedLowWatermark
 - 
getThroughputEstimate
 - 
getLastRunTimestamp
 - 
getCloseStream
 - 
isFailToLock
public boolean isFailToLock() - 
setFailToLock
public void setFailToLock(boolean failToLock)  - 
isHeartbeat
public boolean isHeartbeat() - 
isEmpty
public boolean isEmpty() - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -