Can we save Visual query object in database and reuse it?

We got SQL from visual query but didn't find anything that create defaultValue array for visual query from SQL.

Please help!