MCPcopy Create free account

hub / github.com/accretional/collector / functions

Functions726 in github.com/accretional/collector

↓ 1 callersMethodregisterCoreTypes
registerCoreTypes registers the core collector message types
pkg/bootstrap/system_collections.go:509
↓ 1 callersFunctionrun
()
cmd/main.go:22
↓ 1 callersFunctionrun
()
cmd/server/main.go:17
↓ 1 callersFunctionserializeVector
(v []float32)
pkg/db/sqlite/store.go:988
↓ 1 callersFunctionstringContains
(s, substr string)
pkg/integration/type_validation_test.go:163
↓ 1 callersMethodupdateMessageType
updateMessageType updates an existing message type registration
pkg/bootstrap/type_registry.go:112
↓ 1 callersMethodvalidateDependencies
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 callersFunctionvectorExtensionAvailable
(t *testing.T)
pkg/collection/semantics_test.go:615
↓ 1 callersMethodworker
()
pkg/collection/system_logger.go:43
↓ 1 callersMethodwriteLog
(logEntry *pb.SystemLog)
pkg/collection/system_logger.go:49
MethodAttach
Attach links a secondary collection to the primary one using SQLite's ATTACH DATABASE.
pkg/collection/combination.go:12
MethodBackup
(ctx context.Context, destPath string)
pkg/collection/backup_test.go:104
MethodBackupCollection
BackupCollection creates a backup of a collection.
pkg/collection/grpc_server.go:110
MethodBackupFilesPath
BackupFilesPath generates a backup files directory path. Format: {DataDir}/.backup/{namespace}/{collectionname}-{timestampseconds}.files
pkg/collection/paths.go:83
FunctionBenchmarkBackupWithLoad
BenchmarkBackupWithLoad measures backup performance under load
pkg/db/sqlite/backup_test.go:741
FunctionBenchmarkBootstrap
(b *testing.B)
pkg/bootstrap/system_collections_test.go:505
FunctionBenchmarkConcurrentReads
(b *testing.B)
pkg/collection/benchmark_test.go:162
FunctionBenchmarkCreateRecord
(b *testing.B)
pkg/collection/benchmark_test.go:12
FunctionBenchmarkGetRecord
(b *testing.B)
pkg/collection/benchmark_test.go:32
FunctionBenchmarkListRecords
(b *testing.B)
pkg/collection/benchmark_test.go:80
FunctionBenchmarkSearch_FullText
(b *testing.B)
pkg/collection/benchmark_test.go:104
FunctionBenchmarkSearch_JSONBFilter
(b *testing.B)
pkg/collection/benchmark_test.go:132
FunctionBenchmarkUpdateRecord
(b *testing.B)
pkg/collection/benchmark_test.go:57
MethodCheckpoint
(ctx context.Context)
pkg/collection/collection.go:138
MethodCheckpoint
(ctx context.Context)
pkg/collection/backup_test.go:96
MethodCheckpoint
(ctx context.Context)
pkg/db/sqlite/store.go:436
MethodClone
Clone clones a collection either locally or to a remote collector.
pkg/collection/grpc_server.go:63
MethodCloneFallback
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
MethodCloneToLocal
CloneToLocal creates a local copy of a collection.
pkg/collection/fetch.go:95
MethodClose
()
pkg/collection/system_logger.go:38
MethodClose
Close closes the underlying collection (if needed).
pkg/collection/collection_registry_store.go:197
MethodClose
()
pkg/collection/backup_test.go:52
MethodClose
()
pkg/collection/registry_store.go:24
MethodClose
Close closes all resources. Should be called when the server is no longer needed.
pkg/server/server.go:410
MethodClose
Close closes all system collections
pkg/bootstrap/system_collections.go:539
MethodConnectTo
ConnectTo initiates a connection to another collector.
pkg/dispatch/connection_manager.go:203
MethodCopyFile
CopyFile copies a file from srcPath to destPath within this filesystem.
pkg/fs/local/filesystem.go:204
MethodCountRecords
(ctx context.Context)
pkg/collection/backup_test.go:86
MethodCreateCollection
(ctx context.Context, collection *pb.Collection)
pkg/collection/clone_simple_test.go:160
MethodCreateCollection
CreateCollection creates a new collection.
pkg/collection/service.go:35
MethodCreateCollection
CreateCollection forwards the request to the underlying repository.
pkg/collection/grpc_server.go:38
MethodCreateCollection
CreateCollection creates a new collection.
pkg/collection/repo.go:90
MethodCreateCollection
(ctx context.Context, collection *pb.Collection)
pkg/collection/backup_test.go:549
MethodCreateRecord
(ctx context.Context, r *pb.CollectionRecord)
pkg/collection/backup_test.go:60
MethodDebug
(msg string, args ...any)
pkg/collection/system_logger.go:128
MethodDebug
(msg string, args ...any)
pkg/logging/logger.go:30
MethodDebug
(msg string, args ...any)
pkg/logging/logger.go:40
FunctionDefaultAuthInterceptor
DefaultAuthInterceptor is a no-op interceptor that allows all requests.
pkg/security/interceptor.go:16
FunctionDefaultJSONConverterFactory
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
MethodDelete
Delete removes a file at the given path.
pkg/fs/local/filesystem.go:110
MethodDeleteBackup
DeleteBackup removes backup metadata.
pkg/collection/backup.go:302
MethodDeleteBackup
DeleteBackup deletes a backup.
pkg/collection/grpc_server.go:152
MethodDeleteCollection
(ctx context.Context, req *pb.DeleteCollectionRequest)
pkg/collection/clone_simple_test.go:167
MethodDeleteCollection
DeleteCollection forwards the request to the underlying repository.
pkg/collection/grpc_server.go:43
MethodDeleteCollection
DeleteCollection deletes a collection and all its data.
pkg/collection/repo.go:142
MethodDeleteCollection
DeleteCollection removes a collection from the registry. System namespace collections cannot be deleted.
pkg/collection/collection_registry_store.go:172
MethodDeleteCollection
(ctx context.Context, req *pb.DeleteCollectionRequest)
pkg/collection/backup_test.go:560
MethodDeleteCollection
(ctx context.Context, namespace, name string)
pkg/collection/registry_store.go:22
MethodDeleteRecord
(ctx context.Context, id string)
pkg/collection/collection.go:122
MethodDeleteRecord
(ctx context.Context, id string)
pkg/collection/backup_test.go:78
MethodDeleteRecord
(ctx context.Context, id string)
pkg/db/sqlite/store.go:362
MethodDiscover
(ctx context.Context, req *pb.DiscoverRequest)
pkg/collection/clone_simple_test.go:174
MethodDiscover
Discover finds collections based on the provided criteria.
pkg/collection/service.go:81
MethodDiscover
Discover forwards the request to the underlying repository.
pkg/collection/grpc_server.go:48
MethodDiscover
Discover finds collections based on the provided criteria.
pkg/collection/repo.go:239
MethodDiscover
(ctx context.Context, req *pb.DiscoverRequest)
pkg/collection/backup_test.go:572
MethodEmbed
Splits text on whitespace and hashes tokens into the vector space.
pkg/collection/deterministic_embedder.go:22
MethodEmbed
(ctx context.Context, text string)
pkg/collection/semantics_test.go:310
MethodError
(msg string, args ...any)
pkg/collection/system_logger.go:131
MethodError
()
pkg/collection/semantics_test.go:318
MethodError
(msg string, args ...any)
pkg/logging/logger.go:43
MethodError
()
pkg/dispatch/dispatcher_registry_test.go:54
FunctionEstimateCollectionSize
EstimateCollectionSize estimates the total size of a collection including files.
pkg/collection/transport.go:287
MethodExecuteRaw
(query string, args ...interface{})
pkg/collection/backup_test.go:111
MethodExists
Exists checks if a file exists at the given path.
pkg/fs/local/filesystem.go:242
MethodFetch
Fetch fetches a collection from a remote collector.
pkg/collection/grpc_server.go:85
MethodFetchFromStream
FetchFromStream reads collection data from an io.Reader and writes to localPath.
pkg/collection/fetch.go:58
MethodFetchRemoteDB
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
MethodFetchWithProgress
(ctx context.Context, url string, localPath string, progress ProgressReporter)
pkg/collection/fetch.go:102
MethodGetActiveConnection
GetActiveConnection returns an active connection by ID.
pkg/dispatch/connection_manager.go:384
MethodGetCollection
(ctx context.Context, namespace, name string)
pkg/registry/integration_test.go:266
MethodGetCollection
(ctx context.Context, namespace, name string)
pkg/collection/clone_simple_test.go:192
MethodGetCollection
(ctx context.Context, namespace, name string)
pkg/collection/backup_test.go:590
MethodGetCollection
(ctx context.Context, namespace, name string)
pkg/collection/registry_store.go:20
MethodGetRecord
(ctx context.Context, id string)
pkg/collection/backup_test.go:70
MethodInfo
(msg string, args ...any)
pkg/collection/system_logger.go:129
MethodInfo
(msg string, args ...any)
pkg/logging/logger.go:41
FunctionIsReservedNamespace
IsReservedNamespace checks if a namespace is reserved.
pkg/collection/validation.go:141
MethodList
List returns all files under the given prefix.
pkg/fs/local/filesystem.go:125
MethodListActiveConnections
ListActiveConnections returns all active connections.
pkg/dispatch/connection_manager.go:393
MethodListBackupPaths
ListBackupPaths lists all backup database files for a collection. Returns sorted list (oldest to newest).
pkg/collection/paths.go:123
MethodListBackups
ListBackups lists available backups.
pkg/collection/grpc_server.go:124
MethodListCollections
ListCollections returns all collections, optionally filtered by namespace.
pkg/collection/collection_registry_store.go:129
MethodListRecords
(ctx context.Context, offset, limit int)
pkg/collection/collection.go:126
MethodListRecords
(ctx context.Context, offset, limit int)
pkg/collection/backup_test.go:82
MethodListRecords
(ctx context.Context, offset, limit int)
pkg/db/sqlite/store.go:386
MethodMoveFile
MoveFile moves a file from srcPath to destPath within this filesystem.
pkg/fs/local/filesystem.go:215
MethodOpenReader
OpenReader opens a file for reading.
pkg/fs/local/filesystem.go:261
MethodOpenWriter
OpenWriter opens a file for writing.
pkg/fs/local/filesystem.go:277
MethodPack
Pack prepares a collection for network transport. Creates a tarball containing the database and optionally files.
pkg/collection/transport.go:66
← previousnext →301–400 of 726, ranked by callers