Uses of Interface
org.openhab.core.persistence.HistoricItem
Packages that use HistoricItem
-
Uses of HistoricItem in org.openhab.core.persistence
Subinterfaces of HistoricItem in org.openhab.core.persistenceModifier and TypeInterfaceDescriptioninterface
This interface is used by persistence services to represent the full persisted state of an item, including the previous state, and last update and change timestamps.Methods in org.openhab.core.persistence that return types with arguments of type HistoricItemModifier and TypeMethodDescriptionQueryablePersistenceService.query
(FilterCriteria filter) Queries thePersistenceService
for historic data with a givenFilterCriteria
.default Iterable
<HistoricItem> QueryablePersistenceService.query
(FilterCriteria filter, @Nullable String alias) Queries thePersistenceService
for historic data with a givenFilterCriteria
. -
Uses of HistoricItem in org.openhab.core.persistence.extensions
Methods in org.openhab.core.persistence.extensions that return HistoricItemModifier and TypeMethodDescriptionstatic @Nullable HistoricItem
PersistenceExtensions.historicState
(Item item, ZonedDateTime timestamp) Deprecated.static @Nullable HistoricItem
PersistenceExtensions.historicState
(Item item, ZonedDateTime timestamp, @Nullable String serviceId) Deprecated.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
between two points in time.static @Nullable HistoricItem
PersistenceExtensions.maximumBetween
(Item item, ZonedDateTime begin, ZonedDateTime end, @Nullable String serviceId) Gets the historic item with the maximum value of the state of a givenitem
between two points 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, @Nullable 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.maximumUntil
(Item item, ZonedDateTime timestamp) Gets the historic item with the maximum value of the state of a givenitem
until a certain point in time.static @Nullable HistoricItem
PersistenceExtensions.maximumUntil
(Item item, ZonedDateTime timestamp, @Nullable String serviceId) Gets the historic item with the maximum value of the state of a givenitem
until 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, @Nullable 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, @Nullable 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.minimumUntil
(Item item, ZonedDateTime timestamp) Gets the historic item with the minimum value of the state of a givenitem
until a certain point in time.static @Nullable HistoricItem
PersistenceExtensions.minimumUntil
(Item item, ZonedDateTime timestamp, @Nullable String serviceId) Gets the historic item with the minimum value of the state of a givenitem
until a certain point in time.static @Nullable HistoricItem
Returns the next state of a givenitem
.static @Nullable HistoricItem
Returns the next state of a givenitem
.static @Nullable HistoricItem
Returns the next state of a givenitem
.static @Nullable HistoricItem
Returns the next state of a givenitem
.static @Nullable HistoricItem
PersistenceExtensions.persistedState
(Item item, ZonedDateTime timestamp) Retrieves the persisted item for a givenitem
at a certain point in time through the default persistence service.static @Nullable HistoricItem
PersistenceExtensions.persistedState
(Item item, ZonedDateTime timestamp, @Nullable String serviceId) Retrieves the persisted item for a givenitem
at a certain point in time through aPersistenceService
identified by theserviceId
.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, @Nullable String serviceId) Returns the previous state of a givenitem
.static @Nullable HistoricItem
PersistenceExtensions.previousState
(Item item, @Nullable String serviceId) Returns the previous state of a givenitem
.Methods in org.openhab.core.persistence.extensions that return types with arguments of type HistoricItemModifier and TypeMethodDescriptionstatic @Nullable Iterable
<HistoricItem> PersistenceExtensions.getAllStatesBetween
(Item item, ZonedDateTime begin, ZonedDateTime end) Retrieves the historic items for a givenitem
between two points in time.static @Nullable Iterable
<HistoricItem> PersistenceExtensions.getAllStatesBetween
(Item item, ZonedDateTime begin, ZonedDateTime end, @Nullable String serviceId) Retrieves the historic items for a givenitem
between two points in time through aPersistenceService
identified by theserviceId
.static @Nullable Iterable
<HistoricItem> PersistenceExtensions.getAllStatesSince
(Item item, ZonedDateTime timestamp) Retrieves the historic items for a givenitem
since a certain point in time.static @Nullable Iterable
<HistoricItem> PersistenceExtensions.getAllStatesSince
(Item item, ZonedDateTime timestamp, @Nullable String serviceId) Retrieves the historic items for a givenitem
since a certain point in time through aPersistenceService
identified by theserviceId
.static @Nullable Iterable
<HistoricItem> PersistenceExtensions.getAllStatesUntil
(Item item, ZonedDateTime timestamp) Retrieves the future items for a givenitem
until a certain point in time.static @Nullable Iterable
<HistoricItem> PersistenceExtensions.getAllStatesUntil
(Item item, ZonedDateTime timestamp, @Nullable String serviceId) Retrieves the future items for a givenitem
until a certain point in time through aPersistenceService
identified by theserviceId
.