I have a table that has a compound partition key made up of five large fields.
I noticed that the SSTable index files for this table are very large due to the size of these five fields.
I don't actually need to retrieve the values of these fields from my table, so to save space I'd like to hash them in the client to a single value and then use that single value as the partition key, the same way Cassandra does when it maps a compound partition key to a single token value.
So I'm wondering if there is a function in the java driver or some java library function I can use in my clients to generate this single value.
I guess the type I want to use is uuid, so I'm looking for a function I can pass N values to and get a uuid back out to then use as my partition key value. Anyone know of a good way to do that?