Class StateSnapshotTransformers.MapStateSnapshotTransformer<K,​V>

    • Constructor Detail

    • Method Detail

      • filterOrTransform

        @Nullable
        public Map<K,​V> filterOrTransform​(@Nullable
                                                Map<K,​V> map)
        Description copied from interface: StateSnapshotTransformer
        Transform or filter out state values which are included or skipped in the snapshot.
        Specified by:
        filterOrTransform in interface StateSnapshotTransformer<K>
        Parameters:
        map - non-serialized form of value
        Returns:
        value to snapshot or null which means the entry is not included