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

Interface LiveVectorParty

memstore/common/vector_party.go:160–177  ·  view source on GitHub ↗

LiveVectorParty represents vector party in live store

Source from the content-addressed store, hash-verified

158
159// LiveVectorParty represents vector party in live store
160type 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
180type ArchiveVectorParty interface {

Callers 30

SetBoolMethod · 0.65
setDataValueFunction · 0.65
writeBatchRecordsMethod · 0.65
setValidityMethod · 0.65
SetDataValueMethod · 0.65
vector_test.goFile · 0.65
setDataValueFunction · 0.65
recovery_test.goFile · 0.65
SetValueMethod · 0.65
setDataValueFunction · 0.65

Implementers 4

cLiveVectorPartymemstore/live_vector_party.go
goLiveVectorPartymemstore/live_vector_party.go
LiveVectorPartymemstore/list/live_vector_party.go
LiveVectorPartymemstore/common/mocks/LiveVectorParty.

Calls

no outgoing calls

Tested by

no test coverage detected