Support config regex to skip specified line (#43)
authorLinary <liningrui@vip.qq.com>
Mon, 18 Mar 2019 07:58:52 +0000 (15:58 +0800)
committerzhoney <zhangyi89817@126.com>
Mon, 18 Mar 2019 07:58:52 +0000 (15:58 +0800)
commit505d91bde2d7d45083632131d39d60a82c68316d
tree17d37370cc2a30084b000ee409468a891b06dbfe
parentc67d89a21d5bfa183252a3298fdda895071ef926
Support config regex to skip specified line (#43)

Implement #42

Change-Id: I08fd43a65706f9a402b2ac328a3a5c034b8445df
src/main/java/com/baidu/hugegraph/loader/reader/file/AbstractFileReader.java
src/main/java/com/baidu/hugegraph/loader/source/file/FileSource.java
src/test/java/com/baidu/hugegraph/loader/test/functional/FileLoadTest.java
src/test/resources/file_has_empty_line/schema.groovy [moved from src/test/resources/file_has_comment_line/schema.groovy with 100% similarity]
src/test/resources/file_has_empty_line/struct.json [new file with mode: 0644]
src/test/resources/file_has_skipped_line/schema.groovy [moved from src/test/resources/file_only_has_empty_line/schema.groovy with 100% similarity]
src/test/resources/file_has_skipped_line/struct.json [moved from src/test/resources/file_has_comment_line/struct.json with 88% similarity]
src/test/resources/file_no_header/schema.groovy [new file with mode: 0644]
src/test/resources/file_no_header/struct.json [moved from src/test/resources/file_only_has_empty_line/struct.json with 73% similarity]