Package com.hp.ucmdb.api.topology
Interface MultipleReferencesWithFunctionDefinition
- All Superinterfaces:
BundledResource<QueryReferenceDefinition>
,QueryReferenceDefinition<MultipleReferencesWithFunctionDefinition>
@NotFinalAPI
public interface MultipleReferencesWithFunctionDefinition
extends QueryReferenceDefinition<MultipleReferencesWithFunctionDefinition>
This definition applies a function over a collection
of base queries and uses the resulting
QueryDefinition
.
The function applies was returned by queryFunction()
.
The base queries can be obtained with baseQueriesNames()
/
The particulars of each query function
are defined in the QueriesFunction
enum.
A Query
object with this definition returns the flattened
QueryDefinition
. This is the result of the
function applied over the base queries.
In addition to the query function and the base queries, this definition also holds
a mapping between the query definition returned by the Query object
and the original base queries names.- Since:
- UCMDB 9.0
-
Method Summary
Modifier and TypeMethodDescriptionThe base queries this definition is referencing.The node name to node mapping (original query / original name) map.The function applied over the base query names to create this definition.Methods inherited from interface com.hp.ucmdb.api.bundles.BundledResource
bundleNames, withBundles
Methods inherited from interface com.hp.ucmdb.api.topology.QueryReferenceDefinition
asMultipleReferencesWithFunctionDefinition, asSingleQueryReferenceDefinition, description, firstLoadStrategy, name, recalcPriority, referenceDefinitionType, toExecutable, withDescription, withFirstLoadStrategy, withRecalcPriority
-
Method Details
-
baseQueriesNames
Collection<String> baseQueriesNames()The base queries this definition is referencing.- Returns:
- The base queries this definition is referencing.
-
queryFunction
QueriesFunction queryFunction()The function applied over the base query names to create this definition.- Returns:
- The function applied over the base query names to create this definition.
-
getQueryNodeOrigins
The node name to node mapping (original query / original name) map.- Returns:
- The node name to node mapping (original query / original name) map.
-