Documentation ¶
Index ¶
- Variables
- func BFAdd(key []byte, values [][]byte) error
- func BFCreate(key []byte, n uint32, p float64) error
- func BFDel(key []byte) error
- func BFExist(key []byte, values [][]byte) ([]bool, error)
- func BSCount(key []byte) (uint32, error)
- func BSCountRange(key []byte, start uint32, end uint32) (uint32, error)
- func BSCreate(key []byte, size uint32) error
- func BSDel(key []byte) error
- func BSGetRange(key []byte, start uint32, end uint32) ([]bool, error)
- func BSMGet(key []byte, bits []uint32) ([]bool, error)
- func BSMSet(key []byte, bits []uint32, value bool) error
- func BSSetRange(key []byte, start uint32, end uint32, value bool) error
- func CleanSubscribeServer(subscribeServer *pb.SDB_SubscribeServer)
- func Del(key []byte) error
- func GHAdd(key []byte, points []*pb.Point) error
- func GHCount(key []byte) (uint32, error)
- func GHCreate(key []byte, precision int32) error
- func GHDel(key []byte) error
- func GHGetBoxes(key []byte, latitude float64, longitude float64) ([]*pb.Point, error)
- func GHGetNeighbors(key []byte, latitude float64, longitude float64) ([]*pb.Point, error)
- func GHMembers(key []byte) ([]*pb.Point, error)
- func GHPop(key []byte, ids [][]byte) error
- func Get(key []byte) ([]byte, error)
- func GetStopChannel(subscribeServer *pb.SDB_SubscribeServer) chan bool
- func HLLAdd(key []byte, values [][]byte) error
- func HLLCount(key []byte) (uint32, error)
- func HLLCreate(key []byte) error
- func HLLDel(key []byte) error
- func Incr(key []byte, delta int32) error
- func LCount(key []byte) (uint32, error)
- func LDel(key []byte) error
- func LExist(key []byte, values [][]byte) ([]bool, error)
- func LLPush(key []byte, values [][]byte) error
- func LMembers(key []byte) ([][]byte, error)
- func LPop(key []byte, values [][]byte) error
- func LRPush(key []byte, values [][]byte) error
- func LRange(key []byte, offset int32, limit uint32) ([][]byte, error)
- func MCount(key []byte) (uint32, error)
- func MDel(key []byte) error
- func MExist(key []byte, keys [][]byte) ([]bool, error)
- func MGet(keys [][]byte) ([][]byte, error)
- func MMembers(key []byte) ([]*pb.Pair, error)
- func MPop(key []byte, keys [][]byte) error
- func MPush(key []byte, pairs []*pb.Pair) error
- func MSet(keys [][]byte, values [][]byte) error
- func PAdd(dataType pb.DataType, key []byte, batch engine.Batch) error
- func PDel(dataType pb.DataType, key []byte, batch engine.Batch) error
- func PList(dataType pb.DataType, key []byte, offset int32, limit uint32) ([][]byte, error)
- func Publish(request *pb.PublishRequest) (bool, error)
- func SCount(key []byte) (uint32, error)
- func SDel(key []byte) error
- func SExist(key []byte, values [][]byte) ([]bool, error)
- func SMembers(key []byte) ([][]byte, error)
- func SPop(key []byte, values [][]byte) error
- func SPush(key []byte, values [][]byte) error
- func Set(key []byte, value []byte) error
- func SetNX(key []byte, value []byte) error
- func Subscribe(topic []byte, subscribeServer *pb.SDB_SubscribeServer) (bool, error)
- func ZCount(key []byte) (uint32, error)
- func ZDel(key []byte) error
- func ZExist(key []byte, values [][]byte) ([]bool, error)
- func ZMembers(key []byte) ([]*pb.Tuple, error)
- func ZPop(key []byte, values [][]byte) error
- func ZPush(key []byte, tuples []*pb.Tuple) error
- func ZRange(key []byte, offset int32, limit uint32) ([]*pb.Tuple, error)
- type DataType
Constants ¶
This section is empty.
Variables ¶
View Source
var BitsetExistError = errors.New("bitset exist, please delete it or change other")
View Source
var BitsetRangeError = errors.New("bitset out of range, please check it")
View Source
var BloomFilterExistError = errors.New("bloom filter exist, please delete it or change other")
View Source
var GeoHashExistError = errors.New("geo hash exist, please delete it or change other")
View Source
var GeoHashInvalidIdError = errors.New("id can not be equals to key, please change other id")
View Source
var HyperLogLogExistError = errors.New("hyper log log exist, please delete it or change other")
View Source
var NotFoundBitsetError = errors.New("not found bitset, please create it")
View Source
var NotFoundBloomFilterError = errors.New("not found bloom filter, please create it")
View Source
var NotFoundGeoHashError = errors.New("not found geo hash, please create it")
View Source
var NotFoundHyperLogLogError = errors.New("not found hyper log log, please create it")
Functions ¶
func CleanSubscribeServer ¶
func CleanSubscribeServer(subscribeServer *pb.SDB_SubscribeServer)
func GHGetBoxes ¶
func GHGetNeighbors ¶
func GetStopChannel ¶
func GetStopChannel(subscribeServer *pb.SDB_SubscribeServer) chan bool
Types ¶
Click to show internal directories.
Click to hide internal directories.