com.stackmob.sdkapi
Class ResultFilters
java.lang.Object
com.stackmob.sdkapi.ResultFilters
public class ResultFilters
- extends Object
Query options for filtering results
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultFilters
public ResultFilters(long start,
long end,
List<SMOrdering> orderings,
List<String> fields)
- Create a new set of result filters
- Parameters:
start - the index (inclusive) of the first record to return, set to zero if you wish to return records from the beginningend - the index (inclusive) of the last record to return, if -1, all records after the starting index (inclusive) will be returnedorderings - the order in which results should be sortedfields - the fields to return in the result set
getStart
public long getStart()
getEnd
public long getEnd()
getOrderings
public List<SMOrdering> getOrderings()
getFields
public List<String> getFields()
Copyright © 2012 StackMob. All Rights Reserved.