@SuppressWarnings("unchecked")
    byte[] rawKey(Object key) {
        Assert.notNull(key, "non null key required");
        return keySerializer().serialize(key);
    }
@SuppressWarnings("unchecked")
    byte[] rawKey(Object key) {
        Assert.notNull(key, "non null key required");
        return keySerializer().serialize(key);
    }
@ SuppressWarnings ( "unchecked" ) byte [ ] rawKey ( Object key ) { Assert . notNull ( key , "non null key required" ) ; return keySerializer ( ) . serialize ( key ) ; }
Raw key.

@param key the key
@return the byte[]
Raw key .