@Override public void write(final ObjectDataOutput out, final int[] obj) throws IOException { out.writeIntArray(obj); } }
@Override public void write(final ObjectDataOutput out, final int[] obj) throws IOException { out.writeIntArray(obj); } }
@Override public void writeData(ObjectDataOutput out) throws IOException { out.writeIntArray(toIntArray(queryIds)); }
@Override protected void writeInternal(ObjectDataOutput out) throws IOException { super.writeInternal(out); out.writeObject(operationFactory); out.writeIntArray(partitions); }
@Override public void writeData(ObjectDataOutput out) throws IOException { out.writeUTF(name); out.writeIntArray(partitions); for (MapEntries entry : mapEntries) { entry.writeData(out); } }
@Override public void writeData(ObjectDataOutput out) throws IOException { out.writeIntArray(partitions); int resultLength = results != null ? results.length : 0; out.writeInt(resultLength); if (resultLength > 0) { for (Object result : results) { out.writeObject(result); } } }
@Override public void writeData(ObjectDataOutput out) throws IOException { out.writeIntArray(partitions); int resultLength = results != null ? results.length : 0; out.writeInt(resultLength); if (resultLength > 0) { for (Object result : results) { out.writeObject(result); } } }
@Override protected void writeInternal(ObjectDataOutput out) throws IOException { super.writeInternal(out); out.writeObject(operationFactory); out.writeIntArray(partitions); }
@Override public void writeData(ObjectDataOutput out) throws IOException { out.writeUTF(name); out.writeIntArray(partitions); for (MapEntries entry : mapEntries) { entry.writeData(out); } }
@Override public void writeData(ObjectDataOutput out) throws IOException { out.writeUTF(name); out.writeIntArray(partitions); for (List<ReplicatedMapMergeTypes> list : mergingEntries) { out.writeInt(list.size()); for (ReplicatedMapMergeTypes mergingEntry : list) { out.writeObject(mergingEntry); } } out.writeObject(mergePolicy); }
@Override public void writeData(ObjectDataOutput out) throws IOException { out.writeUTF(name); out.writeIntArray(partitions); for (List<CacheMergeTypes> list : mergingEntries) { out.writeInt(list.size()); for (CacheMergeTypes mergingEntry : list) { out.writeObject(mergingEntry); } } out.writeObject(mergePolicy); }
@Override public void writeData(ObjectDataOutput out) throws IOException { out.writeUTF(name); out.writeIntArray(partitions); for (List<MapMergeTypes> list : mergingEntries) { out.writeInt(list.size()); for (MapMergeTypes mergingEntry : list) { out.writeObject(mergingEntry); } } out.writeObject(mergePolicy); }
@Override public void writeData(ObjectDataOutput out) throws IOException { out.writeUTF(name); out.writeIntArray(partitions); for (List<CacheMergeTypes> list : mergingEntries) { out.writeInt(list.size()); for (CacheMergeTypes mergingEntry : list) { out.writeObject(mergingEntry); } } out.writeObject(mergePolicy); }
@Override public void writeData(ObjectDataOutput out) throws IOException { out.writeUTF(name); out.writeIntArray(partitions); for (List<ReplicatedMapMergeTypes> list : mergingEntries) { out.writeInt(list.size()); for (ReplicatedMapMergeTypes mergingEntry : list) { out.writeObject(mergingEntry); } } out.writeObject(mergePolicy); }
@Override public void writeData(ObjectDataOutput out) throws IOException { out.writeUTF(name); out.writeIntArray(partitions); for (List<MapMergeTypes> list : mergingEntries) { out.writeInt(list.size()); for (MapMergeTypes mergingEntry : list) { out.writeObject(mergingEntry); } } out.writeObject(mergePolicy); }
@Override public void write(ObjectDataOutput out, Element xElt) throws IOException { out.writeIntArray(xElt.getPosition()); out.writeObject(xElt.getValue()); }
@Override public void write(ObjectDataOutput out, QueriedPath path) throws IOException { out.writeInt(path.getDataType()); out.writeBoolean(path.isIndexed()); out.writeIntArray(toIntArray(path.getPathIds())); }
@Override public void write(ObjectDataOutput out, Document xDoc) throws IOException { out.writeLong(xDoc.getDocumentKey()); out.writeUTF(xDoc.getUri()); out.writeUTF(xDoc.getTypeRoot()); out.writeLong(xDoc.getTxStart()); out.writeLong(xDoc.getTxFinish()); out.writeLong(xDoc.getCreatedAt().getTime()); out.writeUTF(xDoc.getCreatedBy()); out.writeUTF(xDoc.getFormat()); out.writeInt(xDoc.getBytes()); out.writeInt(xDoc.getElements()); out.writeIntArray(xDoc.getCollections()); }
out.writeLong(headers); if ((headers & HDR_COLLECTIONS) != 0) { out.writeIntArray(collections);