@SuppressWarnings("nls") @Test public void testBboxFilterWithEmptyAttributeName() throws Exception { BBOX emptyAttNameFilter = ff.bbox("", -10, -10, 10, 10, "EPSG:4326"); String typeName = testData.getTempTableName(); SimpleFeatureSource source; source = store.getFeatureSource(typeName); SimpleFeatureCollection features; features = source.getFeatures(emptyAttNameFilter); SimpleFeatureIterator iterator = features.features(); try { assertTrue(iterator.hasNext()); } finally { iterator.close(); } }
public final SimpleFeatureCollection getFeatures(final Query query) throws IOException { final Query namedQuery = namedQuery(query); SimpleFeatureCollection collection; SimpleFeatureType queryType = dataStore.getQueryType(namedQuery); collection = new ArcSdeFeatureCollection(this, queryType, namedQuery); return collection; }
ArcSdeFeatureSource implements SimpleFeatureSource { public final SimpleFeatureCollection getFeatures(final Query query) throws IOException { final Query namedQuery = namedQuery(query); SimpleFeatureCollection collection; SimpleFeatureType queryType = dataStore.getQueryType(namedQuery); collection = new ArcSdeFeatureCollection(this, queryType, namedQuery); return collection; } }
ArcSdeFeatureSource implements SimpleFeatureSource { public final SimpleFeatureCollection getFeatures(final Query query) throws IOException { final Query namedQuery = namedQuery(query); SimpleFeatureCollection collection; SimpleFeatureType queryType = dataStore.getQueryType(namedQuery); collection = new ArcSdeFeatureCollection(this, queryType, namedQuery); return collection; } ArcSdeFeatureSource(final FeatureTypeInfo typeInfo, final ArcSDEDataStore dataStore); }
ArcSdeFeatureSource implements SimpleFeatureSource { public final SimpleFeatureCollection getFeatures(final Query query) throws IOException { final Query namedQuery = namedQuery(query); SimpleFeatureCollection collection; SimpleFeatureType queryType = dataStore.getQueryType(namedQuery); collection = new ArcSdeFeatureCollection(this, queryType, namedQuery); return collection; } ArcSdeFeatureSource(final FeatureTypeInfo typeInfo, final ArcSDEDataStore dataStore); Name getName(); synchronized ArcSdeResourceInfo getInfo(); QueryCapabilities getQueryCapabilities(); final void addFeatureListener(final FeatureListener listener); final void removeFeatureListener(final FeatureListener listener); final ReferencedEnvelope getBounds(); final ReferencedEnvelope getBounds(final Query query); final int getCount(final Query query); final ArcSDEDataStore getDataStore(); final SimpleFeatureCollection getFeatures(final Query query); final SimpleFeatureCollection getFeatures(final Filter filter); final SimpleFeatureCollection getFeatures(); final SimpleFeatureType getSchema(); final Set<RenderingHints.Key> getSupportedHints(); ArcSdeVersionHandler getVersionHandler(); FeatureReader<SimpleFeatureType, SimpleFeature> getfeatureReader(
            SimpleFeatureType targetSchema, Query query); }
ArcSdeFeatureSource implements SimpleFeatureSource { public final SimpleFeatureCollection getFeatures(final Query query) throws IOException { final Query namedQuery = namedQuery(query); SimpleFeatureCollection collection; SimpleFeatureType queryType = dataStore.getQueryType(namedQuery); collection = new ArcSdeFeatureCollection(this, queryType, namedQuery); return collection; } ArcSdeFeatureSource(final FeatureTypeInfo typeInfo, final ArcSDEDataStore dataStore); Name getName(); synchronized ArcSdeResourceInfo getInfo(); QueryCapabilities getQueryCapabilities(); final void addFeatureListener(final FeatureListener listener); final void removeFeatureListener(final FeatureListener listener); final ReferencedEnvelope getBounds(); final ReferencedEnvelope getBounds(final Query query); final int getCount(final Query query); final ArcSDEDataStore getDataStore(); final SimpleFeatureCollection getFeatures(final Query query); final SimpleFeatureCollection getFeatures(final Filter filter); final SimpleFeatureCollection getFeatures(); final SimpleFeatureType getSchema(); final Set<RenderingHints.Key> getSupportedHints(); ArcSdeVersionHandler getVersionHandler(); FeatureReader<SimpleFeatureType, SimpleFeature> getfeatureReader(
            SimpleFeatureType targetSchema, Query query);  }