Class MatrixLineagePair
java.lang.Object
org.apache.commons.lang3.tuple.Pair<L,R>
org.apache.commons.lang3.tuple.MutablePair<MatrixObject,LineageItem>
org.apache.sysds.runtime.controlprogram.federated.MatrixLineagePair
- All Implemented Interfaces:
Serializable,Comparable<org.apache.commons.lang3.tuple.Pair<MatrixObject,,LineageItem>> Map.Entry<MatrixObject,LineageItem>
public class MatrixLineagePair
extends org.apache.commons.lang3.tuple.MutablePair<MatrixObject,LineageItem>
Class to represent the relation between a MatrixObject and the respective
LineageItem.
This class couples the MatrixObject with its LineageItem, where the
LineageItem is treated like meta information and the most important methods
of the MatrixObject are included as a simple forwarding to the MatrixObject.
- See Also:
-
Field Summary
Fields inherited from class org.apache.commons.lang3.tuple.MutablePair
EMPTY_ARRAY, left, right -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintlonggetDim(int dim) getLI()getMO()longgetNnz()longlongbooleanbooleanisFederated(FTypes.FType ftype) booleanisFederatedExcept(FTypes.FType ftype) static MatrixLineagePairof(MatrixObject mo, LineageItem li) Methods inherited from class org.apache.commons.lang3.tuple.MutablePair
emptyArray, getLeft, getRight, of, of, setLeft, setRight, setValueMethods inherited from class org.apache.commons.lang3.tuple.Pair
compareTo, equals, getKey, getValue, hashCode, toString, toString
-
Constructor Details
-
MatrixLineagePair
public MatrixLineagePair() -
MatrixLineagePair
-
-
Method Details
-
of
-
getMO
-
getLI
-
isFederated
public boolean isFederated() -
isFederated
-
isFederatedExcept
-
getFedMapping
-
getDataCharacteristics
-
getNumRows
public long getNumRows() -
getNumColumns
public long getNumColumns() -
getBlocksize
public int getBlocksize() -
getNnz
public long getNnz() -
getDataType
-
getDim
public long getDim(int dim)
-