Modified: Support swap table.

**Support swap table**

Reference of https://github.com/treasure-data/td-client-node/blob/master/lib/index.js#L62