jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (JCR-3860) Properly expose missing values in TimeSeries implementations
Date Mon, 16 Mar 2015 21:49:38 GMT

    [ https://issues.apache.org/jira/browse/JCR-3860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14364031#comment-14364031

Michael Dürig commented on JCR-3860:

I see two ways to address this without breaking existing APIs:
# for each time series {{v}} expose a indicator variable {{i}}, such {{i\[k] == true}} iff
{{v\[k]}} is not missing. 
# use a value outside the application domain to encode missing values. Such a value would
need to be exposed through an additional method on {{TimeSeries}} (e.g. as {{TimeSeries.getMissingValue()}}
such that implementations, who are under control of the values, can chose it. 

I would favour the 2nd approach. 

> Properly expose missing values in TimeSeries implementations
> ------------------------------------------------------------
>                 Key: JCR-3860
>                 URL: https://issues.apache.org/jira/browse/JCR-3860
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-commons
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>              Labels: JMX, mbean, monitoring
> {{TimeSeries}} implementations currently don't have a way for exposing missing values
during an interval instead reporting {{0}}.  This is problematic see e.g. OAK-2635.
> cc [~egli]

This message was sent by Atlassian JIRA

View raw message