-
Notifications
You must be signed in to change notification settings - Fork 525
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
Support graph read mode and set/list aggregate property #1332
Conversation
Change-Id: Ic2e651970193b16e7e94fe2c73e58392079a2af5
Change-Id: Ic8d18c111d016cb12ee0fa62a847205b72c7a5b7
Change-Id: Id0b3c025a93112f6dfaaa0e0f886ba9a35a40fc8
Change-Id: I1e1f906b76c5fdba65cb16b7269697d3100ae054
Change-Id: I18d999df2a7dd64f4e95926ca06d1caabd28193e
Codecov Report
@@ Coverage Diff @@
## master #1332 +/- ##
============================================
- Coverage 62.32% 62.31% -0.02%
- Complexity 5770 5799 +29
============================================
Files 377 379 +2
Lines 31553 31657 +104
Branches 4422 4434 +12
============================================
+ Hits 19666 19727 +61
- Misses 9887 9924 +37
- Partials 2000 2006 +6
Continue to review full report at Codecov.
|
@@ -40,6 +41,7 @@ | |||
public HugeGraph graph(); | |||
public String name(); | |||
public GraphMode mode(); | |||
public GraphReadMode graphReadMode(); |
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.
readMode
@@ -45,12 +45,14 @@ | |||
private DataType dataType; | |||
private Cardinality cardinality; | |||
private AggregateType aggregateType; | |||
private boolean olap; |
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.
prefer define enum ReadFrequency include OLTP and OLAP, maybe we'll add OLTP_COLD in the future
edge = graph.traversal().V("10.0.0.1").outE().next(); | ||
Assert.assertEquals(Utils.date("2019-1-1 00:00:00"), | ||
edge.value("startTime")); | ||
Assert.assertEquals(Utils.date("2019-2-1 00:20:00"), | ||
edge.value("endTime")); | ||
Assert.assertEquals(120L, edge.value("times")); | ||
Assert.assertEquals(ImmutableSet.of(21, 22, 23), | ||
edge.value("port")); | ||
Assert.assertEquals(ImmutableList.of(21, 22, 23, 23), |
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.
calcList effected?
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.
yes
Change-Id: I5db5a1bc91c14b659bbba27c2ad15b40245bc62a
No description provided.