Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kirov7/CouloyDB
/ functions
Functions
564 in github.com/Kirov7/CouloyDB
⨍
Functions
564
◇
Types & classes
103
↓ 1 callers
Method
update
update modifies the expiration time of a job in the heap.
public/ds/timeHeap.go:128
↓ 1 callers
Method
updateHashIndex
()
txn.go:332
↓ 1 callers
Method
updateListIndex
()
txn.go:376
↓ 1 callers
Method
updateSetIndex
()
txn.go:354
↓ 1 callers
Method
updateStrIndex
()
txn.go:319
↓ 1 callers
Method
watched
(key string)
watch.go:86
Method
ActivateObject
(ctx context.Context, object *pool.PooledObject)
server/resp/client/pool.go:36
Method
Add
Add inserts a string element in the consistent hash.
public/utils/consistent/consistent.go:60
Method
AsArray
()
eval.go:116
Method
AsBool
()
eval.go:108
Method
AsInt
()
eval.go:73
Method
AsString
()
eval.go:100
Method
Build
()
eval.go:202
Function
BuildScript
(raw ...string)
eval.go:65
Method
Clear
()
db.go:272
Method
Clear
()
server/database/datastruct/dict/couloyDict.go:111
Method
Close
()
iterator.go:52
Method
Close
()
public/ds/eventQueue.go:52
Method
Close
()
data/dataFile.go:127
Method
Close
()
driver/mmap.go:42
Method
Close
()
driver/fileIO.go:31
Method
Close
()
server/server.go:37
Method
Close
Close stops handler
server/resp/handler.go:46
Method
Close
Close stops asynchronous goroutines and close connection
server/resp/client/client.go:69
Method
Close
Close stops current node of cluster
server/database/clusterdb.go:86
Method
Close
Close graceful shutdown database
server/database/mutildb.go:59
Method
Close
()
server/database/mutildb.go:115
Method
Close
()
meta/hmap.go:132
Method
Close
()
meta/art.go:172
Method
Close
()
meta/btree.go:147
Method
Commit
()
batch.go:62
Function
ConcatBytes
(a, b []byte)
public/utils/bytex/bytex.go:31
Method
Count
()
meta/hmap.go:52
Method
Count
()
meta/art.go:47
Method
Count
()
meta/btree.go:55
Method
DeclareArray
(name string, values []string)
eval.go:165
Function
DefaultBatchOptions
()
options.go:38
Method
Del
Del delete data to the db, but instead of writing it back to memtable, it writes to pendingWrites first
txn.go:448
Method
Del
(key string)
eval.go:197
Method
Del
(key []byte)
batch.go:40
Method
Del
(key []byte)
meta/hmap.go:32
Method
Del
(key []byte)
meta/art.go:40
Method
Del
(key []byte)
meta/btree.go:43
Method
DestroyObject
(ctx context.Context, object *pool.PooledObject)
server/resp/client/pool.go:22
Method
Else
(fn func(builder *LuaScriptBuilder))
eval.go:153
Method
ElseIf
(condition string, fn func(builder *LuaScriptBuilder))
eval.go:148
Method
Error
()
server/resp/reply/reply.go:127
Method
Error
()
server/resp/reply/errors.go:13
Method
Error
()
server/resp/reply/errors.go:27
Method
Error
()
server/resp/reply/errors.go:54
Method
Error
()
server/resp/reply/errors.go:68
Method
Error
()
server/resp/reply/errors.go:84
Method
Eval
(script luaScript)
eval.go:10
Method
Exec
Exec executes command on cluster
server/database/clusterdb.go:91
Method
Exec
Exec executes command parameter `cmdLine` contains command and its arguments, for example: "set key value"
server/database/mutildb.go:37
Method
Exec
Exec executes command within one database
server/database/mutildb.go:101
Method
Exist
(key string)
server/database/datastruct/dict/couloyDict.go:99
Method
For
(init, condition, step string, fn func(builder *LuaScriptBuilder))
eval.go:159
Method
ForEach
(consumer Consumer)
server/database/datastruct/dict/couloyDict.go:76
Method
Get
Get returns an element close to where name hashes to in the circle.
public/utils/consistent/consistent.go:130
Method
Get
(key interface{})
server/sliceRouter.go:53
Method
Get
(key string)
server/database/datastruct/dict/couloyDict.go:22
Method
Get
(key []byte)
meta/hmap.go:24
Method
Get
(key []byte)
meta/art.go:30
Method
Get
(key []byte)
meta/btree.go:31
Method
GetArrayLength
(name string)
eval.go:175
Method
GetN
GetN returns the N closest distinct elements to the name input in the circle.
public/utils/consistent/consistent.go:182
Method
GetTwo
GetTwo returns the two closest distinct elements to the name input in the circle.
public/utils/consistent/consistent.go:153
Method
GetValueFromArray
(name, index string)
eval.go:179
Method
If
(condition string, fn func(builder *LuaScriptBuilder))
eval.go:142
Method
IsAborted
()
server/sliceRouter.go:114
Method
IsClusterOptions
()
server/resp/options/options.go:18
Method
Iterator
(reverse bool)
meta/hmap.go:40
Method
Iterator
(reverse bool)
meta/art.go:54
Method
Iterator
(reverse bool)
meta/btree.go:68
Method
Key
()
iterator.go:42
Method
Key
()
meta/hmap.go:124
Method
Key
()
meta/art.go:156
Method
Key
()
meta/btree.go:139
Method
Keys
()
server/database/datastruct/dict/couloyDict.go:83
Method
Keys
()
server/database/datastruct/dict/dict.go:15
Method
LIndex
(key []byte, index int)
txnList.go:49
Method
LRange
(key []byte, start, stop int)
txnList.go:61
Method
LRem
(key []byte, index int)
txnList.go:57
Method
LSet
(key []byte, index int, value []byte)
txnList.go:53
Method
LTrim
(key []byte, start, stop int)
txnList.go:65
Method
Len
()
txn.go:640
Method
Len
()
txnSet_test.go:415
Method
Len
Len returns the number of jobs in the heap.
public/ds/timeHeap.go:107
Method
Len
Len returns the length of the uints array.
public/utils/consistent/consistent.go:19
Method
Len
()
server/database/datastruct/dict/couloyDict.go:33
Method
Less
(i, j int)
txn.go:641
Method
Less
(i, j int)
txnSet_test.go:416
Method
Less
Less reports whether the job with index i should sort before the job with index j.
public/ds/timeHeap.go:112
Method
Less
Less returns true if element i is less than element j.
public/utils/consistent/consistent.go:22
Method
Less
(bi btree.Item)
meta/btree.go:64
Function
ListenAndServe
(addr string, handler TCPHandler)
server/server.go:48
Method
MakeObject
(ctx context.Context)
server/resp/client/pool.go:13
Function
MakeSyntaxErrReply
MakeSyntaxErrReply creates syntax error
server/resp/reply/errors.go:45
Method
NewIterator
(options IteratorOptions)
iterator.go:14
← previous
next →
301–400 of 564, ranked by callers