You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Nick Allen (JIRA)" <ji...@apache.org> on 2016/09/12 13:51:20 UTC

[jira] [Updated] (METRON-412) Limit Profiler to Numeric Types Via Type System

     [ https://issues.apache.org/jira/browse/METRON-412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Allen updated METRON-412:
------------------------------
    Issue Type: Improvement  (was: Bug)

> Limit Profiler to Numeric Types Via Type System
> -----------------------------------------------
>
>                 Key: METRON-412
>                 URL: https://issues.apache.org/jira/browse/METRON-412
>             Project: Metron
>          Issue Type: Improvement
>            Reporter: Nick Allen
>            Assignee: Nick Allen
>
> The current implementation introduced in METRON-389 allows a ProfileMeasurement's value to be any Object.  At runtime, this type is checked and an exception is thrown if the type is not numeric.  It would be possible and much cleaner to use the type system to do this checking at compile-time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)