| java.lang.Object org.geotools.index.rtree.PageStore org.geotools.index.rtree.cachefs.FileSystemPageStore
FileSystemPageStore | public class FileSystemPageStore extends PageStore (Code) | | DOCUMENT ME!
author: Tommaso Nolli |
Field Summary | |
final protected static byte | B_DOUBLE | final protected static byte | B_FLOAT | final protected static byte | B_INTEGER | final protected static byte | B_LONG | final protected static byte | B_SHORT | final protected static byte | B_STRING |
Constructor Summary | |
public | FileSystemPageStore(File file) | public | FileSystemPageStore(File file, DataDefinition def) Create and index with default values, if the file exists then a
TreeException will be thrown. | public | FileSystemPageStore(File file, DataDefinition def, int cacheSize) Create and index with default values, if the file exists then a
TreeException will be thrown. | public | FileSystemPageStore(File file, DataDefinition def, int maxNodeEntries, int minNodeEntries, short splitAlg) Create and index with the specified values, if the file exists then a
TreeException will be thrown. | public | FileSystemPageStore(File file, DataDefinition def, int maxNodeEntries, int minNodeEntries, short splitAlg, int cacheSize) Create and index with the specified values, if the file exists then a
TreeException will be thrown. |
B_DOUBLE | final protected static byte B_DOUBLE(Code) | | |
B_FLOAT | final protected static byte B_FLOAT(Code) | | |
B_INTEGER | final protected static byte B_INTEGER(Code) | | |
B_LONG | final protected static byte B_LONG(Code) | | |
B_SHORT | final protected static byte B_SHORT(Code) | | |
B_STRING | final protected static byte B_STRING(Code) | | |
FileSystemPageStore | public FileSystemPageStore(File file) throws TreeException(Code) | | Loads an index from the specified File
Parameters: file - The file that stores the index throws: TreeException - |
FileSystemPageStore | public FileSystemPageStore(File file, DataDefinition def) throws TreeException(Code) | | Create and index with default values, if the file exists then a
TreeException will be thrown.
Parameters: file - Parameters: def - throws: TreeException - |
FileSystemPageStore | public FileSystemPageStore(File file, DataDefinition def, int cacheSize) throws TreeException(Code) | | Create and index with default values, if the file exists then a
TreeException will be thrown.
Parameters: file - Parameters: def - Parameters: cacheSize - the size of the cache throws: TreeException - |
FileSystemPageStore | public FileSystemPageStore(File file, DataDefinition def, int maxNodeEntries, int minNodeEntries, short splitAlg) throws TreeException(Code) | | Create and index with the specified values, if the file exists then a
TreeException will be thrown.
Parameters: file - The file to store the index Parameters: def - DOCUMENT ME! Parameters: maxNodeEntries - Parameters: minNodeEntries - Parameters: splitAlg - throws: TreeException - |
FileSystemPageStore | public FileSystemPageStore(File file, DataDefinition def, int maxNodeEntries, int minNodeEntries, short splitAlg, int cacheSize) throws TreeException(Code) | | Create and index with the specified values, if the file exists then a
TreeException will be thrown.
Parameters: file - The file to store the index Parameters: def - DOCUMENT ME! Parameters: maxNodeEntries - Parameters: minNodeEntries - Parameters: splitAlg - Parameters: cacheSize - the size of the cache throws: TreeException - |
getForceChannel | public boolean getForceChannel()(Code) | | DOCUMENT ME!
The state of Force channel parameter |
setForceChannel | public void setForceChannel(boolean b)(Code) | | If this is set to true , then every write to the index will
call a force() on the associated channel
Parameters: b - true or false |
|
|