@Test public void testGetFeatureReader() throws IOException { final String typeName = testData.getTempTableName(); FeatureReader<SimpleFeatureType, SimpleFeature> reader = getReader(typeName); assertNotNull(reader); int count = 0; try { while (testNext(reader)) { ++count; } } finally { reader.close(); } assertEquals(8, count); }
public FeatureReader<SimpleFeatureType, SimpleFeature> getfeatureReader( SimpleFeatureType targetSchema, Query query) throws IOException { FeatureReader<SimpleFeatureType, SimpleFeature> featureReader; featureReader = dataStore.getFeatureReader(query, transaction, targetSchema); return featureReader; }
ArcSdeFeatureSource implements SimpleFeatureSource { public FeatureReader<SimpleFeatureType, SimpleFeature> getfeatureReader( SimpleFeatureType targetSchema, Query query) throws IOException { FeatureReader<SimpleFeatureType, SimpleFeature> featureReader; featureReader = dataStore.getFeatureReader(query, transaction, targetSchema); return featureReader; } }
ArcSdeFeatureSource implements SimpleFeatureSource { public FeatureReader<SimpleFeatureType, SimpleFeature> getfeatureReader( SimpleFeatureType targetSchema, Query query) throws IOException { FeatureReader<SimpleFeatureType, SimpleFeature> featureReader; featureReader = dataStore.getFeatureReader(query, transaction, targetSchema); return featureReader; } ArcSdeFeatureSource(final FeatureTypeInfo typeInfo, final ArcSDEDataStore dataStore); }
ArcSdeFeatureSource implements SimpleFeatureSource { public FeatureReader<SimpleFeatureType, SimpleFeature> getfeatureReader( SimpleFeatureType targetSchema, Query query) throws IOException { FeatureReader<SimpleFeatureType, SimpleFeature> featureReader; featureReader = dataStore.getFeatureReader(query, transaction, targetSchema); return featureReader; } 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 FeatureReader<SimpleFeatureType, SimpleFeature> getfeatureReader( SimpleFeatureType targetSchema, Query query) throws IOException { FeatureReader<SimpleFeatureType, SimpleFeature> featureReader; featureReader = dataStore.getFeatureReader(query, transaction, targetSchema); return featureReader; } 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);  }