Add support for unlogged batch in the query builder

JAVA-113 #fixes