org.geotools.index.quadtree.fs
Class FileSystemNode

java.lang.Object
  extended byorg.geotools.index.quadtree.Node
      extended byorg.geotools.index.quadtree.fs.FileSystemNode

public class FileSystemNode
extends Node

DOCUMENT ME!

Author:
Tommaso Nolli

Field Summary
 
Fields inherited from class org.geotools.index.quadtree.Node
subNodes
 
Constructor Summary
FileSystemNode(com.vividsolutions.jts.geom.Envelope bounds, java.nio.channels.FileChannel channel, java.nio.ByteOrder order, int startByte, int subNodesLength)
          DOCUMENT ME!
 
Method Summary
 int getNumSubNodes()
          DOCUMENT ME!
 Node getSubNode(int pos)
          Gets the Node at the requested position
 int getSubNodesLength()
          DOCUMENT ME!
 int getSubNodeStartByte()
          DOCUMENT ME!
static FileSystemNode readNode(java.nio.channels.FileChannel channel, java.nio.ByteOrder order)
          DOCUMENT ME!
 void setNumSubNodes(int numSubNodes)
          DOCUMENT ME!
 
Methods inherited from class org.geotools.index.quadtree.Node
addShapeId, addSubNode, clearSubNodes, getBounds, getNumShapeIds, getShapeId, getShapesId, removeSubNode, setBounds, setShapesId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemNode

public FileSystemNode(com.vividsolutions.jts.geom.Envelope bounds,
                      java.nio.channels.FileChannel channel,
                      java.nio.ByteOrder order,
                      int startByte,
                      int subNodesLength)
DOCUMENT ME!

Parameters:
bounds -
channel - DOCUMENT ME!
order - DOCUMENT ME!
startByte - DOCUMENT ME!
subNodesLength - DOCUMENT ME!
Method Detail

getNumSubNodes

public int getNumSubNodes()
DOCUMENT ME!

Overrides:
getNumSubNodes in class Node
Returns:
Returns the numSubNodes.

setNumSubNodes

public void setNumSubNodes(int numSubNodes)
DOCUMENT ME!

Parameters:
numSubNodes - The numSubNodes to set.

getSubNodeStartByte

public int getSubNodeStartByte()
DOCUMENT ME!

Returns:
Returns the subNodeStartByte.

getSubNodesLength

public int getSubNodesLength()
DOCUMENT ME!

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 class Node
Parameters:
pos - The position
Returns:
A Node
Throws:
StoreException - DOCUMENT ME!
See Also:
Node.getSubNode(int)

readNode

public static FileSystemNode readNode(java.nio.channels.FileChannel channel,
                                      java.nio.ByteOrder order)
                               throws java.io.IOException
DOCUMENT ME!

Parameters:
channel -
order - DOCUMENT ME!
Returns:
Throws:
java.io.IOException


Copyright © GeoTools. All Rights Reserved.