public ValueAndTimestamp<V> get(final K key, final long asOfTimestamp) {
        if (!isVersionedStore()) {
            throw new UnsupportedOperationException("get(key, timestamp) is only supported for versioned stores");
        }
        final VersionedRecord<V> versionedRecord = versionedStore.get(key, asOfTimestamp);
        return versionedRecord == null ? null : ValueAndTimestamp.make(versionedRecord.value(), versionedRecord.timestamp());
    }
A wrapper class for non-windowed key-value stores used within the DSL. All such stores are
instances of either {@link TimestampedKeyValueStore} or {@link VersionedKeyValueStore}.

@param <K> The key type
@param <V> The value type
streams/src/main/java/org/apache/kafka/streams/state/internals/KeyValueStoreWrapper.java