Class RowKey


  • public class RowKey
    extends Object
    Represents a specific sorting or hashing key. Instances of this class wrap a byte array in row-based frame format.
    • Method Detail

      • wrap

        public static RowKey wrap​(byte[] row)
        Create a key from a byte array. The array will be owned by the resulting key object.
      • empty

        public static RowKey empty()
      • array

        public byte[] array()
        Get the backing array for this key (not a copy).
      • longHashCode

        public long longHashCode()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • estimatedObjectSizeBytes

        public int estimatedObjectSizeBytes()
        Estimate number of bytes taken by the key array. Only returns an estimate and does not account for platform or JVM specific implementation.