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 voidclose()Clears up whatever resources the node is hanging ontoNodecopy()intgetNumSubNodes()NodegetSubNode(int pos)Gets the Node at the requested positionintgetSubNodesLength()intgetSubNodeStartByte()static FileSystemNodereadNode(int id, Node parent, FileChannel channel, ByteOrder order, boolean useMemoryMapping)voidsetNumSubNodes(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:
copyin classNode- Throws:
IOException
-
getNumSubNodes
public int getNumSubNodes()
- Overrides:
getNumSubNodesin 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:NodeGets the Node at the requested position- Overrides:
getSubNodein 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
-
-