[
https://issues.apache.org/jira/browse/CASSANDRA-12367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15445156#comment-15445156
]
Marcus Eriksson commented on CASSANDRA-12367:
---------------------------------------------
[~geoffxy] I *think* we could do something like this:
{code}
DataRange keyRange = DataRange.forKeyRange(new
Range<>(key.getToken().minKeyBound(), key.getToken().maxKeyBound()));
sstable.getScanner(ColumnFilter.all(store.metadata), keyRange, false);
{code}
> Add an API to request the size of a CQL partition
> -------------------------------------------------
>
> Key: CASSANDRA-12367
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12367
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Geoffrey Yu
> Assignee: Geoffrey Yu
> Priority: Minor
> Fix For: 3.x
>
> Attachments: 12367-trunk-v2.txt, 12367-trunk.txt
>
>
> It would be useful to have an API that we could use to get the total
> serialized size of a CQL partition, scoped by keyspace and table, on disk.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)