com.f1j.data.query
Interface Alias


public interface Alias
extends DataSet

This describes the API for a Data Set Alias.

An Alias is a way of creating a secondary named view of a Data Set. This is useful when you need to have 2 full views of the same data.

For example, imagine sheet bursting by the 'state' field in some data set named 'A'. Then within a MatrixRange on each bursted 'state' sheet, you want to show how a 'state' total relates to the total of all states. The total of all states requires looking at all of the data. Since 'A' is being used to burst, 'A' only has the results for the current state. To do this you could create an Alias 'B' for query 'A'. Alias 'B' is not affected by the sheet bursting and so still has data for all of the states, so 'B' can be used to calculate a total for all of the states.

Since:
12.0
See Also:
ReportFunctionsGroup

Method Summary
 java.lang.String getQuery()
          Returns the name of the DataQuery that this alias is based upon.
 
Methods inherited from interface com.f1j.data.DataSet
getName
 

Method Detail

getQuery

public java.lang.String getQuery()
Returns the name of the DataQuery that this alias is based upon.
Returns:
the name DataQuery that this alias is based upon.
Since:
12.0