Package org.rocksdb

Class WriteBatch.SavePoint

  • Enclosing class:
    WriteBatch

    public static class WriteBatch.SavePoint
    extends java.lang.Object
    A 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
      void clear()  
      long getContentFlags()
      Get the content flags.
      long getCount()
      Get the number of elements.
      long getSize()
      Get the size of the serialized representation.
      boolean isCleared()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SavePoint

        public SavePoint​(long size,
                         long count,
                         long contentFlags)
    • 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()