public void readData(ObjectDataInput in) throws IOException { int size = in.readInt(); map = new HashMap<Data, Collection<Data>>(size); for (int i = 0; i < size; i++) { Data key = IOUtil.readData(in); int collSize = in.readInt(); Collection coll = new ArrayList(collSize); for (int j = 0; j < collSize; j++) { coll.add(IOUtil.readData(in)); } map.put(key, coll); } }
@Override public void readData(ObjectDataInput in) throws IOException { super.readData(in); dataKey = IOUtil.readData(in); dataNewValue = IOUtil.readNullableData(in); dataOldValue = IOUtil.readNullableData(in); }
protected void readInternal(ObjectDataInput in) throws IOException { super.readInternal(in); recordId = in.readLong(); index = in.readInt(); value = IOUtil.readData(in); }