|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface provides methods that allow you to manage overload objects within the BusinessObjects Enterprise Infrastructure.
Note: If a value is overloaded, its default value has been modified.
For example, if the default value for a property is true, but the value is changed to false, the property is considered overloaded.
Furthermore, if the value is set back to true, the property is still considered overloaded.
| Method Summary | |
int |
getConnection()
Returns the connection ID. |
int |
getMaxExecutionTime()
Returns the maximum execution time of a query. |
int |
getMaxLongTextObjectsSize()
Returns the number of characters that are retrieved from a database. |
int |
getMaxResultSetSize()
Returns the maximum number of rows that are returned by a query. |
IObjectsOverload |
getRestrictedObjects()
Returns a collection of universe objects that are restricted from the given universe. |
IRowsOverload |
getRestrictedRows()
Returns a collection of database table rows that are restricted from a given universe. |
ITableMappingsOverload |
getTableMappings()
Returns a collection of table mappings for a given universe. |
int |
getUniverse()
Returns the universe ID that applies to this overload object. |
boolean |
isLimitExecutionTimeEnabled()
Returns a boolean that indicates whether limiting the execution time has been enabled.
|
boolean |
isLimitExecutionTimeOverloaded()
Returns a boolean that indicates whether the execution time for a query has been overloaded.
|
boolean |
isLimitLongTextObjectsSizeEnabled()
Returns a boolean that indicates whether a limitation has been set on the size of long text objects.
|
boolean |
isLimitLongTextObjectsSizeOverloaded()
Returns a boolean that indicates whether the size of long text objects has been overloaded.
|
boolean |
isLimitResultSetSizeEnabled()
Returns a boolean that indicates whether limiting the result size has been enabled.
|
boolean |
isLimitResultSetSizeOverloaded()
Returns a boolean that indicates whether the result set size has been overloaded.
|
boolean |
isMultipleContextSelectionAllowed()
Returns a boolean that indicates whether allowing the selection of multiple contexts has been enabled.
|
boolean |
isMultipleContextSelectionAllowedOverloaded()
Returns a boolean that indicates whether allowing the selection of multiple contexts has been overloaded.
|
boolean |
isMultipleSQLStatementsEachContextAllowed()
Returns a boolean that indicates whether permission to use multiple SQL statements for each context has been enabled.
|
boolean |
isMultipleSQLStatementsEachContextAllowedOverloaded()
Returns a boolean that indicates whether allowing multiple SQL statements for each context has been overloaded.
|
boolean |
isMultipleSQLStatementsEachMeasureAllowed()
Returns a boolean that indicates whether permission to use multiple SQL statements for each measure has been enabled.
|
boolean |
isMultipleSQLStatementsEachMeasureAllowedOverloaded()
Returns a boolean that indicates whether permission to use multiple SQL statements for each measure has been overloaded.
|
boolean |
isPreventCartesianProduct()
Returns a boolean that indicates whether generating a cartesian product is prohibited.
|
boolean |
isPreventCartesianProductOverloaded()
Returns a boolean that indicates whether generating a cartesian product has been overloaded.
|
boolean |
isUnionIntersectMinusAllowed()
Returns a boolean that indicates whether allowing the use of set operators (union, intersect, and minus) in SQL queries has been enabled.
|
boolean |
isUnionIntersectMinusAllowedOverloaded()
Returns a boolean that indicates whether allowing set operators in an SQL query has been overloaded.
|
void |
setConnection(int id)
sets the connection ID. |
void |
setLimitExecutionTimeEnabled(boolean bEnable)
Sets a boolean that indicates whether limiting the execution time has been enabled.
|
void |
setLimitExecutionTimeOverloaded(boolean bOverload)
Sets a boolean that indicates whether the default value for the execution time of a query has been overloaded.
|
void |
setLimitLongTextObjectsSizeEnabled(boolean bEnable)
Sets a boolean that indicates whether limiting the size of long text objects has been enabled.
|
void |
setLimitLongTextObjectsSizeOverloaded(boolean bOverload)
Sets a boolean that indicates whether the size of long text objects has been overloaded.
|
void |
setLimitResultSetSizeEnabled(boolean bEnable)
Sets a boolean that indicates whether limiting the result set size has been enabled.
|
void |
setLimitResultSetSizeOverloaded(boolean bOverload)
Sets a boolean that indicates whether the result set size has been overloaded.
|
void |
setMaxExecutionTime(int maxExecTime)
Sets the maximum execution time of a query. |
void |
setMaxLongTextObjectsSize(int maxSize)
Sets the number of characters that are retrieved from a database. |
void |
setMaxResultSetSize(int maxResultSize)
Sets the maximum number of rows that are returned by a query. |
void |
setMultipleContextSelectionAllowed(boolean bAllow)
Sets a boolean that indicates whether allowing the selection of multiple contexts has been enabled.
|
void |
setMultipleContextSelectionAllowedOverloaded(boolean bOverload)
Sets a boolean that indicates whether allowing the selection of multiple contexts has been overloaded.
|
void |
setMultipleSQLStatementsEachContextAllowed(boolean bAllow)
Sets a boolean that indicates whether permission to use of multiple SQL statements for each context has been enabled.
|
void |
setMultipleSQLStatementsEachContextAllowedOverloaded(boolean bOverload)
Sets a boolean that indicates whether permission to use multiple SQL statements for each context has been overloaded.
|
void |
setMultipleSQLStatementsEachMeasureAllowed(boolean bAllow)
Sets a boolean that indicates whether permission to use multiple SQL statements for each measure has been enabled.
|
void |
setMultipleSQLStatementsEachMeasureAllowedOverloaded(boolean bOverload)
Sets a boolean that indicates whether permission to use multiple SQL statements for each measure has been overloaded.
|
void |
setPreventCartesianProduct(boolean bPrevent)
Sets a boolean that indicates whether generating a cartesian product is prohibited.
|
void |
setPreventCartesianProductOverloaded(boolean bOverload)
Sets a boolean that indicates whether generating a cartesian product has been overloaded.
|
void |
setUnionIntersectMinusAllowed(boolean bAllow)
Sets a boolean that indicates whether allowing the use of set operators (union, intersect, and minus) in SQL queries has been enabled.
|
void |
setUnionIntersectMinusAllowedOverloaded(boolean bOverload)
Sets a boolean that indicates whether the size of long text objects has been overloaded.
|
void |
setUniverse(int id)
Sets the universe ID that applies to this overload object. |
| Method Detail |
public int getUniverse()
throws SDKException
Returns the universe ID that applies to this overload object.
int that represents the unique ID of the universe object.
SDKException - Throws an exception if property is not foundpublic void setUniverse(int id)
Sets the universe ID that applies to this overload object.
id - An int that specifies the universe ID.public int getConnection()
Returns the connection ID.
A universe is identified by its name and database connection. This property identifies the database connection of the universe that is associated with this overload object.
int that represents the connection ID.public void setConnection(int id)
sets the connection ID.
A universe is identified by its name and database connection. This property identifies the database connection of the universe that is associated with this overload object.
id - An int that specifies the connection ID.public boolean isLimitResultSetSizeOverloaded()
Returns a boolean that indicates whether the result set size has been overloaded.
The default values for the query limit with respect to the result set size are:
true which indicates that the result set size will be limited. This information is managed by the isLimitResultSetSizeEnabled and the setLimitResultSetSizeEnabled.
Note: Ensure that this property returns true before you check the value for
isLimitResultSetSizeEnabled.
true if the result set size has been overloaded, and false otherwise.setLimitResultSetSizeOverloaded,
setLimitResultSetSizeEnabled,
isLimitResultSetSizeEnabled,
getMaxResultSetSize,
setMaxResultSetSizepublic void setLimitResultSetSizeOverloaded(boolean bOverload)
Sets a boolean that indicates whether the result set size has been overloaded.
The default values for the query limit with respect to the result set size are:
true which indicates that the result set size will be limited to a certain number of rows. This information is managed by the isLimitResultSetSizeEnabled and the setLimitResultSetSizeEnabled
bOverload - A boolean that specifies whether the result set size has been overloaded.isLimitResultSetSizeOverloaded,
setLimitResultSetSizeEnabled,
isLimitResultSetSizeEnabled,
getMaxResultSetSize,
setMaxResultSetSize
public boolean isLimitResultSetSizeEnabled()
throws SDKException
Returns a boolean that indicates whether limiting the result size has been enabled.
true. This indicates that the result set size will be limited to a certain number of rows. Use the
setLimitResultSetSizeEnabled to enable or disable this property. true before you check the value returned by this method.
trueif the result set size has been limited, and false otherwise.
SDKException - Throws an exception if property is not foundsetLimitResultSetSizeEnabled,
isLimitResultSetSizeOverloaded,
setLimitResultSetSizeOverloaded,
getMaxResultSetSize,
setMaxResultSetSizepublic void setLimitResultSetSizeEnabled(boolean bEnable)
Sets a boolean that indicates whether limiting the result set size has been enabled.
Use this method to overload the SI_LIMIT_RESULTSETSIZE property.
bEnable - A boolean that specifies whether the property has been enabled.isLimitResultSetSizeEnabled,
isLimitResultSetSizeOverloaded,
setLimitResultSetSizeOverloaded,
getMaxResultSetSize,
setMaxResultSetSize
public int getMaxResultSetSize()
throws SDKException
Returns the maximum number of rows that are returned by a query.
The default value for the query limit is 5000 rows.
For this property to have an affect on the number of rows that a query can retrieve from the data source,
the setLimitResultSetSizeEnabled must be set to true.
SDKException - Throws an exception if property is not foundsetMaxResultSetSize,
isLimitResultSetSizeOverloaded,
setLimitResultSetSizeOverloaded,
isLimitResultSetSizeEnabled,
setLimitResultSetSizeEnabledpublic void setMaxResultSetSize(int maxResultSize)
Sets the maximum number of rows that are returned by a query.
For this property to have an affect on the number of rows that a query can retrieve from the database,
the setLimitResultSetSizeEnabled must be set to true. Use this method
to overload the SI_RESULTSETSIZE_VALUE property.
Note: This property allows you to specify the maximum number of rows that a query can retrieve from a database. When the query reaches this limit, it stops; however, the end user can still retrieve the partial results.
maxResultSize - The maximum result set size as an int.getMaxResultSetSize,
isLimitResultSetSizeOverloaded,
setLimitResultSetSizeOverloaded,
isLimitResultSetSizeEnabled,
setLimitResultSetSizeEnabledpublic boolean isLimitExecutionTimeOverloaded()
Returns a boolean that indicates whether the execution time for a query has been overloaded.
The default values for the query limit with respect to execution time are:
true which indicates that the execution time will be limited. This information is managed by isLimitExecutionTimeEnabled and setLimitExecutionTimeEnabled.
Note: Ensure that this property returns true before you check the value for
sLimitExecutionTimeEnabled.
true if the execution time has been overloaded, and false otherwise.setLimitExecutionTimeOverloaded,
isLimitExecutionTimeEnabled,
setLimitExecutionTimeEnabled,
getMaxExecutionTime,
setMaxExecutionTimepublic void setLimitExecutionTimeOverloaded(boolean bOverload)
Sets a boolean that indicates whether the default value for the execution time of a query has been overloaded.
The default values for the query limit with respect to execution time are:
true which indicates that the execution time will be limited. This information is managed by isLimitExecutionTimeEnabled and setLimitExecutionTimeEnabled.
bOverload - A boolean that indicates whether the execution time has been overloaded.isLimitExecutionTimeOverloaded,
isLimitExecutionTimeEnabled,
setLimitExecutionTimeEnabled,
getMaxExecutionTime,
setMaxExecutionTime
public boolean isLimitExecutionTimeEnabled()
throws SDKException
Returns a boolean that indicates whether limiting the execution time has been enabled.
true. This indicates that the execution time will be limited to a certain time. Use the
setLimitExecutionTimeEnabled to enable or disable this property. true before you check the value returned by this method.
true if the execution time has been limited, and false otherwise.
SDKException - Throws an exception if property is not foundsetLimitExecutionTimeEnabled,
isLimitExecutionTimeOverloaded,
setLimitExecutionTimeOverloaded,
getMaxExecutionTime,
setMaxExecutionTimepublic void setLimitExecutionTimeEnabled(boolean bEnable)
Sets a boolean that indicates whether limiting the execution time has been enabled.
Use this method to overload the SI_LIMIT_EXECUTIONTIME property.
bEnable - A boolean that specifies whether the property has been enabled.isLimitExecutionTimeEnabled,
isLimitExecutionTimeOverloaded,
setLimitExecutionTimeOverloaded,
getMaxExecutionTime,
setMaxExecutionTime
public int getMaxExecutionTime()
throws SDKException
Returns the maximum execution time of a query.
The default value for the query limit is 10 minutes.
For this property to have an affect on the execution time of a query, the setLimitExecutionTimeEnabled must be set to true.
int which indicates the maximum execution time for a query.
SDKException - Throws an exception if property is not foundsetMaxExecutionTime,
isLimitExecutionTimeEnabled,
setLimitExecutionTimeEnabled,
isLimitExecutionTimeOverloaded,
setLimitExecutionTimeOverloaded
public void setMaxExecutionTime(int maxExecTime)
throws SDKException
Sets the maximum execution time of a query.
For this property to have an affect on the execution time of a query, the setLimitExecutionTimeEnabled
must be set to true. Use this method to overload the SI_EXECUTIONTIME_VALUE property.
Note: This property allows you to specify the maximum time (in minutes) that a query can execute before it expires. When the execution time has expired, it stops; however, the partial result is returned.
maxExecTime - An int which specifies the maximum execution time.
SDKException - Throws an exception if property is not foundgetMaxExecutionTime,
isLimitExecutionTimeEnabled,
setLimitExecutionTimeEnabled,
isLimitExecutionTimeOverloaded,
setLimitExecutionTimeOverloadedpublic boolean isLimitLongTextObjectsSizeOverloaded()
Returns a boolean that indicates whether the size of long text objects has been overloaded.
The default values for the query limit with respect to long text object sizes are:
true which indicates that the object size will be limited. This information is managed by the sLimitLongTextObjectsSizeEnabled and the setLimitLongTextObjectsSizeEnabled
Note: Ensure that this property returns true before you check the value for
isLimitLongTextObjectsSizeEnabled.
true if the text object size has been overloaded, and false otherwise.setLimitLongTextObjectsSizeOverloaded,
isLimitLongTextObjectsSizeEnabled,
setLimitLongTextObjectsSizeEnabled,
getMaxLongTextObjectsSize,
setMaxLongTextObjectsSizepublic void setLimitLongTextObjectsSizeOverloaded(boolean bOverload)
Sets a boolean that indicates whether the size of long text objects has been overloaded.
The default values for the query limit with respect to long text object sizes are:
true which indicates that the object size will be limited. This information is managed by the isLimitLongTextObjectsSizeEnabled and the setLimitLongTextObjectsSizeEnabled
bOverload - A boolean that indicates whether the object size has been overloaded.
public boolean isLimitLongTextObjectsSizeEnabled()
throws SDKException
Returns a boolean that indicates whether a limitation has been set on the size of long text objects.
true. This indicates that the size of long text objects will be limited to a certain number of characters. Use the
setLimitLongTextObjectsSizeEnabled to enable or disable this property. true before you check the value returned by this method.
true if the long text object size has been limited, and false otherwise.
SDKException - Throws an exception if property is not foundpublic void setLimitLongTextObjectsSizeEnabled(boolean bEnable)
Sets a boolean that indicates whether limiting the size of long text objects has been enabled.
Use this method to overload the SI_LIMIT_LONGTEXTOBJECTSIZE property.
bEnable - A boolean that specifies whether the property has been enabled.isLimitLongTextObjectsSizeEnabled,
isLimitLongTextObjectsSizeOverloaded,
setLimitLongTextObjectsSizeOverloaded,
getMaxLongTextObjectsSize,
setMaxLongTextObjectsSize
public int getMaxLongTextObjectsSize()
throws SDKException
Returns the number of characters that are retrieved from a database.
The default value for the query limit is 1000 characters.
For this property to have an affect on the execution time of a query, the setLimitLongTextObjectsSizeEnabled must be set to true.
int which indicates the maximum number of characters retrieved for a query.
SDKException - Throws an exception if property is not foundsetMaxLongTextObjectsSize,
isLimitLongTextObjectsSizeEnabled,
setLimitLongTextObjectsSizeEnabled,
isLimitLongTextObjectsSizeOverloaded,
setLimitLongTextObjectsSizeOverloaded
public void setMaxLongTextObjectsSize(int maxSize)
throws SDKException
Sets the number of characters that are retrieved from a database.
For this property to have an affect on the number of characters retrieved from a database, the setLimitLongTextObjectsSizeEnabled
must be set to true. Use this method to overload the SI_LONGTEXTOBJECTSIZE_VALUE property.
Note: This property allows you to specify the maximum number of characters that a user can retrieve from the database. This number depends on the RDBMS which contains the data. A long text object can contain up to 32,000 characters and take up to 4 GB of disk space.
maxSize - An int which specifies the maximum number of characters that can be retrieved from a database for a single query.
SDKException - Throws an exception if property is not foundgetMaxLongTextObjectsSize,
isLimitLongTextObjectsSizeEnabled,
setLimitLongTextObjectsSizeEnabled,
isLimitLongTextObjectsSizeOverloaded,
setLimitLongTextObjectsSizeOverloadedpublic boolean isUnionIntersectMinusAllowedOverloaded()
Returns a boolean that indicates whether allowing set operators in an SQL query has been overloaded.
The default value for an SQL query option with respect to the use of set operators (union, intersect, and minus) is:
true which indicates that set operators are allowed to be used in a SQL query. This information is
managed by the isUnionIntersectMinusAllowed and the setUnionIntersectMinusAllowed
Note: Ensure that this property returns true before you check the value for
isUnionIntersectMinusAllowed.
true if the property has been overloaded, and false otherwise.setUnionIntersectMinusAllowedOverloaded,
isUnionIntersectMinusAllowed,
setUnionIntersectMinusAllowedpublic void setUnionIntersectMinusAllowedOverloaded(boolean bOverload)
Sets a boolean that indicates whether the size of long text objects has been overloaded.
The default value for an SQL query option with respect to the use of set operators (union, intersect, and minus) is:
true which indicates that set operators are allowed to be used in a SQL query. This information is
managed by the isUnionIntersectMinusAllowed and the setUnionIntersectMinusAllowed
bOverload - A boolean that indicates whether the property has been overloaded.isUnionIntersectMinusAllowedOverloaded,
isUnionIntersectMinusAllowed,
setUnionIntersectMinusAllowed
public boolean isUnionIntersectMinusAllowed()
throws SDKException
Returns a boolean that indicates whether allowing the use of set operators (union, intersect, and minus) in SQL queries has been enabled.
true. This indicates that the use of set operators in a SQL query is permitted. Use the
setUnionIntersectMinusAllowed to enable or disable this property.true before you check the value returned by this method.
true if the use of set operators in SQL queries are allowed, and false otherwise.
SDKException - Throws an exception if property is not foundpublic void setUnionIntersectMinusAllowed(boolean bAllow)
Sets a boolean that indicates whether allowing the use of set operators (union, intersect, and minus) in SQL queries has been enabled.
Use this method to overload the SI_ALLOW_UNIONINTERSECTMINUS property.
Note: If this property is set to true end users are able to combine queries using data set operators (union, intersect, and minus) to obtain one set of results.
bAllow - A boolean that indicates whether the use of set operators in a SQL query is permitted.isUnionIntersectMinusAllowed,
isUnionIntersectMinusAllowedOverloaded,
setUnionIntersectMinusAllowedOverloadedpublic boolean isMultipleSQLStatementsEachContextAllowedOverloaded()
Returns a boolean that indicates whether allowing multiple SQL statements for each context has been overloaded.
The default value for a SQL generation option with respect to the use of multiple SQL statements for each context is:
true which indicates that a query can be executed, with objects that belong to different joins,
to generate two distinct sets of results simultaneously. This information is
managed by the isMultipleSQLStatementsEachContextAllowed and the setMultipleSQLStatementsEachContextAllowed
Note: Ensure that this property returns true before you check the value for
isMultipleSQLStatementsEachContextAllowed.
true if allowing multiple SQL statements for each context has been overloaded, and false otherwise.setMultipleSQLStatementsEachContextAllowedOverloaded,
isMultipleSQLStatementsEachContextAllowed,
setMultipleSQLStatementsEachContextAllowedpublic void setMultipleSQLStatementsEachContextAllowedOverloaded(boolean bOverload)
Sets a boolean that indicates whether permission to use multiple SQL statements for each context has been overloaded.
The default value for a SQL generation option with respect to the use of multiple SQL statements for each context is:
true which indicates that a query can be executed, with objects that belong to different joins,
to generate two distinct sets of results simultaneously. This information is
managed by the isMultipleSQLStatementsEachContextAllowed and the setMultipleSQLStatementsEachContextAllowed
bOverload - A boolean that indicates whether the property has been overloaded.isMultipleSQLStatementsEachContextAllowedOverloaded,
isMultipleSQLStatementsEachContextAllowed,
setMultipleSQLStatementsEachContextAllowed
public boolean isMultipleSQLStatementsEachContextAllowed()
throws SDKException
Returns a boolean that indicates whether permission to use multiple SQL statements for each context has been enabled.
true. This indicates that the use of multiple SQL statements for each context is permitted. Use the
setMultipleSQLStatementsEachContextAllowed to enable or disable this property. true before you check the value returned by this method.
true if the use of multiple SQL statements for each context is permitted, and false otherwise.
SDKException - Throws an exception if property is not found.setMultipleSQLStatementsEachContextAllowed,
isMultipleSQLStatementsEachContextAllowedOverloaded,
setMultipleSQLStatementsEachContextAllowedOverloadedpublic void setMultipleSQLStatementsEachContextAllowed(boolean bAllow)
Sets a boolean that indicates whether permission to use of multiple SQL statements for each context has been enabled.
Use this method to overload the SI_ALLOW_MULTISQLSTATEMENTSEACHCONTEXT property.
Note: If this property is set to true end users can execute a query, with objects that belong to different joins, to generate two distinct sets of results simultaneously.
bAllow - A boolean that indicates whether the property has been enabled.isMultipleSQLStatementsEachContextAllowed,
isMultipleSQLStatementsEachContextAllowedOverloaded,
setMultipleSQLStatementsEachContextAllowedOverloadedpublic boolean isMultipleSQLStatementsEachMeasureAllowedOverloaded()
Returns a boolean that indicates whether permission to use multiple SQL statements for each measure has been overloaded.
The default value for a SQL generation option with respect to the use of multiple SQL statements for each measure is:
true which indicates that a query can be executed with measure objects that originate from different tables. This information is
managed by the isMultipleSQLStatementsEachMeasureAllowed and the setMultipleSQLStatementsEachMeasureAllowed
Note: Ensure that this property returns true before you check the value for isMultipleSQLStatementsEachMeasureAllowed.
true if allowing multiple SQL statements for each measuer has been overloaded, and false otherwise.setMultipleSQLStatementsEachMeasureAllowedOverloaded,
isMultipleSQLStatementsEachMeasureAllowed,
setMultipleSQLStatementsEachMeasureAllowedpublic void setMultipleSQLStatementsEachMeasureAllowedOverloaded(boolean bOverload)
Sets a boolean that indicates whether permission to use multiple SQL statements for each measure has been overloaded.
The default value for a SQL generation option with respect to the use of multiple SQL statements for each measure is:
true which indicates that a query can be executed with measure objects that originate from different tables. This information is
managed by the isMultipleSQLStatementsEachMeasureAllowed and the setMultipleSQLStatementsEachMeasureAllowed
bOverload - A boolean that indicates whether the property has been overloaded.isMultipleSQLStatementsEachMeasureAllowedOverloaded,
isMultipleSQLStatementsEachMeasureAllowed,
setMultipleSQLStatementsEachMeasureAllowed
public boolean isMultipleSQLStatementsEachMeasureAllowed()
throws SDKException
Returns a boolean that indicates whether permission to use multiple SQL statements for each measure has been enabled.
true. This indicates that the use of multiple SQL statements for each measure is permitted. Use the setMultipleSQLStatementsEachMeasureAllowed to enable or disable this property. true before you check the value returned by this method.
true if the use of multiple SQL statements for each measure is permitted, and false otherwise.
SDKException - Throws an exception if property is not found.setMultipleSQLStatementsEachMeasureAllowed,
isMultipleSQLStatementsEachMeasureAllowedOverloaded,
setMultipleSQLStatementsEachMeasureAllowedOverloadedpublic void setMultipleSQLStatementsEachMeasureAllowed(boolean bAllow)
Sets a boolean that indicates whether permission to use multiple SQL statements for each measure has been enabled.
Use this method to overload the SI_ALLOW_MULTISQLSTATEMENTSEACHMEASURE property.
Note: If this property is set to true end users can execute a query with measure objects that originate from different tables.
bAllow - A boolean that indicates whether the property has been enabled.isMultipleSQLStatementsEachMeasureAllowed,
isMultipleSQLStatementsEachMeasureAllowedOverloaded,
setMultipleSQLStatementsEachMeasureAllowedOverloadedpublic boolean isMultipleContextSelectionAllowedOverloaded()
Returns a boolean that indicates whether allowing the selection of multiple contexts has been overloaded.
The default value for a SQL generation option with respect to the use of multiple contexts is:
false which indicates that a query cannot be executed along different paths within a loop, and generate two different sets of results simultaneously. This information is
managed by the isMultipleContextSelectionAllowed and the setMultipleContextSelectionAllowed
Note: Ensure that this property returns true before you check the value for
isMultipleContextSelectionAllowed.
true if allowing the selection of multiple contexts has been overloaded, and false otherwise.setMultipleContextSelectionAllowedOverloaded,
isMultipleContextSelectionAllowed,
setMultipleContextSelectionAllowedpublic void setMultipleContextSelectionAllowedOverloaded(boolean bOverload)
Sets a boolean that indicates whether allowing the selection of multiple contexts has been overloaded.
The default value for a SQL generation option with respect to the use of multiple contexts is:
false which indicates that a query cannot be executed along different paths within a loop, and generate two different sets of results simultaneously. This information is
managed by the isMultipleContextSelectionAllowed and the setMultipleContextSelectionAllowed
bOverload - A boolean that indicates whether the property has been overloaded.isMultipleContextSelectionAllowedOverloaded,
isMultipleContextSelectionAllowed,
setMultipleContextSelectionAllowed
public boolean isMultipleContextSelectionAllowed()
throws SDKException
Returns a boolean that indicates whether allowing the selection of multiple contexts has been enabled.
false. This indicates that a query cannot be executed along different paths within a loop, and generate two different sets of results simultaneously. Use the
setMultipleContextSelectionAllowed to enable or disable this property. true before you check the value returned by this method.
true if the selection of multiple contexts is permitted, and false otherwise.
SDKException - Throws an exception if property is not found.setMultipleContextSelectionAllowed,
isMultipleContextSelectionAllowedOverloaded,
setMultipleContextSelectionAllowedOverloadedpublic void setMultipleContextSelectionAllowed(boolean bAllow)
Sets a boolean that indicates whether allowing the selection of multiple contexts has been enabled.
Use this method to overload the SI_ALLOW_MULTICONTEXTSELECTION property.
Note: If this property is set to true end users can execute a query along different paths within a loop, and generate two different sets of results simultaneously..
bAllow - A boolean that indicates whether the property has been enabled.isMultipleContextSelectionAllowed,
isMultipleContextSelectionAllowedOverloaded,
setMultipleContextSelectionAllowedOverloadedpublic boolean isPreventCartesianProductOverloaded()
Returns a boolean that indicates whether generating a cartesian product has been overloaded.
The default value for the SQL generation option with respect to a cartesian product is:
false which indicates cartesian products are allowed but that a warning is generated prior to the query being executed. This information is
managed by the isPreventCartesianProduct and the setPreventCartesianProduct.
Note: Ensure that this property returns true before you check the value for
isPreventCartesianProduct.
true if the property has been overloaded, and false otherwise.setPreventCartesianProductOverloaded,
isPreventCartesianProduct,
setPreventCartesianProductpublic void setPreventCartesianProductOverloaded(boolean bOverload)
Sets a boolean that indicates whether generating a cartesian product has been overloaded.
The default value for the SQL generation option with respect to a cartesian product is:
false which indicates that cartesian products are allowed but that a warning is generated prior to the query being executed. This information is
managed by the isPreventCartesianProduct and the setPreventCartesianProduct.
bOverload - A boolean that indicates whether the property has been overloaded.isPreventCartesianProductOverloaded,
isPreventCartesianProduct,
setPreventCartesianProduct
public boolean isPreventCartesianProduct()
throws SDKException
Returns a boolean that indicates whether generating a cartesian product is prohibited.
false. This indicates that cartesian products are allowed but that a warning is generated prior to the query being executed. Use the
setPreventCartesianProduct to enable or disable this property. true before checking the value returned by this method.
true if cartesian products are prohibited, and false otherwise.
SDKException - Throws an exception if property is not foundisPreventCartesianProductOverloaded,
setPreventCartesianProductOverloaded,
setPreventCartesianProductpublic void setPreventCartesianProduct(boolean bPrevent)
Sets a boolean that indicates whether generating a cartesian product is prohibited.
Use this method to overload the SI_PREVENT_CARTESIAN_PRODUCT property.
Note: If this property is set to false, it allows a cartesian product. A cartesian product is defined as a situation
in which a query includes two or more tables that are not linked by a join. If executed, this query retrieves all possible combinations between each
table, and may lead to inaccurate results.
bPrevent - true specifies that cartesian products are prohibited, and false permits cartesian products, but requires that a warning be issued before the query is executed.isPreventCartesianProductOverloaded,
setPreventCartesianProductOverloaded,
isPreventCartesianProductpublic IObjectsOverload getRestrictedObjects()
Returns a collection of universe objects that are restricted from the given universe.
IObjectsOverload collection.IObjectsOverload,
IObjectOverloadpublic IRowsOverload getRestrictedRows()
Returns a collection of database table rows that are restricted from a given universe.
IRowsOverload collection.IRowsOverload,
IRowOverloadpublic ITableMappingsOverload getTableMappings()
Returns a collection of table mappings for a given universe.
ITableMappingsOverload collection.ITableMappingsOverload,
ITableMappingOverload
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||