Hi Cassandra developers, I'm implementing a custom PerRowSecondaryIndex and I managed to extract all data I need but clustering columns values from cell names. I know that they are part of the cell name itself and it's easy to extract the CQL column name:
public static String cellNameToString(CFMetaData metadata, Cell cell) throws CharacterCodingException { if (metadata.isCQL3Table()) { return ByteBufferUtil.string(cell.name().cql3ColumnName(metadata).bytes); But I don't understand how to extract the clustering column values from cell's name. Could someone share some info about that? Thank you, -- Jacques-Henri Berthemet