Awesome
[!WARNING] All contents of this repository have been migrated to https://github.com/apache/hugegraph/tree/master/hugegraph-commons. This repository will be archived soon.
hugegraph-commons
hugegraph-commons is a common module for HugeGraph and its peripheral components. hugegraph-commons 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 OkHttp, POST, PUT, GET and DELETE
- Util: performance analyzer, version checker, numeric and Collection utils, log and exception utils, etc.
- Rpc: rpc component for inner module communication, currently it's based on Sofa-RPC
You could use import the dependencies in maven
like this:
<dependency>
<groupId>org.apache.hugegraph</groupId>
<artifactId>hugegraph-common</artifactId>
<version>1.2.0</version>
</dependency>
Learn More
The doc page contains more information about hugegraph modules.
And here are links of other repositories:
- hugegraph-server (graph's core component - OLTP server)
- hugegraph-toolchain (include loader/dashboard/tool/client)
- hugegraph-computer (graph processing system - OLAP)
- hugegraph-website/doc (include doc & website code)
Contributing
- Welcome to contribute to HugeGraph, please see How to Contribute for more information.
- Note: It's recommended to use GitHub Desktop to greatly simplify the PR and commit process.
- Thank you to all the people who already contributed to HugeGraph!
Licence
Same as HugeGraph, hugegraph-commons are also licensed under Apache 2.0 License.
Contact Us
- GitHub Issues: Feedback on usage issues and functional requirements (quick response)
- Feedback Email: dev@hugegraph.apache.org (subscriber only)
- WeChat public account: Apache HugeGraph, welcome to scan this QR code to follow us.