Class FlattenerTargetField
java.lang.Object
org.pentaho.di.trans.steps.flattener.FlattenerTargetField
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final int
getAggregationType
(String desc) static final String
getAggregationTypeDesc
(int i) static final String
getAggregationTypeDescLong
(int i) int
int
int
int
void
setFieldName
(String fieldName) void
setKeyValue
(String keyValue) void
setTargetAggregationType
(int targetAggregationType) void
setTargetAggregationType
(String aggregationType) void
setTargetCurrencySymbol
(String targetCurrencySymbol) void
setTargetDecimalSymbol
(String targetDecimalSymbol) void
setTargetFormat
(String targetFormat) void
setTargetGroupingSymbol
(String targetGroupingSymbol) void
setTargetLength
(int targetLength) void
setTargetName
(String targetName) void
setTargetNullString
(String targetNullString) void
setTargetPrecision
(int targetPrecision) void
setTargetType
(int targetType) void
setTargetType
(String typeDesc) Set the target type
-
Field Details
-
TYPE_AGGR_NONE
public static final int TYPE_AGGR_NONE- See Also:
-
TYPE_AGGR_SUM
public static final int TYPE_AGGR_SUM- See Also:
-
TYPE_AGGR_AVERAGE
public static final int TYPE_AGGR_AVERAGE- See Also:
-
TYPE_AGGR_MIN
public static final int TYPE_AGGR_MIN- See Also:
-
TYPE_AGGR_MAX
public static final int TYPE_AGGR_MAX- See Also:
-
TYPE_AGGR_COUNT_ALL
public static final int TYPE_AGGR_COUNT_ALL- See Also:
-
TYPE_AGGR_CONCAT_COMMA
public static final int TYPE_AGGR_CONCAT_COMMA- See Also:
-
typeAggrCode
-
typeAggrLongDesc
-
-
Constructor Details
-
FlattenerTargetField
public FlattenerTargetField()Create an empty pivot target field
-
-
Method Details
-
getFieldName
- Returns:
- Returns the fieldName.
-
setFieldName
- Parameters:
fieldName
- The fieldName to set.
-
getTargetFormat
- Returns:
- Returns the targetFormat.
-
setTargetFormat
- Parameters:
targetFormat
- The targetFormat to set.
-
getKeyValue
- Returns:
- Returns the keyValue.
-
setKeyValue
- Parameters:
keyValue
- The keyValue to set.
-
getTargetCurrencySymbol
- Returns:
- Returns the targetCurrencySymbol.
-
setTargetCurrencySymbol
- Parameters:
targetCurrencySymbol
- The targetCurrencySymbol to set.
-
getTargetDecimalSymbol
- Returns:
- Returns the targetDecimalSymbol.
-
setTargetDecimalSymbol
- Parameters:
targetDecimalSymbol
- The targetDecimalSymbol to set.
-
getTargetGroupingSymbol
- Returns:
- Returns the targetGroupingSymbol.
-
setTargetGroupingSymbol
- Parameters:
targetGroupingSymbol
- The targetGroupingSymbol to set.
-
getTargetLength
public int getTargetLength()- Returns:
- Returns the targetLength.
-
setTargetLength
public void setTargetLength(int targetLength) - Parameters:
targetLength
- The targetLength to set.
-
getTargetName
- Returns:
- Returns the targetName.
-
setTargetName
- Parameters:
targetName
- The targetName to set.
-
getTargetNullString
- Returns:
- Returns the targetNullString.
-
setTargetNullString
- Parameters:
targetNullString
- The targetNullString to set.
-
getTargetPrecision
public int getTargetPrecision()- Returns:
- Returns the targetPrecision.
-
setTargetPrecision
public void setTargetPrecision(int targetPrecision) - Parameters:
targetPrecision
- The targetPrecision to set.
-
getTargetType
public int getTargetType()- Returns:
- Returns the targetType.
-
setTargetType
public void setTargetType(int targetType) - Parameters:
targetType
- The targetType to set.
-
getTargetTypeDesc
- Returns:
- The description of the target Value type
-
setTargetType
Set the target type- Parameters:
typeDesc
- the target value type description
-
getTargetAggregationType
public int getTargetAggregationType()- Returns:
- The target aggregation type: when a key-value collision occurs, what it the aggregation to use.
-
setTargetAggregationType
public void setTargetAggregationType(int targetAggregationType) - Parameters:
targetAggregationType
- Specify the The aggregation type: when a key-value collision occurs, what it the aggregation to use.
-
getAggregationType
-
getAggregationTypeDesc
-
getAggregationTypeDescLong
-
setTargetAggregationType
-
getTargetAggregationTypeDesc
-
getTargetAggregationTypeDescLong
-