|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecutableQuery
Represents a server-side query suitable for execution. Enables modifying the execution environment. For example, enables changing the set of objects the query runs on, specifying parameters, additional restrictions and so on.
Changes made on this interface are never saved to the UCMDB and exist only in the execution context. Methods from thePropertiesCarrier
interface: Using any of the PropertiesCarrier
methods on this object cancels all PropertiesCarrier definitions made on the original
query definition.
Methods from the DataStoresConditionable
interface: Using any of the
DataStoresConditionable methods on this object cancels all DataStoresConditionable
definitions made on the original query definition.
Methods from the ContactNodeRestrictions
interface: Using any of the C
ontactNodeRestrictions methods on this object cancels all ContactNodeRestrictions
definitions made on the original query reference definition.
Method Summary | |
---|---|
java.lang.String |
getDataIntegrityRulesBundle()
|
PropertiesToQuery |
nodePropertiesToQuery(java.lang.String nodeName)
Deprecated. use propertiesToQueryPerNode |
QueryNodeRestrictions |
nodeRestrictions(java.lang.String nodeName)
Returns the existing restrictions the specifed node so they can be added to and modified. |
ExecutableQuery |
onTopOfQuery(java.lang.String parentQueryName)
Sets this query to run over the result of another query. |
java.util.Map<java.lang.String,PropertiesCarrierWrapper> |
propertiesToQueryPerNode()
Returns the map of node name to properties. |
PropertiesCarrierWrapper |
propertiesToQueryPerNode(java.lang.String nodeName)
Returns new or existing properties on a node so they can be added to and modified. |
com.hp.ucmdb.api.topology.queryparameter.QueryParameters |
queryParameters()
Returns the QueryParameters interface. |
void |
setBooleanParameter(java.lang.String parameterName,
boolean parameterValue)
Deprecated. use queryParameters. |
void |
setBytesParameter(java.lang.String parameterName,
byte[] parameterValue)
Deprecated. use queryParameters() |
void |
setDateParameter(java.lang.String parameterName,
java.util.Date parameterValue)
Deprecated. use queryParameters() |
void |
setDoubleParameter(java.lang.String parameterName,
double parameterValue)
Deprecated. use queryParameters() |
void |
setFloatParameter(java.lang.String parameterName,
float parameterValue)
Deprecated. use queryParameters. |
ExecutableQuery |
setForceAdhocCalculationFlag()
Sets this executable query to be calculated without using the query results cache. |
void |
setIntListParameter(java.lang.String parameterName,
int[] parameterValue)
Deprecated. use queryParameters() |
void |
setIntListParameter(java.lang.String parameterName,
java.lang.Iterable<java.lang.Integer> parameterValue)
Deprecated. use queryParameters() |
void |
setIntParameter(java.lang.String parameterName,
int parameterValue)
Deprecated. use queryParameters() |
void |
setLongParameter(java.lang.String parameterName,
long parameterValue)
Deprecated. use queryParameters() |
void |
setMaxChunkSize(int maxChunkSize)
Sets the limit for maximum elements returned per chunk in the query's result. |
void |
setParameter(java.lang.String parameterName,
java.lang.Object parameterValue)
Deprecated. use queryParameters. |
void |
setStringListParameter(java.lang.String parameterName,
java.lang.Iterable<java.lang.String> parameterValue)
Deprecated. use queryParameters() |
void |
setStringListParameter(java.lang.String parameterName,
java.lang.String[] parameterValue)
Deprecated. use queryParameters() |
void |
setStringParameter(java.lang.String parameterName,
java.lang.String parameterValue)
Deprecated. use queryParameters() |
ExecutableQuery |
withDataIntegrityRulesBundle(java.lang.String dataIntegrityRulesBundle)
|
Methods inherited from interface com.hp.ucmdb.api.topology.PropertiesCarrier |
---|
getDefaultPropertiesToQuery, getPropertiesToQueryPerType, propertiesToQuery, queryKeyProperties, queryProperties, queryPropertiesWithQualifier, queryProperty |
Methods inherited from interface com.hp.ucmdb.api.topology.DataStoresConditionable |
---|
dataStores, isAllDataStores, isInternalDataStoreOnly, withAllDataStores, withDataStores, withDataStores, withInternalDataStoreOnly |
Methods inherited from interface com.hp.ucmdb.api.topology.ContactNodeRestrictions |
---|
queriesRestrictingContactNodes, restrictAllContactNodesByQueries, restrictAllContactNodesByQueries |
Method Detail |
---|
ExecutableQuery onTopOfQuery(java.lang.String parentQueryName)
QueryDefinition.withBaseQueryName(java.lang.String)
, the parent query result does not
have to be calculated before this can be executed.
parentQueryName
- the name of the query that specifies the "universe"
for this query to run on
QueryDefinition.withBaseQueryName(java.lang.String)
QueryNodeRestrictions nodeRestrictions(java.lang.String nodeName)
nodeName
- The node of which to return restrictions.
@Deprecated PropertiesToQuery nodePropertiesToQuery(java.lang.String nodeName)
propertiesToQueryPerNode
PropertiesCarrierWrapper propertiesToQueryPerNode(java.lang.String nodeName)
java.util.Map<java.lang.String,PropertiesCarrierWrapper> propertiesToQueryPerNode()
propertiesToQueryPerNode(String)
.
void setMaxChunkSize(int maxChunkSize)
Topology.getNextChunk()
.
ExecutableQuery setForceAdhocCalculationFlag()
@NotFinalAPI com.hp.ucmdb.api.topology.queryparameter.QueryParameters queryParameters()
@NotFinalAPI ExecutableQuery withDataIntegrityRulesBundle(java.lang.String dataIntegrityRulesBundle)
@NotFinalAPI java.lang.String getDataIntegrityRulesBundle()
@Deprecated void setParameter(java.lang.String parameterName, java.lang.Object parameterValue)
@Deprecated void setBooleanParameter(java.lang.String parameterName, boolean parameterValue)
@Deprecated void setBytesParameter(java.lang.String parameterName, byte[] parameterValue)
queryParameters()
@Deprecated void setDateParameter(java.lang.String parameterName, java.util.Date parameterValue)
queryParameters()
@Deprecated void setDoubleParameter(java.lang.String parameterName, double parameterValue)
queryParameters()
@Deprecated void setFloatParameter(java.lang.String parameterName, float parameterValue)
@Deprecated void setIntListParameter(java.lang.String parameterName, int[] parameterValue)
queryParameters()
@Deprecated void setIntListParameter(java.lang.String parameterName, java.lang.Iterable<java.lang.Integer> parameterValue)
queryParameters()
@Deprecated void setIntParameter(java.lang.String parameterName, int parameterValue)
queryParameters()
@Deprecated void setLongParameter(java.lang.String parameterName, long parameterValue)
queryParameters()
@Deprecated void setStringListParameter(java.lang.String parameterName, java.lang.String[] parameterValue)
queryParameters()
@Deprecated void setStringListParameter(java.lang.String parameterName, java.lang.Iterable<java.lang.String> parameterValue)
queryParameters()
@Deprecated void setStringParameter(java.lang.String parameterName, java.lang.String parameterValue)
queryParameters()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |