|
|||||||||||
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
Default implementation of IBaseTransform
interface.
Field Summary | |
static int |
AFTER_LAST_ROW
The expression is evaluated after the last row in the series. |
protected java.util.List |
afterExpressions
|
static int |
BEFORE_FIRST_ROW
The expression is evaluated before the first row in the series. |
protected java.util.List |
beforeExpressions
|
protected java.util.List |
filters
|
static int |
ON_EACH_ROW
The expression is evaluated on each row. |
protected java.util.List |
rowExpressions
|
protected java.util.List |
sorts
|
protected java.util.List |
subqueries
|
Constructor Summary | |
BaseTransform()
|
Method Summary | |
void |
addExpression(IBaseExpression expression,
int expressionTiming)
Add one Javascript expression to the list of expressions that needs evaluation as part of this transform. |
void |
addFilter(IFilterDefinition filter)
Add one filter to the filter list |
void |
addSort(SortDefinition sort)
Appends one sort definition to the list of sort criteria |
void |
addSubquery(SubqueryDefinition subquery)
Add a subquery to the list |
java.util.Collection |
getAfterExpressions()
Gets the expressions that needs to be available at the end of the group/list, as an unordered collection of IBaseExpression objects. |
java.util.Collection |
getBeforeExpressions()
Gets the expressions that needs to be available at the beginning of the group/list, as an unordered collection of IBaseExpression objects. |
java.util.List |
getFilters()
Returns the filters defined in this transform, as an ordered list of IFilterDefintion objects. |
java.util.Collection |
getRowExpressions()
Gets the expressions that needs to be calculated per detail row, as an unordered collection of IBaseExpression objects |
java.util.List |
getSorts()
Returns the sort criteria as an ordered list of SortDefinition objects. |
java.util.Collection |
getSubqueries()
Returns an unordered collection of subqueries that are alternative views of the result set for this transform. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int BEFORE_FIRST_ROW
public static final int AFTER_LAST_ROW
public static final int ON_EACH_ROW
protected java.util.List filters
protected java.util.List subqueries
protected java.util.List sorts
protected java.util.List rowExpressions
protected java.util.List beforeExpressions
protected java.util.List afterExpressions
Constructor Detail |
public BaseTransform()
Method Detail |
public java.util.List getFilters()
IFilterDefintion
objects.
getFilters
in interface IBaseTransform
public void addFilter(IFilterDefinition filter)
public java.util.Collection getSubqueries()
SubqueryDefinition
.
getSubqueries
in interface IBaseTransform
ISubqueryDefinition
public void addSubquery(SubqueryDefinition subquery)
subquery
- one subquery to add to the subquery setpublic java.util.List getSorts()
SortDefinition
objects.
getSorts
in interface IBaseTransform
public void addSort(SortDefinition sort)
public void addExpression(IBaseExpression expression, int expressionTiming)
BEFORE_FIRST_ROW
: expression is evaluated at the start of the iteration over the row set for this gorup/list AFTER_LAST_ROW
: expression is evaluated at the end of the iterationON_EACH_ROW
: expression is evaluated with each detail row within the group/list
public java.util.Collection getRowExpressions()
IBaseExpression
objects
getRowExpressions
in interface IBaseTransform
public java.util.Collection getAfterExpressions()
IBaseExpression
objects.
getAfterExpressions
in interface IBaseTransform
public java.util.Collection getBeforeExpressions()
IBaseExpression
objects.
getBeforeExpressions
in interface IBaseTransform
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |