class AppSchemaDataAccess implements DataAccess<FeatureType, Feature> {

    protected ReferencedEnvelope getBounds(Query query) throws IOException {
        FeatureTypeMapping mapping = getMappingByElement(getName(query));
        Query unmappedQuery = unrollQuery(query, mapping);
        return mapping.getSource().getBounds(unmappedQuery);
    }

    public  AppSchemaDataAccess(Set<FeatureTypeMapping> mappings);

}