config

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: Apache-2.0 Imports: 2 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 uint32, blockCnt uint16, opts *options.Options) *options.Options

func NewOptions

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

func WithLongScanAndCKPOpts

func WithLongScanAndCKPOpts(in *options.Options) (opts *options.Options)

func WithOpts

func WithOpts(in *options.Options, factor float64) (opts *options.Options)

func WithQuickScanAndCKPAndGCOpts added in v0.7.0

func WithQuickScanAndCKPAndGCOpts(in *options.Options) (opts *options.Options)

func WithQuickScanAndCKPOpts

func WithQuickScanAndCKPOpts(in *options.Options) (opts *options.Options)

func WithQuickScanAndCKPOpts2 added in v0.6.0

func WithQuickScanAndCKPOpts2(in *options.Options, factor int) (opts *options.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