code: @Override
      protected void _to(ObjectOutput out) throws IOException {
          // 1: write parameters and indices
          out.writeInt(parameters.size());
          for (TableParameter tp : parameters) {
              // 1: write each table parameter
              tp.writeExternal(out);
              // 2: write index
              writeInteger(out, parameterIndex.get(tp));
              // 3: write table parameter count
              writeInteger(out, count.get(tp));
          }
  
          // 2: write number of global indices
          out.writeInt(globalIndex.size());
          for (final Entry<Integer, Integer> e : entries(globalIndex)) {
              // write each key/value
              writeInteger(out, e.getKey());
              writeInteger(out, e.getValue());
          }
  
          // 3: write number of uuids
          out.writeInt(globalUUIDs.size());
          for (final Entry<Integer, SkinnyUUID> e : entries(globalUUIDs)) {
              writeInteger(out, e.getKey());
              writeLong(out, e.getValue().getMostSignificantBits());
              writeLong(out, e.getValue().getLeastSignificantBits());
          }
      }
docs: {@inheritDoc}