Support batch update element properties with strategies (#97)
authorimbajin <imbajin@users.noreply.github.com>
Wed, 9 Oct 2019 09:09:23 +0000 (17:09 +0800)
committerLinary <liningrui@vip.qq.com>
Wed, 9 Oct 2019 09:09:23 +0000 (17:09 +0800)
commitd58937d998e8d517666294fd32ce11f24fc61cd1
treed0811468c3111545e3b6f312a1904d64a098f158
parent3fb6b3f4c9b6761af26cb3bec99689312896c444
Support batch update element properties with strategies (#97)

The strategy in JSON is case sensitive now, wait for jackthon update to V2.9+ to support case-insensitive original
src/main/java/com/baidu/hugegraph/loader/struct/ElementStruct.java
src/main/java/com/baidu/hugegraph/loader/task/BatchInsertTask.java
src/main/java/com/baidu/hugegraph/loader/task/InsertTask.java
src/main/java/com/baidu/hugegraph/loader/task/SingleInsertTask.java
src/test/java/com/baidu/hugegraph/loader/test/functional/FileLoadTest.java
src/test/java/com/baidu/hugegraph/loader/test/functional/FileUtil.java
src/test/resources/update_by_strategy/invalid_strategy_struct.json [new file with mode: 0644]
src/test/resources/update_by_strategy/schema.groovy [new file with mode: 0644]
src/test/resources/update_by_strategy/struct.json [new file with mode: 0644]