@Override
    public boolean apply(Map.Entry mapEntry) {
        return predicate.apply(mapEntry);
    }
@Test
    public void testRecordPredicate() {
        Record record = new Record("ONE", "TWO", "THREE");
        SqlPredicate predicate = new SqlPredicate("str1 = 'ONE' AND str2 = 'TWO' AND (str3 = 'THREE' OR str3 = 'three')");
        Map.Entry entry = createEntry("1", record);
        assertTrue(predicate.apply(entry));
    }