Applies a limit and a range to a node and uses RangedFilter to do the heavy lifting where possible
|
LimitedFilter(QueryParams params)
|
| boolean |
filtersNodes()
Returns true if children might be filtered due to query criteria
|
| Index |
getIndex()
Returns the index that this filter uses
|
| NodeFilter |
getIndexedFilter()
Returns the index filter that this filter uses to get a NodeFilter that doesn't filter any
children.
|
| IndexedNode |
updateChild(IndexedNode snap, ChildKey key, Node newChild, Path affectedPath, NodeFilter.CompleteChildSource source, ChildChangeAccumulator optChangeAccumulator)
Update a single complete child in the snap.
|
| IndexedNode |
updateFullNode(IndexedNode oldSnap, IndexedNode newSnap, ChildChangeAccumulator optChangeAccumulator)
Update a node in full and output any resulting change from this complete update.
|
| IndexedNode |
Returns true if children might be filtered due to query criteria
Returns the index filter that this filter uses to get a NodeFilter that doesn't filter any children.
Update a single complete child in the snap. If the child equals the old child in the snap, this is a no-op. The method expects an indexed snap.
| snap | |
|---|---|
| key | |
| newChild | |
| affectedPath | |
| source | |
| optChangeAccumulator |
Update a node in full and output any resulting change from this complete update.
| oldSnap | |
|---|---|
| newSnap | |
| optChangeAccumulator |
Update the priority of the root node
| oldSnap | |
|---|---|
| newPriority |