MCPcopy
hub / github.com/uber/aresdb / setValidity

Method setValidity

memstore/vector_party.go:156–158  ·  view source on GitHub ↗

setValidity set the validity of given offset and update NonDefaultValueCount. Third parameter count should only be passed for compressed columns. If not passed, the default value is 1.

(offset int, valid bool)

Source from the content-addressed store, hash-verified

154// Third parameter count should only be passed for compressed columns. If
155// not passed, the default value is 1.
156func (vp *cVectorParty) setValidity(offset int, valid bool) {
157 vp.nulls.SetBool(offset, valid)
158}
159
160// GetValidity implements GetValidity in cVectorParty
161func (vp *cVectorParty) GetValidity(offset int) bool {

Callers 3

SetDataValueMethod · 0.95
SetBoolMethod · 0.80
SetValueMethod · 0.80

Calls 1

SetBoolMethod · 0.65

Tested by

no test coverage detected