Ran into this when creating a customized FeatureDataAdapter which only persists the bounding box statistic.
When a query is performed against a namespace which contains valid entries, null is returned because it is assumed that all StatisticalDataAdapters will use RowRangeHistogramStatistics. The point of failure lies within the DataStoreUtils.trimAdapterIdsByIndex method. If an adapter doesn't include this statistic, it is assumed that no entries are present in the namespace.
One way to make the logic work would be to persist a list of enabled statistics for each data adapter in the GEOWAVE_METADATA table. That way, no assumptions need be made about what statistics are included for any given StatisticalDataAdapter.
Ran into this when creating a customized FeatureDataAdapter which only persists the bounding box statistic.
When a query is performed against a namespace which contains valid entries, null is returned because it is assumed that all StatisticalDataAdapters will use RowRangeHistogramStatistics. The point of failure lies within the DataStoreUtils.trimAdapterIdsByIndex method. If an adapter doesn't include this statistic, it is assumed that no entries are present in the namespace.
One way to make the logic work would be to persist a list of enabled statistics for each data adapter in the GEOWAVE_METADATA table. That way, no assumptions need be made about what statistics are included for any given StatisticalDataAdapter.