Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Level ¶
type Level struct { BlockSize int64 BlockCacheSize int64 BlockCacheShards int SSTSize int64 MaximumSSTFiles int BloomFilterSize uint32 }
Configuration for a particular level in the LSMT.
func (*Level) GetBlockCacheShards ¶
func (*Level) GetBlockCacheSize ¶
func (*Level) GetBlockSize ¶
func (*Level) GetBloomFilterSize ¶
func (*Level) GetSSTSize ¶
type LevelOptions ¶
type LevelOptions interface { GetBlockSize() int64 GetBlockCacheSize() int64 GetBlockCacheShards() int GetSSTSize() int64 GetBloomFilterSize() uint32 }
Common options for Levels and the Sink
type Options ¶
type Options struct { Levels []*Level Sink *Sink Path string MemtableMaximumSize int64 KeyMaximumSize int ValueMaximumSize int }
Options for an LSMT. All size options are specified in bytes.
type Sink ¶
type Sink struct { BlockSize int64 BlockCacheSize int64 BlockCacheShards int SSTSize int64 BloomFilterSize uint32 }
Configuration for the sink level. The sink is a special case level that represents the bottom most level. The configuration is missing MaximumSSTFiles since there is no maximum.
func (*Sink) GetBlockCacheShards ¶
func (*Sink) GetBlockCacheSize ¶
func (*Sink) GetBlockSize ¶
func (*Sink) GetBloomFilterSize ¶
func (*Sink) GetSSTSize ¶
Click to show internal directories.
Click to hide internal directories.