use of com.baidu.hugegraph.loader.reader.file.FileReader in project hugegraph-computer by hugegraph.
the class FileElementFetcher method createReader.
private InputReader createReader(FileInputSplit split) {
InputStruct struct = split.struct();
FileSource source = (FileSource) struct.input();
source.path(split.path());
FileReader reader = (FileReader) InputReader.create(struct.input());
reader.init(this.context, struct);
return reader;
}
Aggregations