@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    TimeSeriesKey<?> that = (TimeSeriesKey<?>) o;

    if (timestamp != that.timestamp) return false;
    if (seqNum != that.seqNum) return false;
    return key != null ? key.equals(that.key) : that.key == null;
  }
The store key used in the {@link TimeSeriesStore} to uniquely identify a row.
samza-core/src/main/java/org/apache/samza/operators/impl/store/TimeSeriesKey.java