|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.businessobjects.rebean.wi.Feature
com.businessobjects.rebean.wi.DataProviderFeature
public class DataProviderFeature
The DataProviderFeature class defines the set of features provided by an inherited
DataProvider object. These features basically defines the properties
and permissions of the DataProvider object.
Example:Check whether DUPLICATE_ROW feature is supported by DataProvider or not
DataProvider dp = wiDoc.getDataProviders().getItem(0);
out.print(dp.isSupported(DataProviderFeature.DUPLICATE_ROW));
DataProvider.isSupported(Feature),
QueryFeature,
ConditionOperatorFeature,
Serialized Form| Field Summary | |
|---|---|
static DataProviderFeature |
CREATE_COMBINED_QUERY
Capability of DataProvider to add a Query or a
QueryContainer into a QueryContainer. |
static DataProviderFeature |
DUPLICATE_ROW
Capability of a DataProvider (or SQLDataProvider ) returning duplicated row
while procesing the query. |
static DataProviderFeature |
EDIT_QUERY
Capability of DataProvider to create and to change a query. |
static DataProviderFeature |
MISSING_ROW
Capability of DataProvider (OLAPDataProvider) returning missing rows
while procesing query. |
static DataProviderFeature |
REFRESH
Capability of a DataProvider to refresh the query. |
static DataProviderFeature |
SAMPLING_FREE_RANDOM
Capability of SQLDataProvider to retrive its rows in random order while
processing SQL. |
static DataProviderFeature |
SAMPLING_REPEATABLE_RANDOM
Capability of SQLDataProvider to retrive its rows using repeatable random order sampling
while processing SQL. |
static DataProviderFeature |
VIEW_SQL
Permission of SQLDataProvider to read SQL statements SQLDataProvider.getSQLContainer(). |
| Method Summary | |
|---|---|
java.lang.String |
toString()
Returns the String value corresponding to DataProviderFeature type |
| Methods inherited from class com.businessobjects.rebean.wi.Feature |
|---|
implies |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final DataProviderFeature DUPLICATE_ROW
DataProvider (or SQLDataProvider ) returning duplicated row
while procesing the query.
Note if this feature is activated, you can enable or disable duplicate
row behavior using SQLDataProvider.setDuplicatedRows(boolean).
SQLDataProvider,
SQLDataProvider.setDuplicatedRows(boolean)public static final DataProviderFeature MISSING_ROW
DataProvider (OLAPDataProvider) returning missing rows
while procesing query.
Note if this feature is activated, you can enable or disable missing row
behavior using OLAPDataProvider#setMissingRow.
public static final DataProviderFeature EDIT_QUERY
DataProvider to create and to change a query.
Note when EDIT_QUERY is allowed, you can use
QueryContainer.createQuery(),
QueryContainer.createQueryContainer(CombinedQueryOperator),
DataProvider.copyCombinedQueries(QueryContainer),
QueryNode.remove(QueryNode),
DataProvider,
QueryContainerpublic static final DataProviderFeature CREATE_COMBINED_QUERY
DataProvider to add a Query or a
QueryContainer into a QueryContainer.
Note when CREATE_COMBINED_QUERY is allowed, you can use
QueryContainer.createQuery(),
QueryContainer.createQueryContainer(CombinedQueryOperator).
public static final DataProviderFeature VIEW_SQL
SQLDataProvider.getSQLContainer().
public static final DataProviderFeature SAMPLING_FREE_RANDOM
SQLDataProvider to retrive its rows in random order while
processing SQL.
Note even if this feature is supported, the query should be a simple
Query to get rows processed in random order.
SQLDataProvider,
SamplingModepublic static final DataProviderFeature SAMPLING_REPEATABLE_RANDOM
SQLDataProvider to retrive its rows using repeatable random order sampling
while processing SQL.
Note even if this feature is supported, the query should be a simple
Query to get rows processed in repeatable random
order.
SQLDataProvider,
SamplingModepublic static final DataProviderFeature REFRESH
DataProvider to refresh the query.
| Method Detail |
|---|
public java.lang.String toString()
DataProviderFeature type
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||