* 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
fix delete/read without READ permission throw 'no such id'
this patch define delete/update requires read permission, an ForbiddenException
is thrown when there is no read permission instead 'No such vertex with id: xx'.
fix rest api depend on gremlin permission, updated to not depend on gremlin.
fix expired time is inaccurate due to call now() before tx open()
refactor edgesOfVertex() to unified entrance with EdgeStep
Change-Id: I0d8cfd3d4b7d8ccaf10721249f8d9f86b53b442e
fix: hugegraph-test-811, hugegraph-test-837, hugegraph-test-846
* support permission for property
* add creator property for users class
* redefine resource type
* define all objects as resources
Change-Id: I90ea2d1bf955db5cdd629879261152bfea48b6da
* fix permission overflow from return results
also:
* hide private methods and fields for reflection that require permissions
* delete stale index of task directly
add HugeGraph.java and TaskScheduler.java: separate commits to avoid no git diff
implement: #209
Change-Id: Iccfbd47c213e1e13122190d1242778031e8a957c
* support users auth
* implement authenticate()
* support fine-grained access control
* add permission access edge label
* fix admin
* support gremlin permission details control
* commit manually
* fix some errors of new code
* use BCrypt to check password
implement: #209
Change-Id: I6492c284b6677b9dd1ef545aaf08c5d6e5cf8ad7
* fix iter gloabal
* Manually close the iterators
* catch locks in every batch
* limit iterator to list
* improve cache iter
* fix system index-label graph() return null
* add QueryResults.one() method
* fix BatchIdHolder dead loop with batchSize=0
* fix test iterators don't be closed
* add option query.batch_size
* force limit BatchIdHolder.all()
* adapt ListIterator.list() return Collection<T>
* set default value of check_customized_id_exist option to false
* fix cassandra oom
* fix offset bug
* Increase limit for intersection
* fix check subRows().size() <= INLINE_BATCH_SIZE
Change-Id: I13daaa513b2f5ddc69bcae4d548f263ad1f5b08d
Also move some methods from class SchemaManger to class HugeGraph, these methods are used to fetch schema object by inner code.
Change-Id: Ie6a5ba550a019819dbb2bbc5fb6fc4e1a6197e2c