class KeyValueIteratorFacade implements KeyValueIterator<K, V> {

    @Override
    public KeyValue<K, V> next() {
        final KeyValue<K, ValueAndTimestamp<V>> innerKeyValue = innerIterator.next();
        return KeyValue.pair(innerKeyValue.key, getValueOrNull(innerKeyValue.value));
    }

    public  KeyValueIteratorFacade(final KeyValueIterator<K, ValueAndTimestamp<V>> iterator);

}