com.mysema.query
Class SearchResults<T>
java.lang.Object
com.mysema.query.SearchResults<T>
@Immutable
public final class SearchResults<T>
- extends Object
SearchResults bundles data for paged search results
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchResults
public SearchResults(List<T> results,
@Nullable
Long limit,
@Nullable
Long offset,
long total)
SearchResults
public SearchResults(List<T> results,
QueryModifiers mod,
long total)
emptyResults
public static <T> SearchResults<T> emptyResults()
getResults
public List<T> getResults()
- Get the results in List form
- Returns:
getTotal
public long getTotal()
- Get the number of total results
- Returns:
isEmpty
public boolean isEmpty()
- Returns:
getLimit
public long getLimit()
- Returns:
getOffset
public long getOffset()
- Returns:
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.