File tree Expand file tree Collapse file tree 3 files changed +3
-12
lines changed
io/core/src/main/java/org/neo4j/gds/core/io/file Expand file tree Collapse file tree 3 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 2424import org .neo4j .gds .core .io .GraphStoreInput ;
2525import org .neo4j .gds .core .utils .progress .tasks .ProgressTracker ;
2626
27- import java .io .Flushable ;
2827import java .io .IOException ;
2928
30- final class ElementImportRunner <T extends Flushable & InputEntityVisitor > implements Runnable {
29+ final class ElementImportRunner <T extends InputEntityVisitor > implements Runnable {
3130 private final T visitor ;
3231 private final InputIterator inputIterator ;
3332 private final ProgressTracker progressTracker ;
Original file line number Diff line number Diff line change 2626import org .neo4j .batchimport .api .input .InputEntityVisitor ;
2727import org .neo4j .gds .api .schema .PropertySchema ;
2828
29- import java .io .Flushable ;
30- import java .io .IOException ;
3129import java .util .Arrays ;
3230import java .util .Comparator ;
3331import java .util .List ;
3432
35- abstract class ElementVisitor <PROPERTY_SCHEMA extends PropertySchema > implements InputEntityVisitor , Flushable {
33+ abstract class ElementVisitor <PROPERTY_SCHEMA extends PropertySchema > implements InputEntityVisitor {
3634
3735 private final Object [] currentProperties ;
3836 private final ObjectObjectMap <String , List <PROPERTY_SCHEMA >> propertySchemas ;
@@ -101,8 +99,4 @@ private void computeElementSchema() {
10199 propertySchema .sort (Comparator .comparing (PropertySchema ::key ));
102100 propertySchemas .put (elementIdentifier (), propertySchema );
103101 }
104-
105-
106- @ Override
107- public void flush () throws IOException {}
108102}
Original file line number Diff line number Diff line change 2121
2222import org .neo4j .batchimport .api .input .InputEntityVisitor ;
2323
24- import java .io .Flushable ;
25-
26- public interface GraphPropertyVisitor extends InputEntityVisitor , Flushable {
24+ public interface GraphPropertyVisitor extends InputEntityVisitor {
2725}
You can’t perform that action at this time.
0 commit comments