[ 
https://issues.apache.org/jira/browse/CASSANDRA-7159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14106710#comment-14106710
 ] 

Vladislav Sinjavin commented on CASSANDRA-7159:
-----------------------------------------------

Hi Sylvain!

Thanks for your quick response.

About the min/max column names. With the help of the unit tests for the 
SSTableMetadataViewer I found out that there is a ByteBufferUtil class and it 
look's like it can deserialize correctly column names: 
ByteBufferUtil.string(buffer). What do you mean that we can use comparator of 
the sstable?

About the min/max token. Thanks for you help, I see this fields in the SSTable 
class as you said but I can't see an easy way to get an instance of this object 
just with the help of the *.db file. 
Probably we can get an instance of the ColumnFamilyStore 
(Keyspace.open(KEYSPACE1).getColumnFamilyStore("Counter1")) and then  but I 
think it's not a correct way. Please, could you advise?

Thanks in advance!

> sstablemetadata command should print some more stuff
> ----------------------------------------------------
>
>                 Key: CASSANDRA-7159
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7159
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Jeremiah Jordan
>            Assignee: Vladislav Sinjavin
>            Priority: Trivial
>              Labels: lhf
>
> It would be nice if the sstablemetadata command printed out some more of the 
> stuff we track.  Like the Min/Max column names and the min/max token in the 
> file.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to