MCPcopy
hub / github.com/dgraph-io/badger / CompressionType

Method CompressionType

table/table.go:134–136  ·  view source on GitHub ↗

CompressionType returns the compression algorithm used for block compression.

()

Source from the content-addressed store, hash-verified

132
133// CompressionType returns the compression algorithm used for block compression.
134func (t *Table) CompressionType() options.CompressionType {
135 return t.opt.Compression
136}
137
138// IncrRef increments the refcount (having to do with whether the file should be deleted)
139func (t *Table) IncrRef() {

Callers 5

createTableMethod · 0.95
buildChangeSetFunction · 0.80
addLevel0TableMethod · 0.80
addToManifestFunction · 0.80
createAndOpenFunction · 0.80

Calls

no outgoing calls

Tested by 2

addToManifestFunction · 0.64
createAndOpenFunction · 0.64