use of com.tencent.angel.ps.storage.vector.ServerAnyAnyRow in project angel by Tencent.
the class GraphMatrixUtils method getPSAnyKeyRow.
public static ServerAnyAnyRow getPSAnyKeyRow(PSContext psContext, PartitionGetParam partParam) {
ServerMatrix matrix = psContext.getMatrixStorageManager().getMatrix(partParam.getMatrixId());
ServerPartition part = matrix.getPartition(partParam.getPartKey().getPartitionId());
return (ServerAnyAnyRow) (((RowBasedPartition) part).getRow(0));
}
use of com.tencent.angel.ps.storage.vector.ServerAnyAnyRow in project angel by Tencent.
the class GraphMatrixUtils method getPSAnyKeyRow.
public static ServerAnyAnyRow getPSAnyKeyRow(PSContext psContext, PartitionUpdateParam partParam) {
ServerMatrix matrix = psContext.getMatrixStorageManager().getMatrix(partParam.getMatrixId());
ServerPartition part = matrix.getPartition(partParam.getPartKey().getPartitionId());
return (ServerAnyAnyRow) (((RowBasedPartition) part).getRow(0));
}
Aggregations