📄 indexedshapefiledatastore.html
字号:
<DL><DD>Creates a new instance of ShapefileDataStore.<P><DT><B>Parameters:</B><DD><CODE>url</CODE> - The URL of the shp file to use for this DataSource.<DD><CODE>namespace</CODE> - DOCUMENT ME!</DL><HR><A NAME="IndexedShapefileDataStore(java.net.URL, java.net.URI, boolean)"><!-- --></A><H3>IndexedShapefileDataStore</H3><PRE>public <B>IndexedShapefileDataStore</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html" title="class or interface in java.net">URL</A> url, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URI.html" title="class or interface in java.net">URI</A> namespace, boolean useMemoryMappedBuffer) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/MalformedURLException.html" title="class or interface in java.net">MalformedURLException</A></PRE><DL><DD>Creates a new instance of ShapefileDataStore.<P><DT><B>Parameters:</B><DD><CODE>url</CODE> - The URL of the shp file to use for this DataSource.<DD><CODE>namespace</CODE> - DOCUMENT ME!<DD><CODE>useMemoryMappedBuffer</CODE> - enable/disable memory mapping of files</DL><HR><A NAME="IndexedShapefileDataStore(java.net.URL, boolean)"><!-- --></A><H3>IndexedShapefileDataStore</H3><PRE>public <B>IndexedShapefileDataStore</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html" title="class or interface in java.net">URL</A> url, boolean useMemoryMappedBuffer) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/MalformedURLException.html" title="class or interface in java.net">MalformedURLException</A></PRE><DL><DD>Creates a new instance of ShapefileDataStore.<P><DT><B>Parameters:</B><DD><CODE>url</CODE> - The URL of the shp file to use for this DataSource.<DD><CODE>useMemoryMappedBuffer</CODE> - enable/disable memory mapping of files</DL><HR><A NAME="IndexedShapefileDataStore(java.net.URL, boolean, boolean)"><!-- --></A><H3>IndexedShapefileDataStore</H3><PRE>public <B>IndexedShapefileDataStore</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html" title="class or interface in java.net">URL</A> url, boolean useMemoryMappedBuffer, boolean createIndex) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/MalformedURLException.html" title="class or interface in java.net">MalformedURLException</A></PRE><DL><DD>Creates a new instance of ShapefileDataStore.<P><DT><B>Parameters:</B><DD><CODE>url</CODE> - The URL of the shp file to use for this DataSource.<DD><CODE>useMemoryMappedBuffer</CODE> - enable/disable memory mapping of files<DD><CODE>createIndex</CODE> - enable/disable automatic index creation if needed</DL><HR><A NAME="IndexedShapefileDataStore(java.net.URL, java.net.URI, boolean, boolean, byte)"><!-- --></A><H3>IndexedShapefileDataStore</H3><PRE>public <B>IndexedShapefileDataStore</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html" title="class or interface in java.net">URL</A> url, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URI.html" title="class or interface in java.net">URI</A> namespace, boolean useMemoryMappedBuffer, boolean createIndex, byte treeType) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/MalformedURLException.html" title="class or interface in java.net">MalformedURLException</A></PRE><DL><DD>Creates a new instance of ShapefileDataStore.<P><DT><B>Parameters:</B><DD><CODE>url</CODE> - The URL of the shp file to use for this DataSource.<DD><CODE>namespace</CODE> - DOCUMENT ME!<DD><CODE>useMemoryMappedBuffer</CODE> - enable/disable memory mapping of files<DD><CODE>createIndex</CODE> - enable/disable automatic index creation if needed<DD><CODE>treeType</CODE> - DOCUMENT ME!<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/NullPointerException.html" title="class or interface in java.lang">NullPointerException</A></CODE> - DOCUMENT ME!<DD><CODE>.</CODE><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/MalformedURLException.html" title="class or interface in java.net">MalformedURLException</A></CODE></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="finalize()"><!-- --></A><H3>finalize</H3><PRE>protected void <B>finalize</B>() throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A></CODE></DL></DD></DL><HR><A NAME="isLocal()"><!-- --></A><H3>isLocal</H3><PRE>public boolean <B>isLocal</B>()</PRE><DL><DD>Determine if the location of this shape is local or remote.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/shapefile/ShapefileDataStore.html#isLocal()">isLocal</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/shapefile/ShapefileDataStore.html" title="class in org.geotools.data.shapefile">ShapefileDataStore</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if local, false if remote</DL></DD></DL><HR><A NAME="getUnsupportedFilter(java.lang.String, org.geotools.filter.Filter)"><!-- --></A><H3>getUnsupportedFilter</H3><PRE>protected <A HREF="../../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> <B>getUnsupportedFilter</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeName, <A HREF="../../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../org/geotools/data/AbstractDataStore.html" title="class in org.geotools.data">AbstractDataStore</A></CODE></B></DD><DD>GR: if a subclass supports filtering, it should override this method to return the unsupported part of the passed filter, so a FilteringFeatureReader will be constructed upon it. Otherwise it will just return the same filter. <p> If the complete filter is supported, the subclass must return <code>Filter.NONE</code> </p><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/AbstractDataStore.html#getUnsupportedFilter(java.lang.String, org.geotools.filter.Filter)">getUnsupportedFilter</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/AbstractDataStore.html" title="class in org.geotools.data">AbstractDataStore</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getFeatureWriterAppend(java.lang.String, org.geotools.data.Transaction)"><!-- --></A><H3>getFeatureWriterAppend</H3><PRE>public <A HREF="../../../../../org/geotools/data/FeatureWriter.html" title="interface in org.geotools.data">FeatureWriter</A> <B>getFeatureWriterAppend</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeName, <A HREF="../../../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A> transaction) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/geotools/data/DataStore.html" title="interface in org.geotools.data">DataStore</A></CODE></B></DD><DD>Aquire a FeatureWriter for adding new content to a FeatureType. <p> This FeatureWriter will return <code>false</code> for hasNext(), however next() may be used to aquire new Features that may be writen out to add new content. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/data/DataStore.html#getFeatureWriterAppend(java.lang.String, org.geotools.data.Transaction)">getFeatureWriterAppend</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/data/DataStore.html" title="interface in org.geotools.data">DataStore</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/AbstractDataStore.html#getFeatureWriterAppend(java.lang.String, org.geotools.data.Transaction)">getFeatureWriterAppend</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/AbstractDataStore.html" title="class in org.geotools.data">AbstractDataStore</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="getFeatureReader(java.lang.String, org.geotools.data.Query)"><!-- --></A><H3>getFeatureReader</H3><PRE>protected <A HREF="../../../../../org/geotools/data/FeatureReader.html" title="interface in org.geotools.data">FeatureReader</A> <B>getFeatureReader</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeName, <A HREF="../../../../../org/geotools/data/Query.html" title="interface in org.geotools.data">Query</A> query) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Use the spatial index if available and adds a small optimization: if no attributes are going to be read, don't uselessly open and read the dbf file.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/shapefile/ShapefileDataStore.html#getFeatureReader(java.lang.String, org.geotools.data.Query)">getFeatureReader</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/shapefile/ShapefileDataStore.html" title="class in org.geotools.data.shapefile">ShapefileDataStore</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/data/AbstractDataStore.html#getFeatureReader(java.lang.String, org.geotools.data.Query)"><CODE>AbstractDataStore.getFeatureReader(java.lang.String, org.geotools.data.Query)</CODE></A></DL></DD></DL><HR><A NAME="createFeatureReader(java.lang.String, org.geotools.data.shapefile.indexed.IndexedShapefileDataStore.Reader, org.geotools.feature.FeatureType)"><!-- --></A><H3>createFeatureReader</H3><PRE>protected <A HREF="../../../../../org/geotools/data/FeatureReader.html" title="interface in org.geotools.data">FeatureReader</A> <B>createFeatureReader</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeName, <A HREF="../../../../../org/geotools/data/shapefile/indexed/IndexedShapefileDataStore.Reader.html" title="class in org.geotools.data.shapefile.indexed">IndexedShapefileDataStore.Reader</A> r, <A HREF="../../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> readerSchema) throws <A HREF="../../../../../org/geotools/feature/SchemaException.html" title="class in org.geotools.feature">SchemaException</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>DOCUMENT ME!<P><DD><DL><DT><B>Parameters:</B><DD><CODE>typeName</CODE> - <DD><CODE>r</CODE> - <DD><CODE>readerSchema</CODE> - <DT><B>Throws:</B><DD><CODE><A HREF="../../../../../org/geotools/feature/SchemaException.html" title="class in org.geotools.feature">SchemaException</A></CODE><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="getAttributesReader(boolean, boolean, org.geotools.filter.Filter)"><!-- --></A><H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -