inputBuffer.reset(buffer.array(),offset,length);
} else {
throw new PangoolRuntimeException("Can't convert to OBJECT from instance " + objRecord.getClass());
}
if (customDeser != null){
customDeser.open(inputBuffer);
tuple.set(pos,customDeser.deserialize(tuple.get(pos))); //TODO FIXME avro deserializer shouldn't reuse objects sometimes (UNION ?)
customDeser.close(); //TODO is this ok ?
} else {
//no custom deser , then use Hadoop serializers registered in "io.serializations"