tips:
- this feat works when auth mode was set.
- this feat works when white ip status was enabled.
because now PD is unavailable,just use java list; when pd ready , we can checkout pd.
- Support label & property filtering for both edge and vertex and the filtering is implemented in Kout Post and Kneighbor - Post Apis, reducing unnecessary graph searches through pruning
- Support Kout dfs mode in Kout Post Api
Originally only edge label filtering was supported, now label and property filtering for edge and vertex is supported.
- add classes VEStepEntity and VEStep to support serialization in request
- add class Steps to support filtering of edge and vertex in runtime(core)
- add new method edgesOfVertex(Id source, Steps steps) to support label and property filtering for both edge and vertex in HugeTraverser.java
---------
Co-authored-by: imbajin <jin@apache.org>
* chore: improve gitignore file
* feat: add ApiMeasure to collect runtime data
ApiMeasure will count the number of vertices and edges traversed at runtime, and the time the api takes to execute
* feat: Add ApiMeasure to JsonSerializer and Modify the Serializer interface
* JsonSerializer: return measure information in api response
* Serializer: fit the feature that returns complete information about vertices and edges
* refactor: format code based on hugegraph-style.xml
* feat: Add statistics information in all oltp restful apis response and Support full information about vertices and edges
Statistics information:
* add vertexIterCounter and edgeIterCounter in HugeTraverser.java to track traversed vertices and edges at run time
* modify all oltp restful apis to add statistics information in response
Full information about vertices and edges:
* add 'with_vertex' and 'with_edge' parameter option in apis
* modify oltp apis to support vertex and edge information in api response
* add EdgeRecord in HugeTraverser.java to record edges at run time and generate the edge information returned in api response
* modify Path and PathSet in HugeTraverser.java to support full edge information storage
* modify all traversers to support track of edge information at run time
* fix: numeric cast
* fix: Jaccard Similarity api test
* fix: adjust the code style and naming convention
* Empty commit
* Empty commit
* fix:
1. change System.currentTimeMillis() to System.nanoTime();
2. modify addCount()
* fix: rollback change in .gitignore
* fix: rollback ServerOptions.java code style
* fix: rollback API.java code style and add exception in else branch
* fix: fix code style
* fix: name style & code style
* rename edgeRecord to edgeResults
* fix Request class code style in SameNeighborsAPI.java