public class GitHubAPICaller extends Object
| Modifier and Type | Method and Description |
|---|---|
org.apache.pinot.tools.streams.githubevents.GitHubAPICaller.GitHubAPIResponse |
callAPI(String url)
Calls the given url
|
org.apache.pinot.tools.streams.githubevents.GitHubAPICaller.GitHubAPIResponse |
callEventsAPI(String etag)
Calls the events API
|
void |
shutdown() |
public org.apache.pinot.tools.streams.githubevents.GitHubAPICaller.GitHubAPIResponse callEventsAPI(String etag) throws IOException
IOExceptionpublic org.apache.pinot.tools.streams.githubevents.GitHubAPICaller.GitHubAPIResponse callAPI(String url) throws IOException
IOExceptionpublic void shutdown()
throws IOException
IOExceptionCopyright © 2018–2020 Apache Software Foundation. All rights reserved.