@Override public final void readExternal(DataInput in, int dataVersion) throws IOException, ClassNotFoundException { super.readExternal(in, dataVersion); uuid1 = new UUID(in.readLong(), in.readLong()); uuid2 = new UUID(in.readLong(), in.readLong()); uuid3 = new UUID(in.readLong(), in.readLong()); string1 = UtfHelper.readUtfV7(in, dataVersion); }
@Override public void writeExternal(DataOutput out) throws IOException { super.writeExternal(out); out.writeLong(uuid1.getMostSignificantBits()); out.writeLong(uuid1.getLeastSignificantBits()); out.writeLong(uuid2.getMostSignificantBits()); out.writeLong(uuid2.getLeastSignificantBits()); out.writeLong(uuid3.getMostSignificantBits()); out.writeLong(uuid3.getLeastSignificantBits()); UtfHelper.writeUtf(out, string1); }