add BufferedFileDataOutput and BufferedFileDataInput (#15)
authorhouzhizhen <houzhizhen_101@163.com>
Thu, 11 Mar 2021 03:41:07 +0000 (11:41 +0800)
committerGitHub <noreply@github.com>
Thu, 11 Mar 2021 03:41:07 +0000 (11:41 +0800)
commit128ce85d0b02dec779792449ce923eb8a7e19df5
tree5d2487db94d617a22dcfca6f2f2f588bfd74f374
parentbb462d3422a6f617bc69b2637cb5f89dcbb64d7d
add BufferedFileDataOutput and BufferedFileDataInput (#15)

* add BufferedFileDataOutput and BufferedFileDataInput

* add BufferedInputStream and BufferedOutputStream
22 files changed:
computer-core/src/main/java/com/baidu/hugegraph/computer/core/common/Constants.java
computer-core/src/main/java/com/baidu/hugegraph/computer/core/io/BufferedFileInput.java [new file with mode: 0644]
computer-core/src/main/java/com/baidu/hugegraph/computer/core/io/BufferedFileOutput.java [new file with mode: 0644]
computer-core/src/main/java/com/baidu/hugegraph/computer/core/io/BufferedStreamInput.java [new file with mode: 0644]
computer-core/src/main/java/com/baidu/hugegraph/computer/core/io/BufferedStreamOutput.java [new file with mode: 0644]
computer-core/src/main/java/com/baidu/hugegraph/computer/core/io/GraphOutputFactory.java
computer-core/src/main/java/com/baidu/hugegraph/computer/core/io/OptimizedStreamGraphInput.java
computer-core/src/main/java/com/baidu/hugegraph/computer/core/io/OptimizedStreamGraphOutput.java
computer-core/src/main/java/com/baidu/hugegraph/computer/core/io/RandomAccessInput.java [new file with mode: 0644]
computer-core/src/main/java/com/baidu/hugegraph/computer/core/io/RandomAccessOutput.java [new file with mode: 0644]
computer-core/src/main/java/com/baidu/hugegraph/computer/core/io/StreamGraphInput.java
computer-core/src/main/java/com/baidu/hugegraph/computer/core/io/StreamGraphOutput.java
computer-core/src/main/java/com/baidu/hugegraph/computer/core/io/UnsafeByteArrayInput.java
computer-core/src/main/java/com/baidu/hugegraph/computer/core/io/UnsafeByteArrayOutput.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/UnitTestBase.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/io/BufferedFileTest.java [new file with mode: 0644]
computer-test/src/main/java/com/baidu/hugegraph/computer/core/io/BufferedStreamTest.java [new file with mode: 0644]
computer-test/src/main/java/com/baidu/hugegraph/computer/core/io/CsvStructGraphOutputTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/io/IOTestSuite.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/io/JsonStructGraphOutputTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/io/StreamGraphOutputInputTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/io/UnsafeByteArrayTest.java