public StoreQueryParameters<T> withPartition(final Integer partition) {
        return new StoreQueryParameters<>(storeName, queryableStoreType, partition, staleStores);
    }
Set a specific partition that should be queried exclusively.

@param partition   The specific integer partition to be fetched from the stores list by using {@link StoreQueryParameters}.

@return StoreQueryParameters a new {@code StoreQueryParameters} instance configured with the specified partition
streams/src/main/java/org/apache/kafka/streams/StoreQueryParameters.java