-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement RamTable #1183
implement RamTable #1183
Conversation
* implement RamTable * plugin ramtable to StandardHugeGrap.edges(query) * plugin ramtable to GraphTransaction.queryEdgesFromBackend(Query query) * allow config vertices/edges capacity of ramtable * tiny improve: remove empty line and delete IntLongMap * support concurrent loading * fix edge direction of result is set to BOTH when query with BOTH Change-Id: I4e1a5c06bd331dc29a92dcb76843990863dfe6ca
Change-Id: I8765582ba4e9b5fe8de4300719612a84bfce89a3
…low int) (#58) Change-Id: Icfaba2550c7ee8892d98b1fbb736645e3d3820d1
… without props Change-Id: I92cb10fbf0f7acd818a70723bc0dbd988ca89132
Change-Id: Iecfb5bad535e4954a325eb45b1d9def53fdb31c0 usage: graph.reloadRamtable(true)
this.readRateLimiter = readLimit > 0 ? | ||
RateLimiter.create(readLimit) : null; | ||
|
||
boolean ramtable = config.get(CoreOptions.QUERY_RAMTABLE_ENABLE); | ||
if (!ramtable) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if(ramtable) is more understandable
private Void runAndDone() { | ||
try { | ||
this.run(); | ||
this.done(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is better to put this.done in finally clause.
Change-Id: I7ccd8ab674c0333d0a35930d0822b198954d6bd7
a084212
to
e910426
Compare
Codecov Report
@@ Coverage Diff @@
## master #1183 +/- ##
============================================
+ Coverage 64.45% 65.70% +1.24%
- Complexity 5596 5729 +133
============================================
Files 356 361 +5
Lines 28929 29429 +500
Branches 4066 4158 +92
============================================
+ Hits 18646 19335 +689
+ Misses 8395 8134 -261
- Partials 1888 1960 +72
Continue to review full report at Codecov.
|
Change-Id: I4e1a5c06bd331dc29a92dcb76843990863dfe6ca