Package org.rocksdb
Class WriteBatch.SavePoint
- java.lang.Object
-
- org.rocksdb.WriteBatch.SavePoint
-
- Enclosing class:
- WriteBatch
public static class WriteBatch.SavePoint extends java.lang.ObjectA structure for describing the save point in the Write Batch.
-
-
Constructor Summary
Constructors Constructor Description SavePoint(long size, long count, long contentFlags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()longgetContentFlags()Get the content flags.longgetCount()Get the number of elements.longgetSize()Get the size of the serialized representation.booleanisCleared()
-
-
-
Method Detail
-
clear
public void clear()
-
getSize
public long getSize()
Get the size of the serialized representation.- Returns:
- the size of the serialized representation.
-
getCount
public long getCount()
Get the number of elements.- Returns:
- the number of elements.
-
getContentFlags
public long getContentFlags()
Get the content flags.- Returns:
- the content flags.
-
isCleared
public boolean isCleared()
-
-