|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.ld.QueryAttributes
Collection of attributes which control how a query is to be invoked.
There are two kinds of attributes - normal and feature flags.
setAttribute(String,String)
or setIntegerAttribute(String,int)
.
enableFeature(String)
, and
disable them with disableFeature(java.lang.String)
.
disableFeature()
to "turn off" a string-valued normal
attribute; set it to null
instead.
Field Summary | |
static java.lang.String |
COMPILE_ONLY
Feature flag requesting query processor only compile the query, not execute it. |
static java.lang.String |
FORCE_COMPILE
Feature flag requesting query processor recompile query, instead of using any previously-cached version. |
static java.lang.String |
GET_CURRENT_DATA
Feature flag requesting that cached content should be ignored, data computed and cached entries used in the current query refreshed |
Constructor Summary | |
QueryAttributes()
|
Method Summary | |
void |
disableFeature(java.lang.String featureName)
Disable a specified feature flag for this query execution. |
void |
enableFeature(java.lang.String featureName)
Enable a specified feature flag for this query execution. |
boolean |
featureEnabled(java.lang.String featureName)
Inquire whether a particular feature is enabled or not for this query execution. |
java.lang.String |
getAttribute(java.lang.String attributeName)
Retrieve a String-valued attribute. |
int |
getIntegerAttribute(java.lang.String attributeName)
Retrieve an int-valued attribute. |
void |
setAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
Provide a String value for an attribute for this query execution. |
void |
setIntegerAttribute(java.lang.String attributeName,
int value)
Provide an integer value for an attribute for this query execution. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String COMPILE_ONLY
public static final java.lang.String FORCE_COMPILE
public static final java.lang.String GET_CURRENT_DATA
Constructor Detail |
public QueryAttributes()
Method Detail |
public void setAttribute(java.lang.String attributeName, java.lang.String attributeValue)
public void setIntegerAttribute(java.lang.String attributeName, int value)
public void enableFeature(java.lang.String featureName)
public void disableFeature(java.lang.String featureName)
enableFeature()
.)
public boolean featureEnabled(java.lang.String featureName)
public java.lang.String getAttribute(java.lang.String attributeName)
public int getIntegerAttribute(java.lang.String attributeName)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |