Class ParForProgramBlock.PartitionFormat
- java.lang.Object
-
- org.apache.sysds.runtime.controlprogram.ParForProgramBlock.PartitionFormat
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ParForProgramBlock
public static class ParForProgramBlock.PartitionFormat extends Object implements Serializable
Convenience class to package PDataPartitionFormat and its parameters.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description ParForProgramBlock.PDataPartitionFormat_dpfint_Nstatic ParForProgramBlock.PartitionFormatCOLUMN_WISEstatic ParForProgramBlock.PartitionFormatNONEstatic ParForProgramBlock.PartitionFormatROW_WISE
-
Constructor Summary
Constructors Constructor Description PartitionFormat(ParForProgramBlock.PDataPartitionFormat dpf, int N)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)longgetNumColumns(DataCharacteristics mc)longgetNumParts(DataCharacteristics mc)longgetNumRows(DataCharacteristics mc)inthashCode()booleanisBlockwise()booleanisRowwise()StringtoString()static ParForProgramBlock.PartitionFormatvalueOf(String value)
-
-
-
Field Detail
-
NONE
public static final ParForProgramBlock.PartitionFormat NONE
-
ROW_WISE
public static final ParForProgramBlock.PartitionFormat ROW_WISE
-
COLUMN_WISE
public static final ParForProgramBlock.PartitionFormat COLUMN_WISE
-
_dpf
public final ParForProgramBlock.PDataPartitionFormat _dpf
-
_N
public final int _N
-
-
Constructor Detail
-
PartitionFormat
public PartitionFormat(ParForProgramBlock.PDataPartitionFormat dpf, int N)
-
-
Method Detail
-
valueOf
public static ParForProgramBlock.PartitionFormat valueOf(String value)
-
isBlockwise
public boolean isBlockwise()
-
isRowwise
public boolean isRowwise()
-
getNumParts
public long getNumParts(DataCharacteristics mc)
-
getNumRows
public long getNumRows(DataCharacteristics mc)
-
getNumColumns
public long getNumColumns(DataCharacteristics mc)
-
-