Class FileSystemIndexStore
Object
FileSystemIndexStore
- All Implemented Interfaces:
FileReader
,IndexStore
- Author:
- Tommaso Nolli
-
Constructor Summary
ConstructorsConstructorDescriptionFileSystemIndexStore
(File file) Constructor.FileSystemIndexStore
(File file, byte byteOrder) ConstructorFileSystemIndexStore
(File file, ShpFiles shpFiles) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
id()
An id for the reader.Loads a quadrtee stored in a '.qix' file.void
setByteOrder
(byte byteOrder) void
Stores aQuadTree
-
Constructor Details
-
FileSystemIndexStore
Constructor. The byte order defaults to NEW_MSB_ORDER -
FileSystemIndexStore
Constructor. The byte order defaults to NEW_MSB_ORDER -
FileSystemIndexStore
Constructor
-
-
Method Details
-
store
Description copied from interface:IndexStore
Stores aQuadTree
- Specified by:
store
in interfaceIndexStore
- Parameters:
tree
- theQuadTree
to store- Throws:
StoreException
- See Also:
-
org.geotools.index.quadtree.IndexStore#dataStore(org.geotools.index.quadtree.QuadTree)
-
load
Loads a quadrtee stored in a '.qix' file. WARNING: The resulting quadtree will be immutable; if you perform an insert, anUnsupportedOperationException
will be thrown.- Specified by:
load
in interfaceIndexStore
- Returns:
- the loaded
QuadTree
- Throws:
StoreException
- See Also:
-
org.geotools.index.quadtree.IndexStore#load()
-
getByteOrder
public int getByteOrder()- Returns:
- Returns the byteOrder.
-
setByteOrder
public void setByteOrder(byte byteOrder) - Parameters:
byteOrder
- The byteOrder to set.
-
id
Description copied from interface:FileReader
An id for the reader. This is only used for debugging.- Specified by:
id
in interfaceFileReader
- Returns:
- id for the reader.
-