|
BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.ldi.server.common.QueryAttributes
This class provides place for setting query construction and execution attributes.
The following attributes are currently supported:
Boolean
- Default Value: false
Boolean
- Default Value: false
Boolean
- Default Value: false
Boolean
- Default Value: false
Field Summary | |
static java.lang.String |
COMPILE_ONLY
If set to "true" query will only be compiled by the server (without execution) |
static java.lang.String |
GET_LATEST_RESULT
If set to 'true' the query result cache is bypassed and the result is (re)computed by the query engine. |
static java.lang.String |
GET_PLAN
Specifies whether query result metadata will contain query execution plan (if set to "true") or not |
static java.lang.String |
LARGE_DATA
If this attribute is set to true the query will run in "large-data" mode |
Constructor Summary | |
QueryAttributes()
Creates new instance with the default values |
|
QueryAttributes(java.util.Map attributes)
Internal copying constructor. |
|
QueryAttributes(QueryAttributes queryAttributes)
Copying constructor. |
Method Summary | |
java.lang.Object |
getAttribute(java.lang.String name)
|
java.util.Map |
getAttributes()
|
void |
putAttributes(java.util.Map attributes)
Ovewrites the attributes of this instance with the values of the valid query attributes specified in the map. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Sets the value of an attribute. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String LARGE_DATA
true
the query will run in "large-data" modepublic static final java.lang.String GET_PLAN
public static final java.lang.String COMPILE_ONLY
public static final java.lang.String GET_LATEST_RESULT
Constructor Detail |
public QueryAttributes()
public QueryAttributes(QueryAttributes queryAttributes)
queryAttributes
- The query attributes to be used for this instance.public QueryAttributes(java.util.Map attributes)
attributes
- a map containing the new attributesMethod Detail |
public void setAttribute(java.lang.String name, java.lang.Object value)
name
- The attribute namevalue
- The attribute valuepublic java.lang.Object getAttribute(java.lang.String name)
name
- The attribute namepublic void putAttributes(java.util.Map attributes)
attributes
- The map containing the attributes to be overwritten. If it is
null
, it is ignored.public java.util.Map getAttributes()
|
BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |