Design & Implement DBQueryPipe.
Implement type cast in GetPipe and PostPipe.