filterStatsObject = getFilteredStatsForString((String) point.getData());
} else if (point.getData() instanceof Boolean) {
numPoints = 1;
filterStatsObject = getFilteredStatsForBoolean((Boolean) point.getData());
} else if (point.getData() instanceof SetRollup) {
SetRollup rollup = (SetRollup)point.getData();
numPoints += rollup.getCount();
filterStatsObject = getFilteredStatsForRollup(rollup, filterStats);
} else if (point.getData() instanceof TimerRollup) {
TimerRollup rollup = (TimerRollup)point.getData();
numPoints += rollup.getCount();
filterStatsObject = getFilteredStatsForRollup(rollup, filterStats);
} else if (point.getData() instanceof CounterRollup) {
CounterRollup rollup = (CounterRollup)point.getData();
numPoints += rollup.getCount().longValue();
filterStatsObject = getFilteredStatsForRollup(rollup, filterStats);
} else {
throw new SerializationException("Unsupported data type for Point");
}