|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.data.engine.api.querydefn.BaseTransform
org.eclipse.birt.data.engine.api.querydefn.BaseQueryDefinition
Default implementation of the IBaseQueryDefinition
interface.
Field Summary | |
protected java.util.List |
groups
|
protected boolean |
hasDetail
|
protected int |
maxRowCount
|
protected BaseQueryDefinition |
parentQuery
|
Fields inherited from class org.eclipse.birt.data.engine.api.querydefn.BaseTransform |
AFTER_LAST_ROW, afterExpressions, BEFORE_FIRST_ROW, beforeExpressions, filters, ON_EACH_ROW, rowExpressions, sorts, subqueries |
Method Summary | |
void |
addGroup(GroupDefinition group)
Appends a group definition to the group list. |
void |
addResultSetExpression(java.lang.String name,
IBaseExpression expression)
|
java.util.List |
getGroups()
Returns the group definitions as an ordered collection of GroupDefinition
objects. |
int |
getMaxRows()
Gets the maximum number of detail rows that can be retrieved by this report query |
IBaseQueryDefinition |
getParentQuery()
Returns the parent query. |
java.util.Map |
getResultSetExpressions()
Gets the expressions that needs to be available at the group/list, as an Map of bound colum name to IBaseExpression objects. |
void |
setMaxRows(int maxRows)
Sets the maximum number of detail rows that can be retrieved by this report query |
void |
setUsesDetails(boolean usesDetails)
|
boolean |
usesDetails()
Indicates if the report will use the detail rows. |
Methods inherited from class org.eclipse.birt.data.engine.api.querydefn.BaseTransform |
addFilter, addSort, addSubquery, getFilters, getSorts, getSubqueries |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.birt.data.engine.api.IBaseTransform |
getFilters, getSorts, getSubqueries |
Field Detail |
protected java.util.List groups
protected boolean hasDetail
protected BaseQueryDefinition parentQuery
protected int maxRowCount
Method Detail |
public java.util.List getGroups()
GroupDefinition
objects. Groups are organizations within the data that support
aggregation, filtering and sorting. Reports use groups to trigger
level breaks.
getGroups
in interface IBaseQueryDefinition
public void addGroup(GroupDefinition group)
group
- Group definition to addpublic boolean usesDetails()
usesDetails
in interface IBaseQueryDefinition
public void setUsesDetails(boolean usesDetails)
usesDetails
- Whether detail rows are used in this querypublic IBaseQueryDefinition getParentQuery()
getParentQuery
in interface IBaseQueryDefinition
public int getMaxRows()
getMaxRows
in interface IBaseQueryDefinition
public void setMaxRows(int maxRows)
public void addResultSetExpression(java.lang.String name, IBaseExpression expression)
name
- expression
- public java.util.Map getResultSetExpressions()
IBaseQueryDefinition
IBaseExpression
objects.
getResultSetExpressions
in interface IBaseQueryDefinition
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |