cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Petrov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-11590) Make CellPath really multi part
Date Mon, 18 Apr 2016 06:35:25 GMT

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

Alex Petrov updated CASSANDRA-11590:
------------------------------------
    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. 

  was:
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 


> Make CellPath really multi part
> -------------------------------
>
>                 Key: CASSANDRA-11590
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11590
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: CQL
>            Reporter: Alex Petrov
>            Assignee: Alex Petrov
>             Fix For: 3.x
>
>
> 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.




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

Mime
View raw message