GetDataValueByRow implements GetDataValueByRow in cVectorParty
(row int)
| 194 | |
| 195 | // GetDataValueByRow implements GetDataValueByRow in cVectorParty |
| 196 | func (vp *cVectorParty) GetDataValueByRow(row int) common.DataValue { |
| 197 | offset := row |
| 198 | if vp.GetMode() == common.HasCountVector { |
| 199 | offset = vp.counts.UpperBound(0, vp.counts.Size, unsafe.Pointer(&row)) - 1 |
| 200 | } |
| 201 | return vp.GetDataValue(offset) |
| 202 | } |
| 203 | |
| 204 | // SetDataValue implements SetDataValue in cVectorParty |
| 205 | func (vp *cVectorParty) SetDataValue(offset int, value common.DataValue, countsUpdateMode common.ValueCountsUpdateMode, counts ...uint32) { |
nothing calls this directly
no test coverage detected