Support graph read mode and set/list aggregate property by zhoney · Pull Request #1332 · apache/hugegraph
| public HugeGraph graph(); | ||
| public String name(); | ||
| public GraphMode mode(); | ||
| public GraphReadMode graphReadMode(); |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
readMode
| private DataType dataType; | ||
| private Cardinality cardinality; | ||
| private AggregateType aggregateType; | ||
| private boolean olap; |
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
| Assert.assertEquals(120L, edge.value("times")); | ||
| Assert.assertEquals(ImmutableSet.of(21, 22, 23), | ||
| edge.value("port")); | ||
| Assert.assertEquals(ImmutableList.of(21, 22, 23, 23), |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
calcList effected?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
Linary
deleted the
read-mode-and-set-list-agg
branch
javeme
changed the title
Support graph read mode and set list aggregate property
Support graph read mode and set/list aggregate property
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters