if (ptr.getLength() == 0) {
return true;
}
BigDecimal value;
PDataType type = children.get(i).getDataType();
SortOrder sortOrder = children.get(i).getSortOrder();
if(type == PDataType.TIMESTAMP || type == PDataType.UNSIGNED_TIMESTAMP) {
value = (BigDecimal)(PDataType.DECIMAL.toObject(ptr, type, sortOrder));
} else if (type.isCoercibleTo(PDataType.DECIMAL)) {
value = (((BigDecimal)PDataType.DECIMAL.toObject(ptr, sortOrder)).multiply(BD_MILLIS_IN_DAY)).setScale(6, RoundingMode.HALF_UP);
} else if (type.isCoercibleTo(PDataType.DOUBLE)) {