com.stackmob.sdkapi
Class ResultFilters

java.lang.Object
  extended by com.stackmob.sdkapi.ResultFilters

public class ResultFilters
extends Object

Query options for filtering results


Constructor Summary
ResultFilters(long start, long end, List<SMOrdering> orderings, List<String> fields)
          Create a new set of result filters
 
Method Summary
 long getEnd()
           
 List<String> getFields()
           
 List<SMOrdering> getOrderings()
           
 long getStart()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 beginning
end - the index (inclusive) of the last record to return, if -1, all records after the starting index (inclusive) will be returned
orderings - the order in which results should be sorted
fields - the fields to return in the result set
Method Detail

getStart

public long getStart()

getEnd

public long getEnd()

getOrderings

public List<SMOrdering> getOrderings()

getFields

public List<String> getFields()


Copyright © 2012 StackMob. All Rights Reserved.