Class TableBuilder

java.lang.Object
org.iq80.leveldb.table.TableBuilder

public class TableBuilder extends Object
  • Field Details

    • TABLE_MAGIC_NUMBER

      public static final long TABLE_MAGIC_NUMBER
      TABLE_MAGIC_NUMBER was picked by running echo http://code.google.com/p/leveldb/ | sha1sum and taking the leading 64 bits.
      See Also:
    • blockRestartInterval

      private final int blockRestartInterval
    • blockSize

      private final int blockSize
    • compressionType

      private final CompressionType compressionType
    • fileChannel

      private final FileChannel fileChannel
    • dataBlockBuilder

      private final BlockBuilder dataBlockBuilder
    • indexBlockBuilder

      private final BlockBuilder indexBlockBuilder
    • lastKey

      private Slice lastKey
    • userComparator

      private final UserComparator userComparator
    • entryCount

      private long entryCount
    • closed

      private boolean closed
    • pendingIndexEntry

      private boolean pendingIndexEntry
    • pendingHandle

      private BlockHandle pendingHandle
    • compressedOutput

      private Slice compressedOutput
    • position

      private long position
  • Constructor Details

  • Method Details