public <K> K getKeyObject() throws IOException, ClassNotFoundException {
      return (K) BlobHelper.deserializeBlob(key);
    }
Returns the deserialized key object.

@return the key

@throws IOException error deserializing key
@throws ClassNotFoundException unable to deserialize key
geode-core/src/main/java/org/apache/geode/internal/cache/snapshot/SnapshotPacket.java