Search in sources :

Example 1 with Query

use of com.vaadin.data.provider.Query in project catma by forTEXT.

the class KwicPanel method getFilteredQueryResult.

public QueryResultRowArray getFilteredQueryResult() {
    QueryResultRowArray result = new QueryResultRowArray();
    kwicDataProvider.fetch(new Query<QueryResultRow, SerializablePredicate<QueryResultRow>>()).forEach(row -> result.add(row));
    return result;
}
Also used : Query(com.vaadin.data.provider.Query) TagQueryResultRow(de.catma.queryengine.result.TagQueryResultRow) QueryResultRow(de.catma.queryengine.result.QueryResultRow) QueryResultRowArray(de.catma.queryengine.result.QueryResultRowArray)

Aggregations

Query (com.vaadin.data.provider.Query)1 QueryResultRow (de.catma.queryengine.result.QueryResultRow)1 QueryResultRowArray (de.catma.queryengine.result.QueryResultRowArray)1 TagQueryResultRow (de.catma.queryengine.result.TagQueryResultRow)1