@Override
public DataStatistics<SimpleFeature> createDataStatistics(
final ByteArrayId statisticsId ) {
if (BoundingBoxDataStatistics.STATS_ID.equals(statisticsId)) {
return new FeatureBoundingBoxStatistics(
getAdapterId());
}
else if (CountDataStatistics.STATS_ID.equals(statisticsId)) {
return new CountDataStatistics(
getAdapterId());