tostore library

Tostore is a high-performance distributed data storage engine that builds intelligent data networks using multi-partition parallel mechanisms and interconnected topologies.

Key features:

  • Precise table structure change detection and automatic migration
  • Encryption protection and multi-space architecture
  • Isolate parallel processing to fully utilize multi-core performance
  • Cross-platform support from mobile edge devices to cloud servers
  • Multiple distributed primary key algorithms and horizontal node expansion

Tostore provides a distributed data foundation for immersive virtual-real fusion, multimodal interaction, 3D spatial features, generative AI, and semantic vector space modeling.

Classes

DataStoreConfig
data store config
DbResult
Database operation result model Used to represent the result of database operations (insert, update, delete, etc.)
DistributedNodeConfig
Distributed node configuration
FieldSchema
field schema
FieldSchemaUpdate
model for field update, allow explicit distinction of whether a value is set
IndexSchema
index schema
LogConfig
global log config
MigrationOperation
migration operation
MigrationStatus
migration task status
MigrationTask
migration task, for storing table structure, table data migration operations
PrimaryKeyConfig
Primary key configuration
QueryCondition
Query Condition Builder
QueryResult<T>
query result class
SequentialIdConfig
Sequential primary key configuration
SpaceInfo
Information about a space in the database
TableInfo
table info
TableSchema
table schema
ToStore
High-performance storage engine Features:
VectorData
Represents vector data for machine learning and similarity search operations
VectorFieldConfig
Vector field configuration
VectorIndexConfig
Vector Index Configuration (for future vector search capabilities)

Enums

BusinessErrorType
business error type
DataType
data type enum
DefaultValueType
Field default value type
IndexType
index type enum
LogLevel
Log level, each level represents showing logs of that level and higher
LogType
MigrationType
Migration operation type
PrimaryKeyType
Primary key generation method
ResultType
Database operation result status type 0 represents complete success Positive numbers represent partial success or special success status -1 represents unknown error -2 ~ -30 represent common business errors -90 ~ -99 represent system errors
VectorDistanceMetric
Vector distance metric for similarity calculations
VectorIndexType
Vector index type for future use
VectorPrecision
Vector precision options

Extensions

VectorMethods on VectorData
Vector utility methods extension

Exceptions / Errors

BusinessError
business error