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

Jonathan Ellis commented on CASSANDRA-2753:
-------------------------------------------

{code}
    public long maxTimestamp()
    {
        long maxTimestamp = Long.MIN_VALUE;
        for (IColumn column : columns.values())
        {
            if (column instanceof Column)
                maxTimestamp = Math.max(maxTimestamp, column.timestamp());
        }
        return maxTimestamp;
    }
{code}

No support for supercolumns?

> Capture the max client timestamp for an SSTable
> -----------------------------------------------
>
>                 Key: CASSANDRA-2753
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2753
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Alan Liang
>            Assignee: Alan Liang
>            Priority: Minor
>         Attachments: 
> 0001-capture-max-timestamp-and-created-SSTableMetadata-to.patch, 
> 0003-capture-max-timestamp-for-sstable-and-introduced-SST.patch
>
>


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

        

Reply via email to