public static class MVRTreeMap.RTreeCursor extends Object implements Iterator<SpatialKey>
Modifier | Constructor and Description |
---|---|
protected |
RTreeCursor(Page root,
SpatialKey filter) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
check(boolean leaf,
SpatialKey key,
SpatialKey test)
Check a given key.
|
protected void |
fetchNext()
Fetch the next entry if there is one.
|
boolean |
hasNext() |
SpatialKey |
next() |
void |
remove() |
void |
skip(long n)
Skip over that many entries.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected RTreeCursor(Page root, SpatialKey filter)
public boolean hasNext()
hasNext
in interface Iterator<SpatialKey>
public void skip(long n)
n
- the number of entries to skippublic SpatialKey next()
next
in interface Iterator<SpatialKey>
public void remove()
remove
in interface Iterator<SpatialKey>
protected void fetchNext()
protected boolean check(boolean leaf, SpatialKey key, SpatialKey test)
leaf
- if the key is from a leaf pagekey
- the stored keytest
- the user-supplied test keyCopyright © 2017 JBoss by Red Hat. All rights reserved.