@Override public Object deserialize(Writable field) throws SerDeException { try { if (field instanceof Text) { Text b = (Text) field; bis_.reset(b.getBytes(), b.getLength()); } else { BytesWritable b = (BytesWritable) field; bis_.reset(b.getBytes(), b.getLength()); } deserializeReuse = bt.deserialize(deserializeReuse, iprot_); return deserializeReuse; } catch (Exception e) { e.printStackTrace(); throw new SerDeException(e); } }
@Override public Object deserialize(Writable field) throws SerDeException { try { if (field instanceof Text) { Text b = (Text) field; bis_.reset(b.getBytes(), b.getLength()); } else { BytesWritable b = (BytesWritable) field; bis_.reset(b.getBytes(), b.getLength()); } deserializeReuse = bt.deserialize(deserializeReuse, iprot_); return deserializeReuse; } catch (Exception e) { e.printStackTrace(); throw new SerDeException(e); } }
@Override public Object deserialize(Writable field) throws SerDeException { try { if (field instanceof Text) { Text b = (Text) field; bis_.reset(b.getBytes(), b.getLength()); } else { BytesWritable b = (BytesWritable) field; bis_.reset(b.getBytes(), b.getLength()); } deserializeReuse = bt.deserialize(deserializeReuse, iprot_); return deserializeReuse; } catch (Exception e) { e.printStackTrace(); throw new SerDeException(e); } }
@Override public Object deserialize(Writable field) throws SerDeException { try { if (field instanceof Text) { Text b = (Text) field; bis_.reset(b.getBytes(), b.getLength()); } else { BytesWritable b = (BytesWritable) field; bis_.reset(b.getBytes(), b.getLength()); } deserializeReuse = bt.deserialize(deserializeReuse, iprot_); return deserializeReuse; } catch (Exception e) { e.printStackTrace(); throw new SerDeException(e); } }
@Override public Object deserialize(Writable field) throws SerDeException { try { if (field instanceof Text) { Text b = (Text) field; bis_.reset(b.getBytes(), b.getLength()); } else { BytesWritable b = (BytesWritable) field; bis_.reset(b.getBytes(), b.getLength()); } deserializeReuse = bt.deserialize(deserializeReuse, iprot_); return deserializeReuse; } catch (Exception e) { e.printStackTrace(); throw new SerDeException(e); } }
public Object deserialize(Writable field) throws SerDeException { try { if (field instanceof Text) { Text b = (Text) field; bis_.reset(b.getBytes(), b.getLength()); } else { BytesWritable b = (BytesWritable) field; bis_.reset(b.get(), b.getSize()); } deserializeReuse = bt.deserialize(deserializeReuse, iprot_); return deserializeReuse; } catch (Exception e) { e.printStackTrace(); throw new SerDeException(e); } }