Uses of Interface
org.openhab.core.persistence.HistoricItem
-
Uses of HistoricItem in org.openhab.core.persistence
Modifier and TypeMethodDescriptionQueryablePersistenceService.query
(FilterCriteria filter) Queries thePersistenceService
for historic data with a givenFilterCriteria
. -
Uses of HistoricItem in org.openhab.core.persistence.extensions
Modifier and TypeMethodDescriptionstatic @Nullable HistoricItem
PersistenceExtensions.historicState
(Item item, ZonedDateTime timestamp) Retrieves the historic item for a givenitem
at a certain point in time through the default persistence service.static @Nullable HistoricItem
PersistenceExtensions.historicState
(Item item, ZonedDateTime timestamp, String serviceId) Retrieves the historic item for a givenitem
at a certain point in time through aPersistenceService
identified by theserviceId
.static @Nullable HistoricItem
PersistenceExtensions.maximumBetween
(Item item, ZonedDateTime begin, ZonedDateTime end) Gets the historic item with the maximum value of the state of a givenitem
since a certain point in time.static @Nullable HistoricItem
PersistenceExtensions.maximumBetween
(Item item, ZonedDateTime begin, ZonedDateTime end, String serviceId) Gets the historic item with the maximum value of the state of a givenitem
since a certain point in time.static @Nullable HistoricItem
PersistenceExtensions.maximumSince
(Item item, ZonedDateTime timestamp) Gets the historic item with the maximum value of the state of a givenitem
since a certain point in time.static @Nullable HistoricItem
PersistenceExtensions.maximumSince
(Item item, ZonedDateTime timestamp, String serviceId) Gets the historic item with the maximum value of the state of a givenitem
since a certain point in time.static @Nullable HistoricItem
PersistenceExtensions.minimumBetween
(Item item, ZonedDateTime begin, ZonedDateTime end) Gets the historic item with the minimum value of the state of a givenitem
between two certain points in time.static @Nullable HistoricItem
PersistenceExtensions.minimumBetween
(Item item, ZonedDateTime begin, ZonedDateTime end, String serviceId) Gets the historic item with the minimum value of the state of a givenitem
between two certain points in time.static @Nullable HistoricItem
PersistenceExtensions.minimumSince
(Item item, ZonedDateTime timestamp) Gets the historic item with the minimum value of the state of a givenitem
since a certain point in time.static @Nullable HistoricItem
PersistenceExtensions.minimumSince
(Item item, ZonedDateTime timestamp, String serviceId) Gets the historic item with the minimum value of the state of a givenitem
since a certain point in time.static @Nullable HistoricItem
PersistenceExtensions.previousState
(Item item) Returns the previous state of a givenitem
.static @Nullable HistoricItem
PersistenceExtensions.previousState
(Item item, boolean skipEqual) Returns the previous state of a givenitem
.static @Nullable HistoricItem
PersistenceExtensions.previousState
(Item item, boolean skipEqual, String serviceId) Returns the previous state of a givenitem
.Modifier and TypeMethodDescriptionstatic Iterable<HistoricItem>
PersistenceExtensions.getAllStatesBetween
(Item item, ZonedDateTime begin, @Nullable ZonedDateTime end) Retrieves the historic items for a givenitem
beetween two certain points in time.static Iterable<HistoricItem>
PersistenceExtensions.getAllStatesBetween
(Item item, ZonedDateTime begin, @Nullable ZonedDateTime end, String serviceId) Retrieves the historic items for a givenitem
beetween two certain points in time through aPersistenceService
identified by theserviceId
.static Iterable<HistoricItem>
PersistenceExtensions.getAllStatesSince
(Item item, ZonedDateTime timestamp) Retrieves the historic items for a givenitem
since a certain point in time.static Iterable<HistoricItem>
PersistenceExtensions.getAllStatesSince
(Item item, ZonedDateTime timestamp, String serviceId) Retrieves the historic items for a givenitem
since a certain point in time through aPersistenceService
identified by theserviceId
.