public Predicate convert(ScalarOperator operator) {
        if (operator == null) {
            return null;
        }
        return operator.accept(this, null);
    }
@Test
    public void testBinaryString() {
        ConstantOperator value = ConstantOperator.createVarchar("ttt");
        ScalarOperator op = new BinaryPredicateOperator(BinaryType.EQ, F1, value);
        Predicate result = CONVERTER.convert(op);
        Assert.assertTrue(result instanceof LeafPredicate);
        LeafPredicate leafPredicate = (LeafPredicate) result;
        Assert.assertEquals(BinaryString.fromString("ttt"), leafPredicate.literals().get(0));
    }