SafeDestruct destructs all vectors of this vector party. Corresponding pointer should be set as nil after destruction.
()
| 123 | // SafeDestruct destructs all vectors of this vector party. Corresponding pointer should be set |
| 124 | // as nil after destruction. |
| 125 | func (vp *cVectorParty) SafeDestruct() { |
| 126 | if vp != nil { |
| 127 | vp.values.SafeDestruct() |
| 128 | vp.values = nil |
| 129 | vp.nulls.SafeDestruct() |
| 130 | vp.nulls = nil |
| 131 | vp.counts.SafeDestruct() |
| 132 | vp.counts = nil |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | // GetBytes returns space occupied by this vector party. |
| 137 | func (vp *cVectorParty) GetBytes() int64 { |
nothing calls this directly
no test coverage detected