public class AggregationDefn extends java.lang.Object implements IAggregationDefn
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
birtAggregationDisplayName
BIRT aggregation display name.
|
protected java.lang.String |
birtAggregationId
BIRT aggregation function id.
|
protected boolean |
canIgnoreDuplicateValues
Indicate if this aggregation can ignore duplicated values.
|
protected boolean |
canIgnoreNullValues
Indicate if this aggregation can ignore null values.
|
protected int |
maxInputVar
The max number of input variable for this aggregation function.
|
protected int |
minInputVar
The minimum number of input variable for this aggregation function.
|
protected boolean |
supportsUnboundedMaxInputVar
Indicate if this aggregation support unlimited number of input variables.
|
protected static int |
UNDEFINED
The initial value for max/min arguments.
|
Constructor and Description |
---|
AggregationDefn(java.lang.String birtAggregationId)
Construct aggregation definition based on BIRT predefined aggregation id.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canIgnoreDuplicateValues()
Identify if this aggregation implementation can ignore duplicated values.
|
boolean |
canIgnoreNullValues()
Identify if this aggregation implementation can ignore null values.
|
java.lang.String |
getBirtAggregationDisplayName()
Return the display name of the BIRT predefined aggregation.
|
java.lang.String |
getBirtAggregationId()
Returns the BIRT predefined aggregation id.
|
java.lang.Integer |
getMaxInputVariables()
Return the max number of arguments that this aggregation function accept.
|
java.lang.Integer |
getMinInputVariables()
Returns the minimum number of arguments required by this aggregation
function.
|
java.lang.String |
getODAAggregationDisplayName()
Returns the oda provider defined aggregation display name.
|
java.lang.String |
getODAAggregationId()
Returns the oda provider defined aggregation id.
|
java.lang.String |
getProviderExtensionId()
Returns the oda aggregation provider id.
|
protected void |
initBirtAggregation(int aggregationId,
java.lang.String id) |
boolean |
supportsUnboundedMaxInputVariables()
Identify if this aggregation function support unlimited arguments.
|
protected static final int UNDEFINED
protected java.lang.String birtAggregationId
protected java.lang.String birtAggregationDisplayName
protected int minInputVar
protected int maxInputVar
protected boolean supportsUnboundedMaxInputVar
protected boolean canIgnoreDuplicateValues
protected boolean canIgnoreNullValues
public AggregationDefn(java.lang.String birtAggregationId) throws java.lang.IllegalArgumentException
birtAggregationId
- birt predefined aggregation id.java.lang.IllegalArgumentException
- exception when the passed in birt aggregation id is not
predefined.public boolean canIgnoreDuplicateValues()
IAggregationDefn
canIgnoreDuplicateValues
in interface IAggregationDefn
public boolean canIgnoreNullValues()
IAggregationDefn
canIgnoreNullValues
in interface IAggregationDefn
public java.lang.String getBirtAggregationDisplayName()
IAggregationDefn
getBirtAggregationDisplayName
in interface IAggregationDefn
public java.lang.String getBirtAggregationId()
IAggregationDefn
getBirtAggregationId
in interface IAggregationDefn
public java.lang.Integer getMaxInputVariables()
IAggregationDefn
getMaxInputVariables
in interface IAggregationDefn
public java.lang.Integer getMinInputVariables()
IAggregationDefn
getMinInputVariables
in interface IAggregationDefn
public java.lang.String getODAAggregationDisplayName()
IAggregationDefn
getODAAggregationDisplayName
in interface IAggregationDefn
public java.lang.String getODAAggregationId()
IAggregationDefn
getODAAggregationId
in interface IAggregationDefn
public java.lang.String getProviderExtensionId()
IAggregationDefn
getProviderExtensionId
in interface IAggregationDefn
public boolean supportsUnboundedMaxInputVariables()
IAggregationDefn
supportsUnboundedMaxInputVariables
in interface IAggregationDefn
protected void initBirtAggregation(int aggregationId, java.lang.String id)
Copyright © 2008 Actuate Corp. All rights reserved.