incubator-hugegraph icon indicating copy to clipboard operation
incubator-hugegraph copied to clipboard

[Question] type 有 18 种 分别都是那些

Open Tommu10ve opened this issue 6 months ago • 1 comments

Problem Type (问题类型)

None

Before submit

  • [x] 我已经确认现有的 IssuesFAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)

Environment (环境信息)

  • Server Version: 1.0.0 (Apache Release Version)
  • Backend: RocksDB x nodes, HDD or SSD
  • OS: xx CPUs, xx G RAM, Ubuntu 2x.x / CentOS 7.x
  • Data Size: xx vertices, xx edges

Your Question (问题描述)

type 有 18 种 分别都是那些

Vertex/Edge example (问题点 / 边数据举例)


Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)


Tommu10ve avatar Jun 17 '25 03:06 Tommu10ve

HugeGraph 的代码和文档中没有明确提到“18种 type”,但核心类型主要定义在 HugeType.java 里,包括 schema 类型(如 VERTEX_LABEL、EDGE_LABEL、PROPERTY_KEY、INDEX_LABEL)、数据类型(如 VERTEX、EDGE、EDGE_OUT、EDGE_IN)、以及多种索引类型(如 SECONDARY_INDEX、RANGE_INT_INDEX、SEARCH_INDEX、UNIQUE_INDEX 等),还有系统类型(如 TASK、SERVER、SYS_SCHEMA)等。你可以参考 HugeType 的完整定义,具体类型包括但不限于:

VERTEX_LABEL、EDGE_LABEL、PROPERTY_KEY、INDEX_LABEL、VERTEX、EDGE、EDGE_OUT、EDGE_IN、SECONDARY_INDEX、VERTEX_LABEL_INDEX、EDGE_LABEL_INDEX、RANGE_INT_INDEX、RANGE_FLOAT_INDEX、RANGE_LONG_INDEX、RANGE_DOUBLE_INDEX、SEARCH_INDEX、SHARD_INDEX、UNIQUE_INDEX、TASK、SERVER、SYS_SCHEMA 等源码参考

如果你说的“18种 type”是指某个具体的 API、存储或业务场景下的类型子集,建议补充下具体上下文,我可以帮你进一步定位。

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

dosubot[bot] avatar Jun 17 '25 03:06 dosubot[bot]

Due to the lack of activity, the current issue is marked as stale and will be closed after 20 days, any update will remove the stale label

github-actions[bot] avatar Jul 02 '25 21:07 github-actions[bot]