1. A server, comprising: a processor; and a memory connected to the processor, the memory storing instructions executed by the 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, wherein the query statement is received over a network from a client machine; form token components from the query statement; categorize each token component of the token components as one of a data component, a computational logic component or a control logic component; form modified token components from the token components in accordance with a policy; reconstruct the query statement with the modified token components and original computational logic and control logic associated with the query statement to form a policy compliant query statement; and coordinate execution of the policy compliant query statement on worker machines connected to the network.
6. The server of claim 1 wherein the token components are alternately categorized as database specific tokens, special characters, language keywords, comments, values, aliases, file paths, URI's and functions.