Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-11588

Unify CollectionType#{getValuesType|getElementsType}

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              ifesdjeen Alex Petrov
              ifesdjeen Alex Petrov
              Alex Petrov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: