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
_dpf
int
_N
static ParForProgramBlock.PartitionFormat
COLUMN_WISE
static ParForProgramBlock.PartitionFormat
NONE
static ParForProgramBlock.PartitionFormat
ROW_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 boolean
equals(Object o)
long
getNumColumns(DataCharacteristics mc)
long
getNumParts(DataCharacteristics mc)
long
getNumRows(DataCharacteristics mc)
int
hashCode()
boolean
isBlockwise()
boolean
isRowwise()
String
toString()
static ParForProgramBlock.PartitionFormat
valueOf(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)
-
-