D
- the type of Distance used in the M-Treepublic interface MTreeEntry<D extends Distance<D>> extends Entry
Modifier and Type | Method and Description |
---|---|
D |
getCoveringRadius()
Returns the covering radius if this entry is a directory entry, null
otherwise.
|
D |
getParentDistance()
Returns the distance from the routing object of this entry to the routing
object of its parent.
|
DBID |
getRoutingObjectID()
Returns the id of the underlying database object of this entry, if this
entry is a leaf entry, the id of the routing object, otherwise.
|
void |
setCoveringRadius(D coveringRadius)
Sets the covering radius of this entry if this entry is a directory entry,
throws an UnsupportedOperationException otherwise.
|
void |
setParentDistance(D parentDistance)
Sets the distance from the routing object to routing object of its parent.
|
void |
setRoutingObjectID(DBID objectID)
Sets the id of the underlying database object of this entry, if this entry
is a leaf entry, the id of the routing object, otherwise.
|
isLeafEntry
readExternal, writeExternal
DBID getRoutingObjectID()
void setRoutingObjectID(DBID objectID)
objectID
- the id to be setD getParentDistance()
void setParentDistance(D parentDistance)
parentDistance
- the distance to be setD getCoveringRadius()
void setCoveringRadius(D coveringRadius)
coveringRadius
- the covering radius to be set