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