| Package | Description |
|---|---|
| org.hawkular.inventory.api | |
| org.hawkular.inventory.api.paging | |
| org.hawkular.inventory.base.spi |
| Modifier and Type | Method and Description |
|---|---|
protected static <T> Page<T> |
EmptyInventory.emptyPage(Pager pager) |
Page<Entity> |
ResolvableToMany.entities(Pager pager) |
Page<Tenant> |
EmptyInventory.TenantsMultiple.entities(Pager pager) |
Page<ResourceType> |
EmptyInventory.ResourceTypesMultiple.entities(Pager pager) |
Page<MetricType> |
EmptyInventory.MetricTypesMultiple.entities(Pager pager) |
Page<Environment> |
EmptyInventory.EnvironmentsMultiple.entities(Pager pager) |
Page<Relationship> |
EmptyInventory.RelationshipsMultiple.entities(Pager pager) |
Page<Feed> |
EmptyInventory.FeedsMultiple.entities(Pager pager) |
Page<Metric> |
EmptyInventory.MetricsMultiple.entities(Pager pager) |
Page<Resource> |
EmptyInventory.ResourcesMultiple.entities(Pager pager) |
| Modifier and Type | Method and Description |
|---|---|
Pager |
Pager.Builder.build() |
Pager |
Pager.nextPage()
If this is a limited pager (
PageContext.isLimited()), returns the pager pointing to the next page of the results. |
Pager |
Pager.previousPage()
If this is a limited pager (
PageContext.isLimited()), returns the pager pointing to the previous page of the
results. |
static Pager |
Pager.single() |
static Pager |
Pager.unlimited(Iterable<Order> order)
Same as
unlimited(Order...) but the ordering represented by a collection. |
static Pager |
Pager.unlimited(Order... order)
The result should not be paged.
|
| Modifier and Type | Method and Description |
|---|---|
Page<E> |
InventoryBackend.query(Query query,
Pager pager)
Translates the query to the backend-specific representation and runs it, returning a correct page of results
as prescribed by the provided pager object.
|
<T extends AbstractElement<?,?>> |
InventoryBackend.query(Query query,
Pager pager,
Function<E,T> conversion,
Function<T,Boolean> filter)
A variant of the
InventoryBackend.query(Query, Pager) method which in addition to querying also converts the results
using the provided conversion function and, more importantly, filters the results using the provided (possibly
null) filter function PRIOR TO paging is applied. |
Copyright © 2015 Red Hat, Inc.. All rights reserved.