Extract out the SQL to private variables
Extract out logic to make add method cleaner
Remove unnecessary method
Extract out duplicated logic
Convert to a local variable
Rename from _searchQuery to searchQuery
Remove unused imports
Input stream will never be null
Update README