storm-apt/api/src/main/java/com/turbomanage/storm/query/Query.java
public Query<T> byExample(T obj) {
		if (obj != null) {
			return dao.getTableHelper().buildFilter(this, obj);
		}
		return this;
	}
public Query<T> byExample(T obj) {
		if (obj != null) {
			return dao.getTableHelper().buildFilter(this, obj);
		}
		return this;
	}
Executes a query which returns all rows in the entity table
that match the fields of the example object having values other
than the defaults.

Calling method MUST close the {@link Cursor}!

@return Cursor