public static enum ParForProgramBlock.PDataPartitionFormat extends Enum<ParForProgramBlock.PDataPartitionFormat>
Enum Constant and Description |
---|
BLOCK_WISE_M_N |
COLUMN_BLOCK_WISE |
COLUMN_BLOCK_WISE_N |
COLUMN_WISE |
NONE |
ROW_BLOCK_WISE |
ROW_BLOCK_WISE_N |
ROW_WISE |
Modifier and Type | Method and Description |
---|---|
static ParForProgramBlock.PDataPartitionFormat |
parsePDataPartitionFormat(String s)
Note: Robust version of valueOf in order to return NONE without exception
if misspelled or non-existing and for case-insensitivity.
|
static ParForProgramBlock.PDataPartitionFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParForProgramBlock.PDataPartitionFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParForProgramBlock.PDataPartitionFormat NONE
public static final ParForProgramBlock.PDataPartitionFormat ROW_WISE
public static final ParForProgramBlock.PDataPartitionFormat ROW_BLOCK_WISE
public static final ParForProgramBlock.PDataPartitionFormat ROW_BLOCK_WISE_N
public static final ParForProgramBlock.PDataPartitionFormat COLUMN_WISE
public static final ParForProgramBlock.PDataPartitionFormat COLUMN_BLOCK_WISE
public static final ParForProgramBlock.PDataPartitionFormat COLUMN_BLOCK_WISE_N
public static final ParForProgramBlock.PDataPartitionFormat BLOCK_WISE_M_N
public static ParForProgramBlock.PDataPartitionFormat[] values()
for (ParForProgramBlock.PDataPartitionFormat c : ParForProgramBlock.PDataPartitionFormat.values()) System.out.println(c);
public static ParForProgramBlock.PDataPartitionFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ParForProgramBlock.PDataPartitionFormat parsePDataPartitionFormat(String s)
s
- data partition format as stringCopyright © 2020 The Apache Software Foundation. All rights reserved.