public class SummaryInfo
extends java.lang.Object
| Constructor and Description |
|---|
SummaryInfo()
Constructor.
|
SummaryInfo(java.lang.String name,
java.lang.String desc,
java.lang.String function,
java.lang.String fieldName,
java.lang.String groupBy)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Gets the summary's description.
|
java.util.Vector<java.lang.String> |
getDistinctOn()
Gets the "Distinct On" fields name list of the Aggregation
DistinctSum |
java.lang.String |
getField()
Gets the mapping name of the field on which the summary is calculated.
|
java.lang.String |
getFunction()
Gets the String format value of the summary's function.
|
java.lang.String |
getGroupBy()
Gets the field used to group the data.
|
java.lang.String |
getName()
Gets the summary's mapping name.
|
SpecFuncInfo |
getSpecFuncInfo()
Gets Special Function's definition.
|
void |
setDescription(java.lang.String desc)
Sets the summary's description text.
|
void |
setDistinctOn(java.util.Vector<java.lang.String> distinctOn)
Sets the "Distinct On" fields name list for the Aggregation
DistinctSum |
void |
setField(java.lang.String fieldName)
Sets the mapping name of the field on which the summary is calculated.
|
void |
setFunction(java.lang.String function)
Sets the String format value of the summary's function.
|
void |
setGroupBy(java.lang.String groupby)
Sets the field used to group the data.
|
void |
setName(java.lang.String name)
Sets the summary's mapping name.
|
void |
setSpecFuncInfo(SpecFuncInfo specFuncInfo)
Sets Special Function's definition of the Summary.
|
public SummaryInfo()
public SummaryInfo(java.lang.String name,
java.lang.String desc,
java.lang.String function,
java.lang.String fieldName,
java.lang.String groupBy)
name - The mapping name of the summary.desc - The description of the summary.function - The aggregate function of the summary.groupBy - The mapping name of the group field.fieldName - The mapping name of the field on which the summary is calculated.public java.lang.String getName()
public void setName(java.lang.String name)
name - The summary's mapping name.public java.lang.String getDescription()
public void setDescription(java.lang.String desc)
desc - The summary's description text.public java.util.Vector<java.lang.String> getDistinctOn()
DistinctSumDistinctSum.public void setDistinctOn(java.util.Vector<java.lang.String> distinctOn)
DistinctSumdistinctOn - the "Distinct On" fields name list. It is effective if and only if the Aggregation is DistinctSum.public java.lang.String getFunction()
public void setFunction(java.lang.String function)
function - The String format value of the summary's function.public java.lang.String getField()
public void setField(java.lang.String fieldName)
fieldName - The mapping name of the field.public java.lang.String getGroupBy()
public void setGroupBy(java.lang.String groupby)
groupby - The mapping name of the groupBy field.public SpecFuncInfo getSpecFuncInfo()
public void setSpecFuncInfo(SpecFuncInfo specFuncInfo)
specFuncInfo - Special Function's definition.#SpecFuncNumInfo}, {@link #SpecFuncStringInfo}, {@link #SpecFuncDateTimeInfo}, {@link #SpecFuncValueChangeInfo}