Package com.hp.ucmdb.api.topology
Interface QueriesExecutionBulk
public interface QueriesExecutionBulk
Defines a bulk of queries and related resources for execution.
See
TopologyQueryService.executeQueriesTree(com.hp.ucmdb.api.topology.QueriesExecutionBulk)
for full explanation.- Since:
- UCMDB 9.0
-
Method Summary
Modifier and TypeMethodDescriptionaddQueries
(QueryDefinition... queryDefinitions) Adds (does not overwrite) the given query definition to the bulkaddQueries
(Collection<QueryDefinition> queryDefinitions) Adds (does not overwrite) the given query definition to the bulkaddQueryReferences
(QueryReferenceDefinition<?>... queryReferenceDefinitions) Adds (does not overwrite) the given query reference definition to the bulkaddQueryReferences
(Collection<QueryReferenceDefinition<?>> queryReferenceDefinitions) Adds (does not overwrite) the given query reference definition to the bulkwithMaxChunkSize
(int maxChunkSize) Determines the chunk size to be used when this bulk is executed.withQueries
(QueryDefinition... queries) Sets (overwrite) the query definitions in the bulk to the given collection.withQueries
(Iterable<QueryDefinition> queries) Sets (overwrite) the query definitions in the bulk to the given collection.withQueryReferences
(QueryReferenceDefinition<?>... queryReferences) Sets (overwrite) the query reference definitions in the bulk to the given collection.withQueryReferences
(Iterable<QueryReferenceDefinition<?>> queryReferences) Sets (overwrite) the query reference definitions in the bulk to the given collection.
-
Method Details
-
withQueries
Sets (overwrite) the query definitions in the bulk to the given collection.- Parameters:
queries
- the collection- Returns:
- this object for method chaining.
-
withQueries
Sets (overwrite) the query definitions in the bulk to the given collection.- Parameters:
queries
- the collection- Returns:
- this object for method chaining.
-
withQueryReferences
Sets (overwrite) the query reference definitions in the bulk to the given collection.- Parameters:
queryReferences
- the collection- Returns:
- this object for method chaining.
-
withQueryReferences
Sets (overwrite) the query reference definitions in the bulk to the given collection.- Parameters:
queryReferences
- the collection- Returns:
- this object for method chaining.
-
withMaxChunkSize
Determines the chunk size to be used when this bulk is executed. SeeExecutableQuery.setMaxChunkSize(int)
.- Parameters:
maxChunkSize
- the chunk size.- Returns:
- this object for method chaining.
-
addQueryReferences
QueriesExecutionBulk addQueryReferences(Collection<QueryReferenceDefinition<?>> queryReferenceDefinitions) Adds (does not overwrite) the given query reference definition to the bulk- Parameters:
queryReferenceDefinitions
- the reference definitions to add.- Returns:
- this object for method chaining.
-
addQueryReferences
Adds (does not overwrite) the given query reference definition to the bulk- Parameters:
queryReferenceDefinitions
- the reference definitions to add.- Returns:
- this object for method chaining.
-
addQueries
Adds (does not overwrite) the given query definition to the bulk- Parameters:
queryDefinitions
- the reference definitions to add.- Returns:
- this object for method chaining.
-
addQueries
Adds (does not overwrite) the given query definition to the bulk- Parameters:
queryDefinitions
- the reference definitions to add.- Returns:
- this object for method chaining.
-