Commit Graph

77 Commits

Author SHA1 Message Date
Linary d213166eb2
Support to create graph dynamically (#1065)
* Support to create graph dynamically
* merge gremlin-server graphs and specified graphs
* Just use graphs directory as the graph source
* use notify() instead of call() of Eventhub for graph add/remove
* merge clone graph into create graph

Implement #165

Change-Id: I03d3e606d6292acec46a7725094c05fe84a6c9cd

Co-authored-by: zhangyi51 <zhangyi51@baidu.com>
2021-12-24 19:25:11 +08:00
zhoney 69ac3cc072
support schema-api to return all schema of a graph (#1567)
* upgrade api version to 0.66

Change-Id: I37ca09dcedfd81612f470ef8661effe35323c223
2021-08-18 14:52:03 +08:00
zhoney ef37b3ac96
support olap writeback for cassandra and rocksdb (#1506)
* support olap writeback for cassandra and rocksdb
* add olap property key tests
* clear vertex cache when olap pk changed
* support config data disk for olap pk when using rocksdb backend
* rename read frequency to write type

Change-Id: I947c3a96eb7aa67ee9eff5f7fb248e9f4539e91b
2021-07-22 23:53:49 +08:00
zyxxoo 6bff777a51
feat: support auth-project api (#1504) 2021-07-07 14:35:48 +08:00
ShouJing 9ee9fe12f3
feat: implement auth login + token (#1500) 2021-06-24 22:50:53 +08:00
Jermy Li bc9a5a85a4
Add compact api for rocksdb/cassandra/hbase backend (#1378)
* add compact api for rocksdb/cassandra/hbase backend
* increase and standardize some metrics
* increase metrics for cassandra/hbase and unify display format
* fix codecov missing some files coverage by jacococli
* add ScyllaDBMetrics
* make cassandra compact in the scope of keyspace

Change-Id: I26660b28b64089f3b636020e721659db3466267b
2021-06-11 15:57:20 +08:00
imbajin de81038c21
refact: unify naming of degree for oltp algorithms (#1433)
* refact: remove redundant packaging
* refact: keep compatible with degree in 'step'
* update api version to 0.61
2021-05-12 14:15:05 +08:00
Linary 39b9474eda
Let snapshot saved disk same as rocksdb data path (#1392)
* The goal is to ensure that snapshots can be generated in hard link
* Add create and resume snapshot API
* Use checkpoint when resume snapshot
* Refactor some code in RocksDBStdSessions

Change-Id: I88b39003107652f6ff8eae071e88dc888dd21959
2021-04-01 18:05:49 +08:00
Linary e05850b5d5
Upgrade version to 0.12.0 (#1372)
Change-Id: Ia7eab6e7c88816234204ec6e60fc807f25e71212
2021-03-26 18:00:34 +08:00
zhoney 59a680c9b3
Support graph read mode and set list aggregate property (#1332)
* add GraphReadMode
* add ReadFrequency
* support aggregate type set and list
* upgrade api version to 0.59

Change-Id: I5db5a1bc91c14b659bbba27c2ad15b40245bc62a
2021-01-14 22:11:10 +08:00
zhoney d5cc79b329
Custom kout/kneighbor, multi-node-shortest-path, jaccard-similar and template paths (#1174)
* Add customized kout/kneighbor, template path, multi-node-shortest-path and jaccard similar
* fix OLTP algorithm not check if source/target vertex exist (#1156)
* support customized kout and kneighbor
* support multi node shortest path API
* support template paths api
* support jaccard similars find oltp api
* use multi-thread to accelerate
* big depth and both direction use multi threads, otherwise single threead
* fix shortest path api NLP
* Szzq paths improve (#51)
* template path use concurrent HashSet to save paths in concurrent mode
* support property filter for paths api
* fix configuration not supported with auth (#55)
* template path supports repeat times args (#57)
* paths supports nearest args
* oltp multiple threads reuse
* add multiple thread depth config
* fix group perperty can't be empty
* upgrade api version to 58
* move customized kout/kneighbor to kout/kneighbor
* move jaccard similar into jaccard similarity
* fix kout/kneighbor withVertex not work
* rebase ramtable
* extract common traverser from template paths traversers
* extract path traverser for template paths and collection paths
* normalize traverser

implements: #1173

Change-Id: I85aa1d4274554d65f85a0deb7ac596e65dbb503b
2020-10-28 17:58:45 +08:00
zhoney 3cac836005
add rebuild(boolean) for index label create (#1106)
implements: #1105

Change-Id: I6d399bf0d90f6c91ab64c2bdd01edcb4a35c0a50
2020-07-24 17:55:52 +08:00
Jermy Li 395435ced0
Show schema status in schema API (#1035)
fix #800

Change-Id: I08b0e1c642915b739a152a54e84972e82843bc5a
2020-06-17 19:25:18 +08:00
zhoney 31c1288715
support results count for kneighbor/kout/rings (#995)
* support count api to accelerate kneighbor/kout count

implement: #994

Change-Id: Ieb7702a1bb8304391585704469cc7c7f6b07f565
2020-05-26 19:40:58 +08:00
zhoney cadc15ab86
support ttl for vertex and edge (#794)
* support edgeLabel ttl
* extract async deletion from serializer to GraphIndexTransaction
* change HugeIndex structure
* support vertex label ttl
* move expired objects delete out of gtx
* get now time from tx
* add ttl filed in BackendEntry for Cassandra and Hbase
* set tx openedTime in setOpened() of transaction

implemented: #295

Change-Id: I16a762c5aa850f14cbd554d29fb8592db87e7619
2020-05-14 11:07:38 +08:00
Jermy Li 409bdbb83b
add grant permission api (#985)
* add grant permission api
* upgrade version to 0.11.1
* share usermanager

Change-Id: I58e6e5a8c950ad74fc1ccbcee8e8ca28d48a27e9
2020-05-11 15:33:41 +08:00
Jermy Li a24f7ecdd4
Support range query for rest api like P.gt(18)/P.lt(3.14) (#782)
implement: #781

Change-Id: I4a4b8a78708dff1a27d0168b27b77958ee9fcfde
2020-04-06 19:49:06 +08:00
zhoney 04607d01b8
add 5 TP algorithm (#919)
1. same neighbors
2. jaccard similarity
3. all shortest paths
4. weighted shortest path
5. single source shortest paths

Change-Id: I84788b5145fadb91b8b0d97c66c2f62e12c8294e
2020-04-05 19:05:21 +08:00
Linary ef68289633 Record create time when create schema (#746)
Change-Id: I8a1156d4262969c1b287f1eac999614549d81b3a
2019-12-24 17:37:51 +08:00
zhoney 60ab1d8cd0 support fusiform similarity API (#671)
implemented: #670

Change-Id: I3b3bc58716b9cb4d88fa5dfe0975773310a74d5a
2019-11-27 17:00:26 +08:00
Linary dbf5eb53cb Upgrade version to 0.11.0 (#739)
Change-Id: I565dbbe34f746ca5d7fed0f29bdd6e0bf46b4675
2019-11-11 14:24:13 +08:00
zhoney 275b6d3f0d upgrade hugegraph-core jar version to 0.10.4 (#736)
Change-Id: I1f89c42cc58d595cdf9be1b0d788d1c6ffe68121
2019-11-07 16:25:12 +08:00
Linary 2eae9c393a Support get schema by names (#686)
Change-Id: Id188751189ddd651a32604fb364410bcf857745d
2019-10-14 15:56:07 +08:00
zhoney 00faffdf74 support aggregate property (#693)
implemented: #691

Change-Id: I340d7be28090718537e1a531147f1e1155a1beb5
2019-10-12 17:32:28 +08:00
Jermy Li 3ef07e0e38 fix uuid serialize (#694)
Change-Id: I4615dacacdc818302563e11bd58c616a3b1cef03
2019-09-27 11:27:07 +08:00
imbajin 9d8ceb4dfc Optimize update logic & add a new strategy (#673)
1. if original data is not null but new data is null, use original data instead of null
2. add update strategy "OVERRIDE"
2019-09-24 20:26:07 +08:00
zhoney 1e01920552 support unique index (#636)
implemented: #633

Change-Id: I753a81d0d47b0d7979563d5a9f41d368e06a5b33
2019-08-19 21:27:42 +08:00
zhoney 0e66c64fec support shard-index and vertex + sortkey prefix query (#574)
implemented: #270 and #398

Change-Id: I444b67b7f57a18fd32c29d54d776cf411ccd847a
2019-08-06 11:16:52 +08:00
Linary b01549a579 Not allowed perform sensitive operations via gremlin (#176)
Implement #145

Change-Id: I9a590fe40d3b5a808b569ed0af8fd83214a2941a
2019-07-29 14:21:40 +08:00
imbajin 3fcfce2bb7 Support batch updating elements' property by multiple strategy (#493)
support strategies:
  SUM, BIGGER, SMALLER on Number or Date
  UNION, INTERSECTION, APPEND, ELIMINATE on Collection
2019-07-23 18:36:49 +08:00
zhoney 8d23665a40 Add source_in_ring args for rings API (#528)
fixed: #523
Change-Id: If8c5cc4d8678f847ce4a5f0388e56aae465d3ea6
2019-07-01 22:01:24 +08:00
Linary abebfac25c Add api white list and rate limiter for gc (#522)
Also add ProfileAPI
Change-Id: Ia7ac5dc5d7d91676701738f2a0ae5073f9ceb01e
2019-05-31 17:06:40 +08:00
Linary bed8a6ea03 Bump up to version 0.10.0 (#471)
Change-Id: I49314313781c73436e3370d2a6334adfbc142d96
2019-05-06 22:43:01 -05:00
Linary 2890c96e67 Add personalrank and neighborrank RESTful API (#274)
Change-Id: I66e4224b5813aa2d5eadbfe540fb9de203db766b
2019-04-18 22:14:27 -05:00
zhoney 7c7ffe0e97 add skip_degree arg for shortest-path API (#433)
implements: #391

Change-Id: I6e1916c709b329aa97fde8e2e165703088278e19

Co-authored-by:platypus0127 <platypus0127@gmail.com>
Co-authored-by:zhoney <zhangyi89817@126.com>
2019-04-08 10:15:40 +08:00
zhoney c4ca312c5d
Support paging for scan api (#428)
implemented: #360

Change-Id: Idea152b3d53ef519c7ed9847ee9e65092b264e08
2019-04-02 17:39:29 +08:00
Jermy Li 582793d893 Revert "Support paging for scan api (#361)" (#427)
This reverts commit 60d8d8fe86.
2019-04-02 14:20:25 +08:00
zhoney 60d8d8fe86 Support paging for scan api (#361)
implemented: #360

Change-Id: Idea152b3d53ef519c7ed9847ee9e65092b264e08
2019-03-27 20:06:10 +08:00
Linary c50c34a904 Support pagination when single index query (#328)
Support pagination when single index query

Change-Id: Iab355a9f68cebd8ebc666cf126842eb19fa40240
2019-03-27 16:22:34 +08:00
Linary 1e8e7bdc14 Let VertexAPI use simplified property serializer (#332)
Implement #307

Change-Id: I7e47b75160ff240157aec30c1e9b4690a3412e4e
2019-03-12 06:23:14 -05:00
zhoney 1a059fa1a9 implement customized path and crosspoints API (#306)
implemented: #305

Change-Id: I31edf93fafc91854ffe7b9ec36c97aeda1b18088
2019-03-11 04:58:36 -05:00
zhangyi51 2480347ab9 keep depth and degree consistent for traverser api
fixed: #250

Change-Id: I0b429c00032c0cdf80090b8350be90f6f2b3f74b
2018-12-17 16:52:35 +08:00
liningrui f2c99cf6c6 Bump up to version 0.9.0
Change-Id: I420ee1581a56ad26656722d2fccbce9e1df7d943
2018-12-13 11:47:40 +08:00
zhangyi51 255df7e945 hugegraph-1379 support restore graph in restoring mode and merging mode
implement: #182

Change-Id: I7c2c85435af01c5d27279076d0473685b8f23f34
2018-11-21 19:07:52 +08:00
zhoney 30fbc72a21 make create index label return async job if exists
fixed #32

Change-Id: I8e23bd0dfcbe65d8f580f957143fcc1802c879f6
2018-11-16 19:30:36 +08:00
zhoney 82b361c7f3 add rays and rings restful api
fix #39

Change-Id: I41f82b73cee0ce657b3bcaaf1a68cf3479788fbf
2018-11-07 16:20:24 +08:00
liningrui dbb44c0a26 Add task cancel API
Implement #153

Change-Id: Iadc6221f9ba4d7e2cb55c851aced364394d12cbb
2018-11-06 18:01:15 +08:00
liningrui 22d3e60f44 HugeGraph-622: Bump up to version 0.8.0
Change-Id: I5d59b6c42d5bbddbc8f97e7c61ac065c545f3d0f
2018-08-10 15:43:31 +08:00
zhangyi51 22c5b7762b hugegraph-889 async implementation of schema deletion and index rebuild
Change-Id: I94e6bb3b5e12097fbe3b7278df625b317137e38b
2018-08-09 20:23:25 +08:00
liningrui 3bdb0e0991 HugeGraph-1273: Add metrics API to monitor status of HugeGraphServer
Change-Id: I5fe0db33e21c3e45df798f91d8e0b3e9c952dd1e
2018-08-09 18:17:34 +08:00