1. A non-transitory computer readable storage medium with instructions executed by a processor to: receive a query statement, wherein the query statement is one of a plurality of distributed storage and distributed processing query statements with unique data access methods; form token components from the query statement; categorize the token components as data components or logic components; form modified token components from the token components in accordance with a policy; and reconstruct the query statement with the modified token components and original computational logic and control logic associated with the query statement.