Age | Commit message (Collapse) | Author | Files | Lines |
|
* Add status reporting to know how many tweets are already imported.
* Remove spam from DataFiller when no brand is detected
|
|
Login as postgres (superuser!) is not really secure...
|
|
Nullable is based on Twitter platform (users, tweets) documentation.
Now the line number is also printed.
|
|
Huge diff comes from whitespace diff. Now the tweet is printed with
its line number in error cases, and all further insertions are aborted.
|
|
|
|
For testing whether the data is correct or not.
|
|
Connecting to the database is probably more expensive, so try to read
data first.
|
|
Now that --dbhost is optional, the argument list might be empty.
|
|
|
|
|
|
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.
|
|
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.
|
|
|
|
* InputReader reads from Scanner.
|
|
* DBConnection creates a persistent conn.
* DBQuery resolves and executes queries.
* QueryUtils creates sql query text.
|
|
|
|
|