public SeekableStreamStartSequenceNumbers<PartitionIdType, SequenceOffsetType> asStartPartitions(
      boolean isExclusiveEndOffset
  )
  {
    return new SeekableStreamStartSequenceNumbers<>(
        stream,
        partitionSequenceNumberMap,
        // All start offsets are supposed to be opposite
        isExclusiveEndOffset ? Collections.emptySet() : partitionSequenceNumberMap.keySet()
    );
  }
public SeekableStreamStartSequenceNumbers < PartitionIdType , SequenceOffsetType > asStartPartitions ( boolean isExclusiveEndOffset ) { return new SeekableStreamStartSequenceNumbers < > ( stream , partitionSequenceNumberMap , isExclusiveEndOffset ? Collections . emptySet ( ) : partitionSequenceNumberMap . keySet ( ) ) ; }
Converts this end sequence numbers into start sequence numbers. This conversion is required when checking two
sequence numbers are "matched" in {@code IndexerSQLMetadataStorageCoordinator#updateDataSourceMetadataWithHandle}
because only sequences numbers of the same type can be compared.

@param isExclusiveEndOffset flag that end offsets are exclusive. Should be true for Kafka and false for Kinesis.