public class QueryParams extends Object

Field Summary

public static final QueryParams DEFAULT_PARAMS

Public Constructor Summary

Public Method Summary

QueryParams
endAt(Node indexEndValue, ChildKey indexEndName)
boolean
static QueryParams
Index
ChildKey
Node
ChildKey
Node
int
NodeFilter
Map<StringObject>
boolean
boolean
hasEnd()
boolean
boolean
int
boolean
boolean
boolean
QueryParams
limitToFirst(int limit)
QueryParams
limitToLast(int limit)
boolean
QueryParams
orderBy(Index index)
QueryParams
startAt(Node indexStartValue, ChildKey indexStartName)
String
toJSON()
String

Inherited Method Summary

Fields

public static final QueryParams DEFAULT_PARAMS

Public Constructors

public QueryParams ()

Public Methods

public QueryParams endAt (Node indexEndValue, ChildKey indexEndName)

Parameters
indexEndValue
indexEndName

public boolean equals (Object o)

Parameters
o

public static QueryParams fromQueryObject (Map<StringObject> map)

Parameters
map

public Index getIndex ()

public ChildKey getIndexEndName ()

public Node getIndexEndValue ()

public ChildKey getIndexStartName ()

public Node getIndexStartValue ()

public int getLimit ()

public NodeFilter getNodeFilter ()

public Map<StringObject> getWireProtocolParams ()

public boolean hasAnchoredLimit ()

public boolean hasEnd ()

public boolean hasLimit ()

public boolean hasStart ()

public int hashCode ()

public boolean isDefault ()

public boolean isValid ()

public boolean isViewFromLeft ()

public QueryParams limitToFirst (int limit)

Parameters
limit

public QueryParams limitToLast (int limit)

Parameters
limit

public boolean loadsAllData ()

public QueryParams orderBy (Index index)

Parameters
index

public QueryParams startAt (Node indexStartValue, ChildKey indexStartName)

Parameters
indexStartValue
indexStartName

public String toJSON ()

public String toString ()