join view permit to show cartesian product of one or more table.
In order to use this view type, the  setType property must be set to  TYPE_JOIN (default).

Maximum number of rows the view must show. Default (0) – All rows

Table list will be used for view. The syntax:

<Alias1>:<Type1>@<Name1>; ... ;<AliasN>:<TypeN>@<NameN>

Where <Alias> is the logical name to use for: <Type>@<Name>,
Where <Type> is the type (table or view) of <Name>. <Type> values can be:
"table" or "view"

Where <Name> is the table name or view name. <Name> syntax must be  <PackageName>.<ObjectName>.

Define table relation or view relation. Syntax is:

&& ... &&
; ... ;
&& ... &&

Where <TypeRel> is the relation type between table or view. <TypeRel> values are:
>   =   left join
<   =   right join
-     =  inner join

<AliasRel> is the alias set for the table or view.
<ColRel> is a name of a column <AliasRel>.


Define view columns. Syntax:

<AliasCol1>:<Expression1> ; ... ; <AliasColN>:<ExpressionN>

Where <AliasCol> is the column logical name we want to set.
<Expression> is column value.
In order to set into <Expression> the name of a table or view field, it is required to use <AliasToV>.<Column>.
The <AliasToV> name is the one defined into setFrom property.

In case we want all column of a specific table/View, the syntax to use can be:  <AliasToV>.@All
or just "@All" if we want all columns of table/view defined into setFrom. When you use @All the <AliasCol> must be not set, and column alis will be their name

It define a filter condition for view.
<value> parameter is an expression return a boolean value.

Define view order. Syntax

<AliasCol1>:<TypeOrder1>; ... ;<AliasColN>:<TypeOrderN>

Where <AliasCol> is a column name defined into setColumns,
<TypeOrder> indicate if order of <AliasCol1> must be "asc" or "desc"

Define the columns to group.Syntax:

<AliasCol1>; ... ;<AliasColN>

Where <AliasCol> is a column name define into setColumns property
When we set this property, into setColumns definition, we must use grouping feature for all column not into group. Syntax for a column will be:

... ;<AliasColY>:<Function>(<ExpressionY>); ...

Feature are:

count = perform a row count
sum = sum
min = take minimum value
max = take maximum value

Define a filter after grouping data. It is valid just if setGroup is used.

Last updatedTuesday, 23 November 2010 17:14