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

Function setDataValue

memstore/test_factory.go:182–190  ·  view source on GitHub ↗
(v *vectors.Vector, idx int, val memCom.DataValue)

Source from the content-addressed store, hash-verified

180}
181
182func setDataValue(v *vectors.Vector, idx int, val memCom.DataValue) {
183 if val.Valid {
184 if v.DataType == memCom.Bool {
185 v.SetBool(idx, val.BoolVal)
186 } else {
187 v.SetValue(idx, val.OtherVal)
188 }
189 }
190}
191
192func GetFactory() TestFactoryT {
193 return testFactory

Callers 1

toVectorPartyFunction · 0.70

Calls 2

SetBoolMethod · 0.65
SetValueMethod · 0.65

Tested by

no test coverage detected