重构:清理项目结构和完善文档
- 添加完整的 DOCS.md 文档(1376 行) - 更新 README.md,增强项目说明 - 清理临时示例和测试数据 - 删除诊断工具(已完成测试) - 为 webui 示例准备测试数据 - 优化 .gitignore 配置 - 增强 Query 和 Schema 功能 - 改进 SSTable 编码处理
This commit is contained in:
20
examples/webui/data/database.meta
Normal file
20
examples/webui/data/database.meta
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"version": 1,
|
||||
"tables": [
|
||||
{
|
||||
"name": "users",
|
||||
"dir": "users",
|
||||
"created_at": 1760073183
|
||||
},
|
||||
{
|
||||
"name": "products",
|
||||
"dir": "products",
|
||||
"created_at": 1760073183
|
||||
},
|
||||
{
|
||||
"name": "logs",
|
||||
"dir": "logs",
|
||||
"created_at": 1760073184
|
||||
}
|
||||
]
|
||||
}
|
||||
1
examples/webui/data/logs/CURRENT
Normal file
1
examples/webui/data/logs/CURRENT
Normal file
@@ -0,0 +1 @@
|
||||
MANIFEST-000001
|
||||
BIN
examples/webui/data/logs/MANIFEST-000001
Normal file
BIN
examples/webui/data/logs/MANIFEST-000001
Normal file
Binary file not shown.
38
examples/webui/data/logs/schema.json
Normal file
38
examples/webui/data/logs/schema.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"version": 1,
|
||||
"timestamp": 1760073184,
|
||||
"checksum": "3ebde7026b498f38e4dd85058c995fff4a1a51bdb5a1254ead9a7e89030b1b76",
|
||||
"schema": {
|
||||
"Name": "logs",
|
||||
"Fields": [
|
||||
{
|
||||
"Name": "group",
|
||||
"Type": 13,
|
||||
"Indexed": true,
|
||||
"Nullable": false,
|
||||
"Comment": "Log group (A-E)"
|
||||
},
|
||||
{
|
||||
"Name": "timestamp",
|
||||
"Type": 13,
|
||||
"Indexed": false,
|
||||
"Nullable": false,
|
||||
"Comment": "Timestamp"
|
||||
},
|
||||
{
|
||||
"Name": "data",
|
||||
"Type": 13,
|
||||
"Indexed": false,
|
||||
"Nullable": false,
|
||||
"Comment": "Random data"
|
||||
},
|
||||
{
|
||||
"Name": "size_bytes",
|
||||
"Type": 5,
|
||||
"Indexed": false,
|
||||
"Nullable": false,
|
||||
"Comment": "Data size in bytes"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
1
examples/webui/data/logs/wal/CURRENT
Normal file
1
examples/webui/data/logs/wal/CURRENT
Normal file
@@ -0,0 +1 @@
|
||||
151
|
||||
1
examples/webui/data/products/CURRENT
Normal file
1
examples/webui/data/products/CURRENT
Normal file
@@ -0,0 +1 @@
|
||||
MANIFEST-000001
|
||||
BIN
examples/webui/data/products/MANIFEST-000001
Normal file
BIN
examples/webui/data/products/MANIFEST-000001
Normal file
Binary file not shown.
38
examples/webui/data/products/schema.json
Normal file
38
examples/webui/data/products/schema.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"version": 1,
|
||||
"timestamp": 1760073183,
|
||||
"checksum": "6bfaccc47c2ff24f377b6536a800591958a3680be4f99e8f78c1d8e22e78afd4",
|
||||
"schema": {
|
||||
"Name": "products",
|
||||
"Fields": [
|
||||
{
|
||||
"Name": "product_name",
|
||||
"Type": 13,
|
||||
"Indexed": true,
|
||||
"Nullable": false,
|
||||
"Comment": "Product name"
|
||||
},
|
||||
{
|
||||
"Name": "price",
|
||||
"Type": 12,
|
||||
"Indexed": false,
|
||||
"Nullable": false,
|
||||
"Comment": "Price"
|
||||
},
|
||||
{
|
||||
"Name": "quantity",
|
||||
"Type": 5,
|
||||
"Indexed": false,
|
||||
"Nullable": false,
|
||||
"Comment": "Quantity"
|
||||
},
|
||||
{
|
||||
"Name": "category",
|
||||
"Type": 13,
|
||||
"Indexed": false,
|
||||
"Nullable": false,
|
||||
"Comment": "Category"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
1
examples/webui/data/products/wal/CURRENT
Normal file
1
examples/webui/data/products/wal/CURRENT
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
1
examples/webui/data/users/CURRENT
Normal file
1
examples/webui/data/users/CURRENT
Normal file
@@ -0,0 +1 @@
|
||||
MANIFEST-000001
|
||||
BIN
examples/webui/data/users/MANIFEST-000001
Normal file
BIN
examples/webui/data/users/MANIFEST-000001
Normal file
Binary file not shown.
38
examples/webui/data/users/schema.json
Normal file
38
examples/webui/data/users/schema.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"version": 1,
|
||||
"timestamp": 1760073183,
|
||||
"checksum": "da17386c778ecfe06d2560097e7e6daa241f59de569517db3cca7424aec345f4",
|
||||
"schema": {
|
||||
"Name": "users",
|
||||
"Fields": [
|
||||
{
|
||||
"Name": "name",
|
||||
"Type": 13,
|
||||
"Indexed": true,
|
||||
"Nullable": false,
|
||||
"Comment": "User name"
|
||||
},
|
||||
{
|
||||
"Name": "email",
|
||||
"Type": 13,
|
||||
"Indexed": false,
|
||||
"Nullable": false,
|
||||
"Comment": "Email address"
|
||||
},
|
||||
{
|
||||
"Name": "age",
|
||||
"Type": 5,
|
||||
"Indexed": false,
|
||||
"Nullable": false,
|
||||
"Comment": "Age"
|
||||
},
|
||||
{
|
||||
"Name": "city",
|
||||
"Type": 13,
|
||||
"Indexed": false,
|
||||
"Nullable": false,
|
||||
"Comment": "City"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
1
examples/webui/data/users/wal/CURRENT
Normal file
1
examples/webui/data/users/wal/CURRENT
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
Reference in New Issue
Block a user