public static class FsFoldingState.Snapshot<K,N,T,ACC> extends AbstractFsStateSnapshot<K,N,ACC,FoldingState<T,ACC>,FoldingStateDescriptor<T,ACC>>
keySerializer, namespaceSerializer, stateDesc, stateSerializer
Constructor and Description |
---|
Snapshot(TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
TypeSerializer<ACC> stateSerializer,
FoldingStateDescriptor<T,ACC> stateDescs,
Path filePath) |
Modifier and Type | Method and Description |
---|---|
KvState<K,N,FoldingState<T,ACC>,FoldingStateDescriptor<T,ACC>,FsStateBackend> |
createFsState(FsStateBackend backend,
HashMap<N,Map<K,ACC>> stateMap) |
getStateSize, restoreState
discardState, getFilePath, getFileSize, getFileSystem
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
discardState
public Snapshot(TypeSerializer<K> keySerializer, TypeSerializer<N> namespaceSerializer, TypeSerializer<ACC> stateSerializer, FoldingStateDescriptor<T,ACC> stateDescs, Path filePath)
public KvState<K,N,FoldingState<T,ACC>,FoldingStateDescriptor<T,ACC>,FsStateBackend> createFsState(FsStateBackend backend, HashMap<N,Map<K,ACC>> stateMap)
createFsState
in class AbstractFsStateSnapshot<K,N,ACC,FoldingState<T,ACC>,FoldingStateDescriptor<T,ACC>>
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.