use of com.tencent.angel.ps.storage.vector.storage.ElementElementStorage in project angel by Tencent.
the class ComplexRowFormat method save.
private void save(ServerAnyAnyRow row, PSMatrixSaveContext saveContext, MatrixPartitionMeta partMeta, DataOutputStream output) throws IOException {
ElementElementStorage storage = row.getStorage();
ObjectIterator<Object2ObjectMap.Entry<IElement, IElement>> iter = storage.iterator();
while (iter.hasNext()) {
Object2ObjectMap.Entry<IElement, IElement> entry = iter.next();
save(entry.getKey(), entry.getValue(), output);
}
}
Aggregations