Class FileSystemNode
-
public class FileSystemNode extends Node
- Author:
- Tommaso Nolli
-
-
Field Summary
-
Fields inherited from class Node
numShapesId, shapesId, subNodes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Clears up whatever resources the node is hanging ontoNode
copy()
int
getNumSubNodes()
Node
getSubNode(int pos)
Gets the Node at the requested positionint
getSubNodesLength()
int
getSubNodeStartByte()
static FileSystemNode
readNode(int id, Node parent, FileChannel channel, ByteOrder order, boolean useMemoryMapping)
void
setNumSubNodes(int numSubNodes)
-
Methods inherited from class Node
addShapeId, addSubNode, clean, clearSubNodes, getBounds, getNumShapeIds, getShapeId, getShapesId, isChildrenVisited, isVisited, pack, removeSubNode, setBounds, setChildrenVisited, setShapesId, setShapesId, setVisited
-
-
-
-
Method Detail
-
copy
public Node copy() throws IOException
- Overrides:
copy
in classNode
- Throws:
IOException
-
getNumSubNodes
public int getNumSubNodes()
- Overrides:
getNumSubNodes
in classNode
- Returns:
- Returns the numSubNodes.
-
setNumSubNodes
public void setNumSubNodes(int numSubNodes)
- Parameters:
numSubNodes
- The numSubNodes to set.
-
getSubNodeStartByte
public int getSubNodeStartByte()
- Returns:
- Returns the subNodeStartByte.
-
getSubNodesLength
public int getSubNodesLength()
- Returns:
- Returns the subNodesLength.
-
getSubNode
public Node getSubNode(int pos) throws StoreException
Description copied from class:Node
Gets the Node at the requested position- Overrides:
getSubNode
in classNode
- Parameters:
pos
- The position- Returns:
- A Node
- Throws:
StoreException
- See Also:
org.geotools.index.quadtree.Node#getSubNode(int)
-
readNode
public static FileSystemNode readNode(int id, Node parent, FileChannel channel, ByteOrder order, boolean useMemoryMapping) throws IOException
- Throws:
IOException
-
-