@Override
        public <S extends Segment> List<S> segmentsToSearch(final Segments<S> segments,
                                                            final long from,
                                                            final long to,
                                                            final boolean forward) {
            return segments.segments(from, Long.MAX_VALUE, forward);
        }
@param key the key in the range
@param from the earliest end timestamp in the range
streams/src/main/java/org/apache/kafka/streams/state/internals/PrefixedSessionKeySchemas.java