config

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCustomizedMetaOptions

func NewCustomizedMetaOptions(dir string, cst CacheSizeType, blockRows, blockCnt uint64, opts *storage.Options) *storage.Options

func NewOptions

func NewOptions(dir string, cst CacheSizeType, bst BlockSizeType, sst SegmentSizeType) *storage.Options

Types

type BlockSizeType

type BlockSizeType uint8
const (
	BST_None BlockSizeType = iota
	BST_S
	BST_M
	BST_L
)

type CacheSizeType

type CacheSizeType uint8
const (
	CST_None CacheSizeType = iota
	CST_Customize
)

type SegmentSizeType

type SegmentSizeType uint8
const (
	SST_None SegmentSizeType = iota
	SST_S
	SST_M
	SST_L
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL