Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/accretional/collector
/ functions
Functions
726 in github.com/accretional/collector
⨍
Functions
726
◇
Types & classes
79
↓ 1 callers
Method
registerCoreTypes
registerCoreTypes registers the core collector message types
pkg/bootstrap/system_collections.go:509
↓ 1 callers
Function
run
()
cmd/main.go:22
↓ 1 callers
Function
run
()
cmd/server/main.go:17
↓ 1 callers
Function
serializeVector
(v []float32)
pkg/db/sqlite/store.go:988
↓ 1 callers
Function
stringContains
(s, substr string)
pkg/integration/type_validation_test.go:163
↓ 1 callers
Method
updateMessageType
updateMessageType updates an existing message type registration
pkg/bootstrap/type_registry.go:112
↓ 1 callers
Method
validateDependencies
validateDependencies checks that all dependencies exist and there are no circular dependencies Dependencies are resolved by searching the current name
pkg/registry/registry.go:117
↓ 1 callers
Function
vectorExtensionAvailable
(t *testing.T)
pkg/collection/semantics_test.go:615
↓ 1 callers
Method
worker
()
pkg/collection/system_logger.go:43
↓ 1 callers
Method
writeLog
(logEntry *pb.SystemLog)
pkg/collection/system_logger.go:49
Method
Attach
Attach links a secondary collection to the primary one using SQLite's ATTACH DATABASE.
pkg/collection/combination.go:12
Method
Backup
(ctx context.Context, destPath string)
pkg/collection/backup_test.go:104
Method
BackupCollection
BackupCollection creates a backup of a collection.
pkg/collection/grpc_server.go:110
Method
BackupFilesPath
BackupFilesPath generates a backup files directory path. Format: {DataDir}/.backup/{namespace}/{collectionname}-{timestampseconds}.files
pkg/collection/paths.go:83
Function
BenchmarkBackupWithLoad
BenchmarkBackupWithLoad measures backup performance under load
pkg/db/sqlite/backup_test.go:741
Function
BenchmarkBootstrap
(b *testing.B)
pkg/bootstrap/system_collections_test.go:505
Function
BenchmarkConcurrentReads
(b *testing.B)
pkg/collection/benchmark_test.go:162
Function
BenchmarkCreateRecord
(b *testing.B)
pkg/collection/benchmark_test.go:12
Function
BenchmarkGetRecord
(b *testing.B)
pkg/collection/benchmark_test.go:32
Function
BenchmarkListRecords
(b *testing.B)
pkg/collection/benchmark_test.go:80
Function
BenchmarkSearch_FullText
(b *testing.B)
pkg/collection/benchmark_test.go:104
Function
BenchmarkSearch_JSONBFilter
(b *testing.B)
pkg/collection/benchmark_test.go:132
Function
BenchmarkUpdateRecord
(b *testing.B)
pkg/collection/benchmark_test.go:57
Method
Checkpoint
(ctx context.Context)
pkg/collection/collection.go:138
Method
Checkpoint
(ctx context.Context)
pkg/collection/backup_test.go:96
Method
Checkpoint
(ctx context.Context)
pkg/db/sqlite/store.go:436
Method
Clone
Clone clones a collection either locally or to a remote collector.
pkg/collection/grpc_server.go:63
Method
CloneFallback
CloneFallback uses VACUUM INTO as a fallback if Backup is not available. Note: This acquires locks and may block writes temporarily.
pkg/collection/transport.go:48
Method
CloneToLocal
CloneToLocal creates a local copy of a collection.
pkg/collection/fetch.go:95
Method
Close
()
pkg/collection/system_logger.go:38
Method
Close
Close closes the underlying collection (if needed).
pkg/collection/collection_registry_store.go:197
Method
Close
()
pkg/collection/backup_test.go:52
Method
Close
()
pkg/collection/registry_store.go:24
Method
Close
Close closes all resources. Should be called when the server is no longer needed.
pkg/server/server.go:410
Method
Close
Close closes all system collections
pkg/bootstrap/system_collections.go:539
Method
ConnectTo
ConnectTo initiates a connection to another collector.
pkg/dispatch/connection_manager.go:203
Method
CopyFile
CopyFile copies a file from srcPath to destPath within this filesystem.
pkg/fs/local/filesystem.go:204
Method
CountRecords
(ctx context.Context)
pkg/collection/backup_test.go:86
Method
CreateCollection
(ctx context.Context, collection *pb.Collection)
pkg/collection/clone_simple_test.go:160
Method
CreateCollection
CreateCollection creates a new collection.
pkg/collection/service.go:35
Method
CreateCollection
CreateCollection forwards the request to the underlying repository.
pkg/collection/grpc_server.go:38
Method
CreateCollection
CreateCollection creates a new collection.
pkg/collection/repo.go:90
Method
CreateCollection
(ctx context.Context, collection *pb.Collection)
pkg/collection/backup_test.go:549
Method
CreateRecord
(ctx context.Context, r *pb.CollectionRecord)
pkg/collection/backup_test.go:60
Method
Debug
(msg string, args ...any)
pkg/collection/system_logger.go:128
Method
Debug
(msg string, args ...any)
pkg/logging/logger.go:30
Method
Debug
(msg string, args ...any)
pkg/logging/logger.go:40
Function
DefaultAuthInterceptor
DefaultAuthInterceptor is a no-op interceptor that allows all requests.
pkg/security/interceptor.go:16
Function
DefaultJSONConverterFactory
DefaultJSONConverterFactory returns converters for system types only. For unknown types, returns nil which triggers the store's fallback behavior (use
pkg/collection/json_converter.go:96
Method
Delete
Delete removes a file at the given path.
pkg/fs/local/filesystem.go:110
Method
DeleteBackup
DeleteBackup removes backup metadata.
pkg/collection/backup.go:302
Method
DeleteBackup
DeleteBackup deletes a backup.
pkg/collection/grpc_server.go:152
Method
DeleteCollection
(ctx context.Context, req *pb.DeleteCollectionRequest)
pkg/collection/clone_simple_test.go:167
Method
DeleteCollection
DeleteCollection forwards the request to the underlying repository.
pkg/collection/grpc_server.go:43
Method
DeleteCollection
DeleteCollection deletes a collection and all its data.
pkg/collection/repo.go:142
Method
DeleteCollection
DeleteCollection removes a collection from the registry. System namespace collections cannot be deleted.
pkg/collection/collection_registry_store.go:172
Method
DeleteCollection
(ctx context.Context, req *pb.DeleteCollectionRequest)
pkg/collection/backup_test.go:560
Method
DeleteCollection
(ctx context.Context, namespace, name string)
pkg/collection/registry_store.go:22
Method
DeleteRecord
(ctx context.Context, id string)
pkg/collection/collection.go:122
Method
DeleteRecord
(ctx context.Context, id string)
pkg/collection/backup_test.go:78
Method
DeleteRecord
(ctx context.Context, id string)
pkg/db/sqlite/store.go:362
Method
Discover
(ctx context.Context, req *pb.DiscoverRequest)
pkg/collection/clone_simple_test.go:174
Method
Discover
Discover finds collections based on the provided criteria.
pkg/collection/service.go:81
Method
Discover
Discover forwards the request to the underlying repository.
pkg/collection/grpc_server.go:48
Method
Discover
Discover finds collections based on the provided criteria.
pkg/collection/repo.go:239
Method
Discover
(ctx context.Context, req *pb.DiscoverRequest)
pkg/collection/backup_test.go:572
Method
Embed
Splits text on whitespace and hashes tokens into the vector space.
pkg/collection/deterministic_embedder.go:22
Method
Embed
(ctx context.Context, text string)
pkg/collection/semantics_test.go:310
Method
Error
(msg string, args ...any)
pkg/collection/system_logger.go:131
Method
Error
()
pkg/collection/semantics_test.go:318
Method
Error
(msg string, args ...any)
pkg/logging/logger.go:43
Method
Error
()
pkg/dispatch/dispatcher_registry_test.go:54
Function
EstimateCollectionSize
EstimateCollectionSize estimates the total size of a collection including files.
pkg/collection/transport.go:287
Method
ExecuteRaw
(query string, args ...interface{})
pkg/collection/backup_test.go:111
Method
Exists
Exists checks if a file exists at the given path.
pkg/fs/local/filesystem.go:242
Method
Fetch
Fetch fetches a collection from a remote collector.
pkg/collection/grpc_server.go:85
Method
FetchFromStream
FetchFromStream reads collection data from an io.Reader and writes to localPath.
pkg/collection/fetch.go:58
Method
FetchRemoteDB
FetchRemoteDB downloads a collection database from a remote URL. The URL should point to a collection database file or packaged collection.
pkg/collection/fetch.go:33
Method
FetchWithProgress
(ctx context.Context, url string, localPath string, progress ProgressReporter)
pkg/collection/fetch.go:102
Method
GetActiveConnection
GetActiveConnection returns an active connection by ID.
pkg/dispatch/connection_manager.go:384
Method
GetCollection
(ctx context.Context, namespace, name string)
pkg/registry/integration_test.go:266
Method
GetCollection
(ctx context.Context, namespace, name string)
pkg/collection/clone_simple_test.go:192
Method
GetCollection
(ctx context.Context, namespace, name string)
pkg/collection/backup_test.go:590
Method
GetCollection
(ctx context.Context, namespace, name string)
pkg/collection/registry_store.go:20
Method
GetRecord
(ctx context.Context, id string)
pkg/collection/backup_test.go:70
Method
Info
(msg string, args ...any)
pkg/collection/system_logger.go:129
Method
Info
(msg string, args ...any)
pkg/logging/logger.go:41
Function
IsReservedNamespace
IsReservedNamespace checks if a namespace is reserved.
pkg/collection/validation.go:141
Method
List
List returns all files under the given prefix.
pkg/fs/local/filesystem.go:125
Method
ListActiveConnections
ListActiveConnections returns all active connections.
pkg/dispatch/connection_manager.go:393
Method
ListBackupPaths
ListBackupPaths lists all backup database files for a collection. Returns sorted list (oldest to newest).
pkg/collection/paths.go:123
Method
ListBackups
ListBackups lists available backups.
pkg/collection/grpc_server.go:124
Method
ListCollections
ListCollections returns all collections, optionally filtered by namespace.
pkg/collection/collection_registry_store.go:129
Method
ListRecords
(ctx context.Context, offset, limit int)
pkg/collection/collection.go:126
Method
ListRecords
(ctx context.Context, offset, limit int)
pkg/collection/backup_test.go:82
Method
ListRecords
(ctx context.Context, offset, limit int)
pkg/db/sqlite/store.go:386
Method
MoveFile
MoveFile moves a file from srcPath to destPath within this filesystem.
pkg/fs/local/filesystem.go:215
Method
OpenReader
OpenReader opens a file for reading.
pkg/fs/local/filesystem.go:261
Method
OpenWriter
OpenWriter opens a file for writing.
pkg/fs/local/filesystem.go:277
Method
Pack
Pack prepares a collection for network transport. Creates a tarball containing the database and optionally files.
pkg/collection/transport.go:66
← previous
next →
301–400 of 726, ranked by callers