cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijay (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-2167) Add a deserialize(ByteBuffer) method to ColumnFamilySerializer
Date Tue, 15 Feb 2011 19:34:57 GMT

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

Vijay updated CASSANDRA-2167:
-----------------------------

    Description: 
by adding deserialize bytebuffer in the columnFamilySerializer we might be able to avoid copying
of the bytes[] while deserializing the CF.

This can be done using....
        ByteBuffer buff = ByteBuffer.wrap(bb.array(), bb.position(), length);

This is an improvement on "https://issues.apache.org/jira/browse/CASSANDRA-1969" Plz see jonathan's
comment.

  was:
by adding deserialize bytebuffer in the columnFamilySerializer we might be able to avoid copying
of the bytes[] while deserializing the CF.

This can be done using....
        ByteBuffer buff = ByteBuffer.wrap(bb.array(), bb.position(), bb.position()+ length);

This is an improvement on "https://issues.apache.org/jira/browse/CASSANDRA-1969" Plz see jonathan's
comment.


> Add a deserialize(ByteBuffer) method to ColumnFamilySerializer
> --------------------------------------------------------------
>
>                 Key: CASSANDRA-2167
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2167
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Core
>            Reporter: Vijay
>            Priority: Minor
>
> by adding deserialize bytebuffer in the columnFamilySerializer we might be able to avoid
copying of the bytes[] while deserializing the CF.
> This can be done using....
>         ByteBuffer buff = ByteBuffer.wrap(bb.array(), bb.position(), length);
> This is an improvement on "https://issues.apache.org/jira/browse/CASSANDRA-1969" Plz
see jonathan's comment.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message