Implement data processing options (DbConnection::categories).

Refs #4782