Skip to content

Commit

Permalink
adding limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbie1977 authored Aug 31, 2024
1 parent 9d14b90 commit 9ae2b9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/ebi/spot/neo4j2owl/N2OProcedure.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ public Stream<N2OReturnValue> exportOWLNodes(@Name("skip") Long skip, @Name("lim

@SuppressWarnings("unused")
@Procedure(mode = Mode.WRITE)
public Stream<N2OReturnValue> exportOWLEdges() {
public Stream<N2OReturnValue> exportOWLEdges(@Name("skip") Long skip, @Name("limit") Long limit) {
logger.resetTimer();
N2OExportService exportService = new N2OExportService(db);
N2OReturnValue result = exportService.owl2ExportEdges();
N2OReturnValue result = exportService.owl2ExportEdges(skip, limit);
return Stream.of(result);
}

Expand Down

0 comments on commit 9ae2b9e

Please sign in to comment.