metron-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Allen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (METRON-412) Limit Profiler to Numeric Types Via Type System
Date Mon, 12 Sep 2016 13:51:20 GMT

     [ 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)

Mime
View raw message