Skip to content

Commit

Permalink
Add URL search filter on CountURLs and ListURLs with optional case se…
Browse files Browse the repository at this point in the history
…nsitivity

Signed-off-by: Laurent Klock <[email protected]>
  • Loading branch information
klockla committed Nov 25, 2024
1 parent be75c3c commit 144fc55
Show file tree
Hide file tree
Showing 9 changed files with 1,326 additions and 112 deletions.
32 changes: 28 additions & 4 deletions API/src/main/java/crawlercommons/urlfrontier/URLFrontierGrpc.java
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,13 @@ default void listURLs(
getListURLsMethod(), responseObserver);
}

/** */
/**
*
*
* <pre>
* * Count URLs currently in the frontier *
* </pre>
*/
default void countURLs(
crawlercommons.urlfrontier.Urlfrontier.CountUrlParams request,
io.grpc.stub.StreamObserver<crawlercommons.urlfrontier.Urlfrontier.Long>
Expand Down Expand Up @@ -1500,7 +1506,13 @@ public void listURLs(
responseObserver);
}

/** */
/**
*
*
* <pre>
* * Count URLs currently in the frontier *
* </pre>
*/
public void countURLs(
crawlercommons.urlfrontier.Urlfrontier.CountUrlParams request,
io.grpc.stub.StreamObserver<crawlercommons.urlfrontier.Urlfrontier.Long>
Expand Down Expand Up @@ -1730,7 +1742,13 @@ public java.util.Iterator<crawlercommons.urlfrontier.Urlfrontier.URLItem> listUR
getChannel(), getListURLsMethod(), getCallOptions(), request);
}

/** */
/**
*
*
* <pre>
* * Count URLs currently in the frontier *
* </pre>
*/
public crawlercommons.urlfrontier.Urlfrontier.Long countURLs(
crawlercommons.urlfrontier.Urlfrontier.CountUrlParams request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
Expand Down Expand Up @@ -1941,7 +1959,13 @@ protected URLFrontierFutureStub build(
getChannel().newCall(getGetURLStatusMethod(), getCallOptions()), request);
}

/** */
/**
*
*
* <pre>
* * Count URLs currently in the frontier *
* </pre>
*/
public com.google.common.util.concurrent.ListenableFuture<
crawlercommons.urlfrontier.Urlfrontier.Long>
countURLs(crawlercommons.urlfrontier.Urlfrontier.CountUrlParams request) {
Expand Down
Loading

0 comments on commit 144fc55

Please sign in to comment.