BackPrevious Page Next PageNext

Business View

The properties of a business view are:

Property Name Description
Description Specifies the description of the business view.

Data type: String

Display Name Specifies the display name of the business view.

Data type: String

Maximum Duration Specifies the maximum elapsed time allowed to fetch data from the data source when the business view runs, measured in seconds. If the value is set to zero or is blank, it means the time will be unlimited.

For usage about the property, see Limiting the Query Run Time and Number of Records.

Data type: Integer

Maximum Rows Specifies the maximum number of rows that will be fetched from the data source when the business view runs. If the value is set to zero or is blank, it means the number will be unlimited.

For usage about the property, see Limiting the Query Run Time and Number of Records.

Data type: Integer

Prefetch The property works on JReport Server.
  • If true, when end users run a report or dashboard that uses the business view, JReport will fetch all the raw data from the business view and reuse them afterwards.
  • If false, JReport will query data on demand. When several business view elements are based on the same DBFields, they will reuse the DBFields.

The property also affects the following:

  • When it is true, the List<ColumnInfo> parameter in the implementation class of the QueryOptimizer interface will include all columns in the business view, otherwise it will only include columns used by the report or dashboard.
  • When it is true, all the parameters used by the business view will be prompted in the dialog for specifying the parameter values at runtime, otherwise only the parameters referenced by data objects that are used in the report or dashboard will be prompted.

For business views in MongoDB and HIVE connections, the default value is false; for those in other connections, the default value is true.

Data type: Boolean

The following topics show properties of the business view elements:

Aggregation Object

Category

Detail Object

Group Object

BackPrevious Page Next PageNext