toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case EventSourcePosition.trimHorizon:
      return 'TRIM_HORIZON';
    case EventSourcePosition.latest:
      return 'LATEST';
    case EventSourcePosition.atTimestamp:
      return 'AT_TIMESTAMP';
  }
}