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:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description MatrixLineagePair()MatrixLineagePair(MatrixObject mo, LineageItem li)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetBlocksize()DataCharacteristicsgetDataCharacteristics()Types.DataTypegetDataType()longgetDim(int dim)FederationMapgetFedMapping()LineageItemgetLI()MatrixObjectgetMO()longgetNumColumns()longgetNumRows()booleanisFederated()booleanisFederated(FTypes.FType ftype)booleanisFederatedExcept(FTypes.FType ftype)static MatrixLineagePairof(MatrixObject mo, LineageItem li)- 
Methods inherited from class org.apache.commons.lang3.tuple.MutablePairemptyArray, getLeft, getRight, of, of, setLeft, setRight, setValue
 
- 
 
- 
- 
- 
Constructor Detail- 
MatrixLineagePairpublic MatrixLineagePair() 
 - 
MatrixLineagePairpublic MatrixLineagePair(MatrixObject mo, LineageItem li) 
 
- 
 - 
Method Detail- 
ofpublic static MatrixLineagePair of(MatrixObject mo, LineageItem li) 
 - 
getMOpublic MatrixObject getMO() 
 - 
getLIpublic LineageItem getLI() 
 - 
isFederatedpublic boolean isFederated() 
 - 
isFederatedpublic boolean isFederated(FTypes.FType ftype) 
 - 
isFederatedExceptpublic boolean isFederatedExcept(FTypes.FType ftype) 
 - 
getFedMappingpublic FederationMap getFedMapping() 
 - 
getDataCharacteristicspublic DataCharacteristics getDataCharacteristics() 
 - 
getNumRowspublic long getNumRows() 
 - 
getNumColumnspublic long getNumColumns() 
 - 
getBlocksizepublic long getBlocksize() 
 - 
getDataTypepublic Types.DataType getDataType() 
 - 
getDimpublic long getDim(int dim) 
 
- 
 
-