Skip to content
Morten Laukvik edited this page Oct 29, 2016 · 1 revision

The API supports fluent queries similar to SQL. The first example finds all rows where President is Barack Obama

List<Row> rows = csv.findByQuery().where().column("President").is("Barack Obama").getResultList();

The second example uses sorting for the results

List<Row> rows = csv.findByQuery().orderBy().asc("President").getResultList();

Clone this wiki locally