hugegraph-sync/hugegraph-commons/hugegraph-common
V_Galaxy f6f3708197
BREAKING CHANGE(server): support "parent & child" EdgeLabel type (#2662)
HugeGraph supports the parent-child edge feature, meaning that an Edgelabel can have a subordinate type. Using the bank transfer graph as an example, transfers may include person-to-person transfers (person-to-person), person-to-company transfers (person-to-company), and company-to-company transfers (company-to-company). These three different types of transfers share a common operation, transfer.

In actual business scenarios, it is often necessary to retrieve all transfer edges with a single query. Currently, competitors can only manually split the transfer edge types, perform multiple queries, and then aggregate the results. With HugeGraph's parent-child edge feature, it is possible to query the corresponding person-to-person transfers, person-to-company transfers, and other sub-edge types, and also conveniently and efficiently retrieve all transfer-related edges at once.

PS: The parent-child edge feature for the cassandra and scylladb backends has been temporarily disabled through the store feature. 

> Code formatting will be done separately in the next PR.

Related to:
- https://github.com/apache/incubator-hugegraph/issues/745
- https://github.com/apache/incubator-hugegraph/issues/447
2024-10-10 00:15:32 +08:00
..
src BREAKING CHANGE(server): support "parent & child" EdgeLabel type (#2662) 2024-10-10 00:15:32 +08:00
README.md git mv to hugegraph-commons 2024-08-03 20:34:23 +08:00
build.sh git mv to hugegraph-commons 2024-08-03 20:34:23 +08:00
pom.xml chore: fix lombok compiling error and error for list cast to string (#2592) 2024-09-28 22:45:22 +08:00

README.md

hugegraph-common

License Build Status codecov Maven Central

hugegraph-common is a common module for HugeGraph and its peripheral components. hugegraph-common encapsulates locks, configurations, events, iterators, rest and some numeric or collection util classes to simplify the development of HugeGraph and its components.

Components

  • Lock: atomic lock, key lock, lock group and lock manger
  • Config: register and load config option with security check
  • Event: listening and notification, do something asynchronously
  • Iterator: some iterators with extra functions, map, filter, extend, etc.
  • Rest: RESTful client implemented on Jersey, POST, PUT, GET and DELETE
  • Util: Performance analyzer, version checker, numeric and Collection utils, log and exception utils, etc.

Licence

The same as HugeGraph, hugegraph-common is also licensed under Apache 2.0 License.