summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-05-09Don't reject missing argumentsPeter Wu1-4/+0
Now that --dbhost is optional, the argument list might be empty.
2014-05-09Only catch IllegalArgumentException for argument parsingPeter Wu1-3/+6
2014-05-09Fixup help text, allow to override DB settingsPeter Wu1-25/+34
2014-05-09Get rid of DBConnectionPeter Wu4-105/+121
That construct was hiding the Connection instance. Very bad abstraction as I really need it to support transactions. While at it, make the prepared statement objects final such that it is detected when those are not properly initialized. In Main, use try-with-resources, remove a noisy "exit succesfull" [sic] message. Due to the extra try/catch for the db connection (RuntimeException is not OK my friend!), the indentation had to be changed.
2014-05-09Remove debug prints, add commentsPeter Wu1-1/+3
2014-05-09Add missing annotation for retweeted_status, more testsPeter Wu2-0/+54
2014-05-09Add ValidatingJsonDeserializerTest (JUnit)Peter Wu2-1/+440
2014-05-09Add missing validation annotations, ...Peter Wu4-19/+62
* Add missing Validator annotations for User. * Add entities and url properties for user. * Properly do a recursive check if an Validator annotation is present.
2014-05-08Get rid of unused crapPeter Wu4-302/+0
2014-05-08Replace JSON by GSON, adding extra validationsPeter Wu8-149/+248
Also change reader method, tweets are not received via an observed but by submitting from the caller. Added TODO WTF here and there, formatted with Alt + Shift + F.
2014-05-08Add json containers for Tweet and User objectsPeter Wu5-1/+150
2014-05-07Merge origin/masterS1297781-1/+1
2014-05-07data querries into databaseS1297785-14/+8391
2014-05-07Fixed a small typo, tweets contain "user".Maurice Laveaux1-1/+1
2014-05-07Removed the extranous DBQuery and simpel propertyMaurice Laveaux7-62/+84
* InputReader reads from Scanner.
2014-05-07Fix library pathPeter Wu2-2/+2
2014-05-07Copied and refactored the shell script.Maurice Laveaux2-0/+14
* nbproject changed somehow.
2014-05-07Two different inputs (file and stdin).Maurice Laveaux4-0/+142
* DataFiller fills the database with given input.
2014-05-07Added classes to refactor the database code.Maurice Laveaux8-111/+267
* DBConnection creates a persistent conn. * DBQuery resolves and executes queries. * QueryUtils creates sql query text.
2014-05-01Added libraries for postgresql and json.Maurice Laveaux3-79/+79
2014-05-01(no commit message)daanpeters4-76/+392
2014-05-01Initial netbeans project added with main/Main.javaMaurice Laveaux7-0/+1597
2014-04-30Init with gitignorePeter Wu1-0/+12