MCPcopy Create free account
hub / github.com/distributedio/titan / Value

Method Value

db/set.go:82–85  ·  view source on GitHub ↗

Value returns the member pointed by iter

()

Source from the content-addressed store, hash-verified

80
81// Value returns the member pointed by iter
82func (siter *SetIter) Value() []byte {
83 res := siter.Iter.Key()[len(siter.Prefix):]
84 return res
85}
86
87// Valid judgies whether the key directed by iter has the same prifix
88func (siter *SetIter) Valid() bool {

Callers 14

doExpireFunction · 0.80
SUnionFunction · 0.80
LessMethod · 0.80
SInterFunction · 0.80
SDiffFunction · 0.80
HGetAllMethod · 0.80
HScanMethod · 0.80
KeysMethod · 0.80
LPopMethod · 0.80
RPopMethod · 0.80
indexValueNMethod · 0.80
indexValueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected