org.apache.spark.sql.execution.streaming
An offset is a monotonically increasing metric used to track progress in the computation of a stream. An Offset must be comparable, and the result of compareTo must be consistent with equals and hashcode.
compareTo
equals
hashcode
Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
An offset is a monotonically increasing metric used to track progress in the computation of a stream. An Offset must be comparable, and the result of
compareTo
must be consistent withequals
andhashcode
.