Add TRUNCATE to query builder

JAVA-117 #fixes
Merge branch '1.0' into 2.0
Fix merge