GetValidity implements GetValidity in cVectorParty
(offset int)
| 159 | |
| 160 | // GetValidity implements GetValidity in cVectorParty |
| 161 | func (vp *cVectorParty) GetValidity(offset int) bool { |
| 162 | if vp.columnMode == common.AllValuesDefault { |
| 163 | return vp.defaultValue.Valid |
| 164 | } |
| 165 | return vp.nulls == nil || vp.nulls.GetBool(offset) |
| 166 | } |
| 167 | |
| 168 | // GetDataValue returns the DataValue for the specified index. |
| 169 | // It first check validity of the value, then it check whether it's a |