Package com.dremio.nessie.backend.simple
Class InMemory.InMemoryEntityBackend<T>
- java.lang.Object
-
- com.dremio.nessie.backend.simple.InMemory.InMemoryEntityBackend<T>
-
- All Implemented Interfaces:
EntityBackend<T>,AutoCloseable
- Direct Known Subclasses:
InMemory.ObjectInMemory,InMemory.RefInMemory
- Enclosing class:
- InMemory
public abstract static class InMemory.InMemoryEntityBackend<T> extends Object implements EntityBackend<T>
-
-
Constructor Summary
Constructors Constructor Description InMemoryEntityBackend()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidclose()protected abstract com.dremio.nessie.backend.simple.InMemory.Filter<T>filterObj()VersionedWrapper<T>get(String name)List<VersionedWrapper<T>>getAll(boolean includeDeleted)voidremove(String name)VersionedWrapper<T>update(String name, VersionedWrapper<T> table)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.dremio.nessie.backend.EntityBackend
get, increment, remove, updateAll
-
-
-
-
Method Detail
-
get
public VersionedWrapper<T> get(String name)
- Specified by:
getin interfaceEntityBackend<T>
-
filterObj
protected abstract com.dremio.nessie.backend.simple.InMemory.Filter<T> filterObj()
-
getAll
public List<VersionedWrapper<T>> getAll(boolean includeDeleted)
- Specified by:
getAllin interfaceEntityBackend<T>
-
update
public VersionedWrapper<T> update(String name, VersionedWrapper<T> table)
- Specified by:
updatein interfaceEntityBackend<T>
-
remove
public void remove(String name)
- Specified by:
removein interfaceEntityBackend<T>
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
-