add copy() and assign() methods to Value class (#49)
authorJermy Li <javaloveme@gmail.com>
Wed, 19 May 2021 11:56:19 +0000 (19:56 +0800)
committerGitHub <noreply@github.com>
Wed, 19 May 2021 11:56:19 +0000 (19:56 +0800)
commitb1408eb75ca14ab56b97f65d96a6902b69e26fa2
tree468e6e8de8b8f4e2d2e8554e072b2b1d82fb78f4
parenta125f78aae966640e452e5e1ed1aa41d5f1cd261
add copy() and assign() methods to Value class (#49)

* add Value.copy()+assign() method
* add IntValueSumCombiner and FloatValueSumCombiner
24 files changed:
computer-api/src/main/java/com/baidu/hugegraph/computer/core/combiner/FloatValueSumCombiner.java [new file with mode: 0644]
computer-api/src/main/java/com/baidu/hugegraph/computer/core/combiner/IntValueSumCombiner.java [new file with mode: 0644]
computer-api/src/main/java/com/baidu/hugegraph/computer/core/graph/value/BooleanValue.java
computer-api/src/main/java/com/baidu/hugegraph/computer/core/graph/value/DoubleValue.java
computer-api/src/main/java/com/baidu/hugegraph/computer/core/graph/value/FloatValue.java
computer-api/src/main/java/com/baidu/hugegraph/computer/core/graph/value/IdValue.java
computer-api/src/main/java/com/baidu/hugegraph/computer/core/graph/value/IntValue.java
computer-api/src/main/java/com/baidu/hugegraph/computer/core/graph/value/ListValue.java
computer-api/src/main/java/com/baidu/hugegraph/computer/core/graph/value/LongValue.java
computer-api/src/main/java/com/baidu/hugegraph/computer/core/graph/value/NullValue.java
computer-api/src/main/java/com/baidu/hugegraph/computer/core/graph/value/Value.java
computer-api/src/main/java/com/baidu/hugegraph/computer/core/graph/value/ValueType.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/combiner/CombinerTestSuite.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/combiner/FloatValueSumCombinerTest.java [new file with mode: 0644]
computer-test/src/main/java/com/baidu/hugegraph/computer/core/combiner/IntValueSumCombinerTest.java [new file with mode: 0644]
computer-test/src/main/java/com/baidu/hugegraph/computer/core/graph/value/BooleanValueTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/graph/value/DoubleValueTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/graph/value/FloatValueTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/graph/value/IdValueTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/graph/value/IntValueTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/graph/value/ListValueTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/graph/value/LongValueTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/graph/value/MockCustomValue.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/graph/value/NullValueTest.java