cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Petrov (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-11588) Unify CollectionType#{getValuesType|getElementsType}
Date Mon, 18 Apr 2016 08:45:25 GMT


Alex Petrov commented on CASSANDRA-11588:

The only reason for that was to make {{Value}} building a bit simpler (e.g. calculating CellPath
and preparing Values). 
But I think you're right, there's no critical need for that. I'd probably wait until {{7826}}
is in a better shape. I'll reopen if I can find a better motivation.

> Unify CollectionType#{getValuesType|getElementsType}
> ----------------------------------------------------
>                 Key: CASSANDRA-11588
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Alex Petrov
>            Assignee: Alex Petrov
>             Fix For: 3.x
> Currently, {{ListType}} and {{SetType}} have {{getElementsType}}, while {{MapType}} has
{{getValuesType}} (along with {{getKeysType}}).
> It might make sense to unify these types and make all three types have {{getValuesType}},
which would simply mean renaming for {{Set}} and {{List}} and pulling the method up to {{CollectionType}}.
This would make [#7826|] a bit simpler.

This message was sent by Atlassian JIRA

View raw message