}
StringTokenizer st1 = new StringTokenizer(key, ":");
String sensortype = st1.nextToken();
String sensorid = st1.nextToken();
String readingdate = st1.nextToken();
ReadingHistory rhist = new ReadingHistory();
rhist.setSensor(Key.create(Sensor.class, Long.parseLong(sensorid)));
rhist.setAverage(Float.toString(totalval / readings));
rhist.setTimestamp(convertStringDate(readingdate));
deduplicateStore(rhist);
// emit(rhist);
}