public StateQueryRequest<R> withPositionBound(final PositionBound positionBound) {
        return new StateQueryRequest<>(
            storeName,
            positionBound,
            partitions,
            query,
            executionInfoEnabled,
            requireActive
        );
    }
Bounds the position of the state store against its input topics.
streams/src/main/java/org/apache/kafka/streams/query/StateQueryRequest.java