Update README.md

This commit is contained in:
Albert Shift 2015-03-23 21:38:53 -07:00
parent 034ca8feda
commit 8fcf22f2f5

View file

@ -12,3 +12,11 @@ Java 8 Cassandra Client
* Datastax Driver
* Maven
### Example
```
session.select(timeline::getUserId, timeline::getTimestamp, timeline::getText)
.where(timeline::getUserId, "==", userId)
.orderBy(timeline::getTimestamp, "desc").limit(5).sync()
.forEach(System.out::println);
```