byte[] ba = bc.getValue();
return ByteBuffer.wrap(ba);
}
else if (s instanceof DateColumn)
{
DateColumn dc = (DateColumn) s;
Date d = dc.getValue();
Long l = d.getTime();
return l;
}
else if (s instanceof DatetimeColumn)
{
DatetimeColumn dc = (DatetimeColumn) s;
Date d = dc.getValue();
Long t1 = (d.getTime()/1000) * 1000; //Bug in OR for DateTIme and Time data-types. MilliSeconds is not available for these columns but is set with currentMillis() wrongly.
return t1;
}
else if (s instanceof DecimalColumn)
{
DecimalColumn dc = (DecimalColumn) s;
_log.info("dc Value is :" + dc.getValue());
String s1 = dc.getValue().toString(); // Convert to string for preserving precision
_log.info("Str : " + s1);
return s1;
}
else if (s instanceof DoubleColumn)
{
DoubleColumn dc = (DoubleColumn) s;
Double d = dc.getValue();
return d;
}
else if (s instanceof EnumColumn)
{
EnumColumn ec = (EnumColumn) s;