JAVA-1045 Added support for text operand into QueryBuilder.