Class FlattenerTargetField
java.lang.Object
org.pentaho.di.trans.steps.flattener.FlattenerTargetField
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final intgetAggregationType(String desc) static final StringgetAggregationTypeDesc(int i) static final StringgetAggregationTypeDescLong(int i) intintintintvoidsetFieldName(String fieldName) voidsetKeyValue(String keyValue) voidsetTargetAggregationType(int targetAggregationType) voidsetTargetAggregationType(String aggregationType) voidsetTargetCurrencySymbol(String targetCurrencySymbol) voidsetTargetDecimalSymbol(String targetDecimalSymbol) voidsetTargetFormat(String targetFormat) voidsetTargetGroupingSymbol(String targetGroupingSymbol) voidsetTargetLength(int targetLength) voidsetTargetName(String targetName) voidsetTargetNullString(String targetNullString) voidsetTargetPrecision(int targetPrecision) voidsetTargetType(int targetType) voidsetTargetType(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
-