public class DatabaseUtilities
extends java.lang.Object
| Constructor and Description |
|---|
DatabaseUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Iterator |
searchFeatures(IFeatureClass fc)
Returns all features in the feature class with the recycling cursor.
|
static java.util.Iterator |
searchFeatures(IFeatureClass fc,
java.lang.String where)
Returns all features in the feature class matching the given where clause with the recycling cursor.
|
static java.util.Iterator |
searchFeatures(IFeatureClass fc,
java.lang.String where,
boolean recycling)
Returns all features in the feature class matching the given where clause.
|
static java.util.Iterator |
searchFeatures(IFeatureClass fc,
java.lang.String where,
IGeometry geometry)
Searches the FeatureClass for features matching the given where-clause and
intersecting the given geometry with recycling cursor.
|
static java.util.Iterator |
searchFeatures(IFeatureClass fc,
java.lang.String where,
IGeometry geometry,
int spatialRel)
Searches the FeatureClass for features matching the given where clause and
having the given relationship to the input geometry with recycling cursor.
|
static java.util.Iterator |
searchFeatures(IFeatureClass fc,
java.lang.String where,
IGeometry geometry,
int spatialRel,
boolean recycling)
Searches the FeatureClass for features matching the given where clause and having the given
spatial relationship to the input geometry.
|
static java.util.Iterator |
searchRows(ITable table)
Returns all rows in the table with the recycling cursor.
|
static java.util.Iterator |
searchRows(ITable table,
java.lang.String where)
Returns all rows in the table matching the given where clause with the recycling cursor.
|
static java.util.Iterator |
searchRows(ITable table,
java.lang.String where,
boolean recycling)
Returns all rows in the table matching the given where clause.
|
public static java.util.Iterator searchFeatures(IFeatureClass fc) throws java.io.IOException
DataUtilities.searchFeatures(IFeatureClass fc, String where, boolean recycling) method.fc - the feature class (IFeatureClass) to search.Iterator as the search result.java.io.IOExceptionpublic static java.util.Iterator searchFeatures(IFeatureClass fc, java.lang.String where) throws java.io.IOException
DataUtilities.searchFeatures(IFeatureClass fc, String where, boolean recycling) method.fc - the feature class (IFeatureClass) to search.where - the Stringwhere clause to perform search.Iterator as the search result.java.io.IOExceptionpublic static java.util.Iterator searchFeatures(IFeatureClass fc, java.lang.String where, boolean recycling) throws java.io.IOException
fc - the feature class (IFeatureClass) to search.where - the Stringwhere clause to perform search.recycling - true if recycling cursor is used and false is non-recycling cursor is used.Iterator as the search result.java.io.IOExceptionpublic static java.util.Iterator searchFeatures(IFeatureClass fc, java.lang.String where, IGeometry geometry, int spatialRel, boolean recycling) throws java.io.IOException, AutomationException
fc - the feature class (IFeatureClass) to search.where - the Stringwhere clause to perform search.geometry - the input IGeometry that matching features intersect.spatialRel - the spatial relationship defined as esriSpatialRelEnum.recycling - true if recycling cursor is used and false if non-recycling cursor is used.Iterator as the search result.java.io.IOExceptionAutomationExceptionpublic static java.util.Iterator searchFeatures(IFeatureClass fc, java.lang.String where, IGeometry geometry, int spatialRel) throws java.io.IOException
fc - the feature class (IFeatureClass) to search.where - the Stringwhere clause to perform search.geometry - the defined IGeometry that matching features intersect.spatialRel - the spatial relationship defined as esriSpatialRelEnum.Iterator as the search result.java.io.IOExceptionpublic static java.util.Iterator searchFeatures(IFeatureClass fc, java.lang.String where, IGeometry geometry) throws java.io.IOException
fc - the feature class (IFeatureClass) to search.where - the Stringwhere clause to perform search.geometry - the defined IGeometry that matching features intersect.Iterator as the search result.java.io.IOExceptionpublic static java.util.Iterator searchRows(ITable table) throws java.io.IOException
DataUtilities.searchRows(ITable table, String where, boolean recycling) method.table - the table (ITable) to search.Iterator as the search result.java.io.IOExceptionpublic static java.util.Iterator searchRows(ITable table, java.lang.String where) throws java.io.IOException
DataUtilities.searchRows(ITable table, String where, boolean recycling) method.table - the table (ITable) to search.where - the Stringwhere clause to perform search.Iterator as the search result.java.io.IOExceptionpublic static java.util.Iterator searchRows(ITable table, java.lang.String where, boolean recycling) throws java.io.IOException
table - the table (ITable) to search.where - the Stringwhere clause to perform search.recycling - true if recycling cursor is used and false is non-recycling cursor is used.Iterator as the search result.java.io.IOException