Details

    • Sub-task
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • None
    • Legacy/CQL
    • None

    Description

      Currently, CellPath exposes the interface with size() and get(int i), although makes assertion that the passed size is 0.

      Also, there is a lot of code assuming that Path is always the size of 1 (which is true for now, of course, but will have to change during the transition to nested / composite paths).

      Examples of such code include:

      • ColumnDefinition path size check and comparator
      • Cell serialization / deserialization / calculating buffer size in CollectionType
      • CellPath copying
      • NativeCell code

      Another problem is that CellPath currently does not contain a number of items in path. UPDATE: actually, it's possible to use the byte where we write HAS_MULTIPATH at the moment. It's a byte.

      Attachments

        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: