public enum ColumnNamePolicy extends Enum<ColumnNamePolicy>
Enum Constant and Description |
---|
AGGREGATION_METHOD_COLUMN_NAME
Combines the aggregation method with the column name e.g.
|
COLUMN_NAME_AGGREGATION_METHOD
Combines the column name with the aggregation method e.g.
|
KEEP_ORIGINAL_NAME
Keeps the original column name.
|
Modifier and Type | Method and Description |
---|---|
String |
createColumName(ColumnAggregator aggrCol) |
static ColumnNamePolicy |
getDefault() |
String |
getLabel() |
static ColumnNamePolicy |
getPolicy4Label(String label) |
static String[] |
getPolicyLabels() |
static ColumnNamePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColumnNamePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnNamePolicy KEEP_ORIGINAL_NAME
public static final ColumnNamePolicy AGGREGATION_METHOD_COLUMN_NAME
public static final ColumnNamePolicy COLUMN_NAME_AGGREGATION_METHOD
public static ColumnNamePolicy[] values()
for (ColumnNamePolicy c : ColumnNamePolicy.values()) System.out.println(c);
public static ColumnNamePolicy 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 String getLabel()
public String createColumName(ColumnAggregator aggrCol)
aggrCol
- the ColumnAggregator
that contains all relevant
informationpublic static ColumnNamePolicy getPolicy4Label(String label)
label
- the label of the ColumnNamePolicy
ColumnNamePolicy
with the given labelpublic static String[] getPolicyLabels()
ColumnNamePolicy
optionspublic static ColumnNamePolicy getDefault()
ColumnNamePolicy
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.