// to simplify result checking, do double NOT
Expression left = new ASTBitwiseAnd(new ASTObjPath(
ReturnTypesMap1.INTEGER_COLUMN_PROPERTY), new ASTScalar(1));
Expression right = new ASTScalar(0);
Expression equal = new ASTEqual();
equal.setOperand(0, left);
equal.setOperand(1, right);
SelectQuery query = new SelectQuery(ReturnTypesMap1.class);
query.setQualifier(equal);
List<ReturnTypesMap1> objects = context.performQuery(query);