-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
init
- Loading branch information
Showing
16 changed files
with
584 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module type="JAVA_MODULE" version="4"> | ||
<component name="NewModuleRootManager" inherit-compiler-output="true"> | ||
<exclude-output /> | ||
<content url="file://$MODULE_DIR$"> | ||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> | ||
</content> | ||
<orderEntry type="inheritedJdk" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
<orderEntry type="module-library" exported=""> | ||
<library> | ||
<CLASSES> | ||
<root url="jar://$USER_HOME$/Downloads/jar_files/jackson-core-2.12.1.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
</library> | ||
</orderEntry> | ||
<orderEntry type="module-library" exported=""> | ||
<library> | ||
<CLASSES> | ||
<root url="jar://$USER_HOME$/Downloads/jar_files/jackson-databind-2.12.1.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
</library> | ||
</orderEntry> | ||
<orderEntry type="module-library" exported=""> | ||
<library> | ||
<CLASSES> | ||
<root url="jar://$USER_HOME$/Downloads/jar_files/jackson-annotations-2.12.1.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
</library> | ||
</orderEntry> | ||
</component> | ||
</module> |
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,6 @@ | ||
The program can be run using the following command on command line, changeFile is also json | ||
|
||
java com.company.highspot.ApplyChange pathOfMixtapeFile pathOfChangeFile pathOfOutputFile | ||
|
||
If both mixtape and changes files are large. We will store objectsd in mixtape files into database while reading the file, after complete storing mixtype file. | ||
We will read changes files in and apply changes to database, and output from database. |
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,19 @@ | ||
{ | ||
"adds" : [ | ||
{ | ||
"id" : "4", | ||
"user_id" : "2", | ||
"song_ids" : [ | ||
"8", | ||
"32" | ||
] | ||
} | ||
], | ||
"removes":["1" | ||
], | ||
"addsongs": [ | ||
{ | ||
"song_id" : "1", | ||
"playlist_id": "4" | ||
}] | ||
} |
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,264 @@ | ||
{ | ||
"users" : [ | ||
{ | ||
"id" : "1", | ||
"name" : "Albin Jaye" | ||
}, | ||
{ | ||
"id" : "2", | ||
"name" : "Dipika Crescentia" | ||
}, | ||
{ | ||
"id" : "3", | ||
"name" : "Ankit Sacnite" | ||
}, | ||
{ | ||
"id" : "4", | ||
"name" : "Galenos Neville" | ||
}, | ||
{ | ||
"id" : "5", | ||
"name" : "Loviise Nagib" | ||
}, | ||
{ | ||
"id" : "6", | ||
"name" : "Ryo Daiki" | ||
}, | ||
{ | ||
"id" : "7", | ||
"name" : "Seyyit Nedim" | ||
} | ||
], | ||
"playlists" : [ | ||
{ | ||
"id" : "1", | ||
"user_id" : "2", | ||
"song_ids" : [ | ||
"8", | ||
"32" | ||
] | ||
}, | ||
{ | ||
"id" : "2", | ||
"user_id" : "3", | ||
"song_ids" : [ | ||
"6", | ||
"8", | ||
"11" | ||
] | ||
}, | ||
{ | ||
"id" : "3", | ||
"user_id" : "7", | ||
"song_ids" : [ | ||
"7", | ||
"12", | ||
"13", | ||
"16", | ||
"2" | ||
] | ||
} | ||
], | ||
"songs": [ | ||
{ | ||
"id" : "1", | ||
"artist": "Camila Cabello", | ||
"title": "Never Be the Same" | ||
}, | ||
{ | ||
"id" : "2", | ||
"artist": "Zedd", | ||
"title": "The Middle" | ||
}, | ||
{ | ||
"id" : "3", | ||
"artist": "The Weeknd", | ||
"title": "Pray For Me" | ||
}, | ||
{ | ||
"id" : "4", | ||
"artist": "Drake", | ||
"title": "God's Plan" | ||
}, | ||
{ | ||
"id" : "5", | ||
"artist": "Bebe Rexha", | ||
"title": "Meant to Be" | ||
}, | ||
{ | ||
"id" : "6", | ||
"artist": "Imagine Dragons", | ||
"title": "Whatever It Takes" | ||
}, | ||
{ | ||
"id" : "7", | ||
"artist": "Maroon 5", | ||
"title": "Wait" | ||
}, | ||
{ | ||
"id" : "8", | ||
"artist": "Bazzi", | ||
"title": "Mine" | ||
}, | ||
{ | ||
"id" : "9", | ||
"artist": "Marshmello", | ||
"title": "FRIENDS" | ||
}, | ||
{ | ||
"id" : "10", | ||
"artist": "Dua Lipa", | ||
"title": "New Rules" | ||
}, | ||
{ | ||
"id" : "11", | ||
"artist": "Shawn Mendes", | ||
"title": "In My Blood" | ||
}, | ||
{ | ||
"id" : "12", | ||
"artist": "Post Malone", | ||
"title": "Psycho" | ||
}, | ||
{ | ||
"id" : "13", | ||
"artist": "Ariana Grande", | ||
"title": "No Tears Left To Cry" | ||
}, | ||
{ | ||
"id" : "14", | ||
"artist": "Bruno Mars", | ||
"title": "Finesse" | ||
}, | ||
{ | ||
"id" : "15", | ||
"artist": "Kendrick Lamar", | ||
"title": "All The Stars" | ||
}, | ||
{ | ||
"id" : "16", | ||
"artist": "G-Eazy", | ||
"title": "Him & I" | ||
}, | ||
{ | ||
"id" : "17", | ||
"artist": "Lauv", | ||
"title": "I Like Me Better" | ||
}, | ||
{ | ||
"id" : "18", | ||
"artist": "NF", | ||
"title": "Let You Down" | ||
}, | ||
{ | ||
"id" : "19", | ||
"artist": "Dua Lipa", | ||
"title": "IDGAF" | ||
}, | ||
{ | ||
"id" : "20", | ||
"artist": "Taylor Swift", | ||
"title": "Delicate" | ||
}, | ||
{ | ||
"id" : "21", | ||
"artist": "Calvin Harris", | ||
"title": "One Kiss" | ||
}, | ||
{ | ||
"id" : "22", | ||
"artist": "Ed Sheeran", | ||
"title": "Perfect" | ||
}, | ||
{ | ||
"id" : "23", | ||
"artist": "Meghan Trainor", | ||
"title": "No Excuses" | ||
}, | ||
{ | ||
"id" : "24", | ||
"artist": "Niall Horan", | ||
"title": "On The Loose" | ||
}, | ||
{ | ||
"id" : "25", | ||
"artist": "Halsey", | ||
"title": "Alone" | ||
}, | ||
{ | ||
"id" : "26", | ||
"artist": "Charlie Puth", | ||
"title": "Done For Me" | ||
}, | ||
{ | ||
"id" : "27", | ||
"artist": "Foster The People", | ||
"title": "Sit Next to Me" | ||
}, | ||
{ | ||
"id" : "28", | ||
"artist": "Max", | ||
"title": "Lights Down Low" | ||
}, | ||
{ | ||
"id" : "29", | ||
"artist": "Alice Merton", | ||
"title": "No Roots" | ||
}, | ||
{ | ||
"id" : "30", | ||
"artist": "5 Seconds Of Summer", | ||
"title": "Want You Back" | ||
}, | ||
{ | ||
"id" : "31", | ||
"artist": "Camila Cabello", | ||
"title": "Havana" | ||
}, | ||
{ | ||
"id" : "32", | ||
"artist": "Logic", | ||
"title": "Everyday" | ||
}, | ||
{ | ||
"id" : "33", | ||
"artist": "Drake", | ||
"title": "Nice For What" | ||
}, | ||
{ | ||
"id" : "34", | ||
"artist": "Halsey", | ||
"title": "Bad At Love" | ||
}, | ||
{ | ||
"id" : "35", | ||
"artist": "ZAYN", | ||
"title": "Let Me" | ||
}, | ||
{ | ||
"id" : "36", | ||
"artist": "Khalid", | ||
"title": "Love Lies" | ||
}, | ||
{ | ||
"id" : "37", | ||
"artist": "Post Malone", | ||
"title": "rockstar" | ||
}, | ||
{ | ||
"id" : "38", | ||
"artist": "Rudimental", | ||
"title": "These Days" | ||
}, | ||
{ | ||
"id" : "39", | ||
"artist": "Liam Payne", | ||
"title": "Familiar" | ||
}, | ||
{ | ||
"id" : "40", | ||
"artist": "Imagine Dragons", | ||
"title": "Thunder" | ||
} | ||
] | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.