public List<ProgrammingLanguage> filterByNameContains(final String name) {
        return languages.stream()
                .sorted(Comparator.comparing(ProgrammingLanguage::getName))
                .filter(l -> l.getName().contains(name))
                .limit(3)
                .collect(Collectors.toList());
    }
Add and remove rows from filtered DataTable
https://github.com/primefaces/primefaces/issues/7336
primefaces-integration-tests/src/test/java/org/primefaces/integrationtests/datatable/DataTable021Test.java