LiveVectorParty represents vector party in live store
| 158 | |
| 159 | // LiveVectorParty represents vector party in live store |
| 160 | type LiveVectorParty interface { |
| 161 | VectorParty |
| 162 | |
| 163 | // Note for all following functions, data type are not checked. So callee need to perform the data type check |
| 164 | // and call the correct SetXXX function. |
| 165 | |
| 166 | // If we already know this is a bool vp, we can set bool directly without constructing a data value struct. |
| 167 | SetBool(offset int, val bool, valid bool) |
| 168 | // Set value via a unsafe.Pointer directly. |
| 169 | SetValue(offset int, val unsafe.Pointer, valid bool) |
| 170 | // Set go value directly. |
| 171 | SetGoValue(offset int, val GoDataValue, valid bool) |
| 172 | // Get value directly |
| 173 | GetValue(offset int) (unsafe.Pointer, bool) |
| 174 | // GetMinMaxValue get min and max value, |
| 175 | // returns uint32 value since only valid for time column |
| 176 | GetMinMaxValue() (min, max uint32) |
| 177 | } |
| 178 | |
| 179 | // ArchiveVectorParty represents vector party in archive store |
| 180 | type ArchiveVectorParty interface { |
no outgoing calls
no test coverage detected