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
- Version:
- $Id$
- Author:
- Timo Westkamper
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()
getTotal
public long getTotal()
isEmpty
public boolean isEmpty()
getLimit
public long getLimit()
getOffset
public long getOffset()
Copyright © 2007-2009 Mysema Ltd. All Rights Reserved.