public QueryBuilders.QueryBuilder convert(Expr conjunct) {
        return visit(conjunct);
    }
@Test
    public void testTranslateInPredicate() {
        SlotRef codeSlotRef = mockSlotRef("code", Type.INT);
        List<Expr> codeLiterals = new ArrayList<>();
        IntLiteral codeLiteral1 = new IntLiteral(1);
        IntLiteral codeLiteral2 = new IntLiteral(2);
        IntLiteral codeLiteral3 = new IntLiteral(3);
        codeLiterals.add(codeLiteral1);
        codeLiterals.add(codeLiteral2);
        codeLiterals.add(codeLiteral3);
        InPredicate inPredicate = new InPredicate(codeSlotRef, codeLiterals, false);
        InPredicate notInPredicate = new InPredicate(codeSlotRef, codeLiterals, true);
        Assert.assertEquals("{\"terms\":{\"code\":[1,2,3]}}", queryConverter.convert(inPredicate).toString());
        Assert.assertEquals("{\"bool\":{\"must_not\":{\"terms\":{\"code\":[1,2,3]}}}}",
                queryConverter.convert(notInPredicate).toString());
    }