|
|||||||||||
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 IBaseQueryDefinition |
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 |
addBinding(IBinding binding)
Add a column binding instance to query definition. |
void |
addGroup(GroupDefinition group)
Appends a group definition to the group list. |
void |
addResultSetExpression(java.lang.String name,
IBaseExpression expression)
Deprecated. |
boolean |
cacheQueryResults()
Indicates if the query need cache the result rows . |
java.util.Map |
getBindings()
Get all column binding instance from query definition. |
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 |
setCacheQueryResults(boolean cacheQueryResults)
|
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 IBaseQueryDefinition 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 void addBinding(IBinding binding) throws org.eclipse.birt.data.engine.core.DataException
IBaseQueryDefinition
addBinding
in interface IBaseQueryDefinition
binding
-
org.eclipse.birt.data.engine.core.DataException
public java.util.Map getBindings()
IBaseQueryDefinition
getBindings
in interface IBaseQueryDefinition
public java.util.Map getResultSetExpressions()
IBaseQueryDefinition
IBaseExpression
objects.
getResultSetExpressions
in interface IBaseQueryDefinition
public boolean cacheQueryResults()
IBaseQueryDefinition
cacheQueryResults
in interface IBaseQueryDefinition
public void setCacheQueryResults(boolean cacheQueryResults)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |