-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modify DatabaseUtilities.getConnection so that eventStream, recordStr…
…eam, accountBalance can use the same connection object; #2
- Loading branch information
1 parent
f2724d4
commit 3945d99
Showing
7 changed files
with
65 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/main/java/com/hedera/downloader/EventStreamDownloader.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.hedera.downloader; | ||
|
||
import com.hedera.configLoader.ConfigLoader; | ||
import com.hedera.parser.EventStreamFileParser; | ||
|
||
public class EventStreamDownloader extends Downloader { | ||
public EventStreamDownloader(ConfigLoader configLoader) { | ||
super(configLoader); | ||
} | ||
|
||
public static void main(String[] args) { | ||
configLoader = new ConfigLoader("./config/config.json"); | ||
EventStreamDownloader downloader = new EventStreamDownloader(configLoader); | ||
setupCloudConnection(); | ||
downloader.listObjects(); | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters