|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.data.shapefile.indexed.ShapeFileIndexer
Utility class for Shapefile spatial indexing
| Field Summary | |
static java.lang.String |
QUADTREE
|
static java.lang.String |
RTREE
|
| Constructor Summary | |
ShapeFileIndexer()
|
|
| Method Summary | |
int |
index(boolean verbose,
Lock lock)
Index the shapefile denoted by setShapeFileName(String fileName) If when a thread starts, another thread is indexing the same file, this thread will wait that the first thread ends indexing; in this case zero is reurned as result of the indexing process. |
static void |
main(java.lang.String[] args)
|
void |
setByteOrder(java.lang.String byteOrder)
DOCUMENT ME! |
void |
setIdxType(java.lang.String idxType)
DOCUMENT ME! |
void |
setMax(int i)
DOCUMENT ME! |
void |
setMin(int i)
DOCUMENT ME! |
void |
setShapeFileName(java.lang.String string)
DOCUMENT ME! |
void |
setSplit(short s)
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String RTREE
public static final java.lang.String QUADTREE
| Constructor Detail |
public ShapeFileIndexer()
| Method Detail |
public static void main(java.lang.String[] args)
public int index(boolean verbose,
Lock lock)
throws java.net.MalformedURLException,
java.io.IOException,
TreeException,
StoreException,
LockTimeoutException
verbose - enable/disable printing of dots every 500 indexed recordslock - DOCUMENT ME!
java.net.MalformedURLException
java.io.IOException
TreeException
StoreException - DOCUMENT ME!
LockTimeoutExceptionpublic void setMax(int i)
i - public void setMin(int i)
i - public void setSplit(short s)
s - public void setShapeFileName(java.lang.String string)
string - public void setIdxType(java.lang.String idxType)
idxType - The idxType to set.public void setByteOrder(java.lang.String byteOrder)
byteOrder - The byteOrder to set.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||