protected void parseCircle(char[] buffer, int begin, int len, DataOutput out) throws HyracksDataException {
try {
int firstCommaIndex = indexOf(buffer, begin, len, ',');
int spaceIndex = indexOf(buffer, firstCommaIndex + 1, begin + len - firstCommaIndex - 1, ' ');
aPoint.setValue(parseDouble(buffer, begin, firstCommaIndex - begin),
parseDouble(buffer, firstCommaIndex + 1, spaceIndex - firstCommaIndex - 1));
aCircle.setValue(aPoint, parseDouble(buffer, spaceIndex + 1, begin + len - spaceIndex - 1));
circleSerde.serialize(aCircle, out);
} catch (Exception e) {
throw new ParseException(ErrorCode.PARSER_ADM_DATA_PARSER_WRONG_INSTANCE, e, new String(buffer, begin, len),
"circle");
}
}