Class KeyExtent

  • All Implemented Interfaces:
    Comparable<KeyExtent>, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable<KeyExtent>

    @Deprecated
    public class KeyExtent
    extends Object
    implements org.apache.hadoop.io.WritableComparable<KeyExtent>
    Deprecated.
    since 1.7.0 use TabletId
    keeps track of information needed to identify a tablet
    • Constructor Detail

      • KeyExtent

        public KeyExtent()
        Deprecated.
      • KeyExtent

        public KeyExtent​(org.apache.hadoop.io.Text table,
                         org.apache.hadoop.io.Text endRow,
                         org.apache.hadoop.io.Text prevEndRow)
        Deprecated.
      • KeyExtent

        public KeyExtent​(KeyExtent extent)
        Deprecated.
      • KeyExtent

        public KeyExtent​(TKeyExtent tke)
        Deprecated.
      • KeyExtent

        public KeyExtent​(org.apache.hadoop.io.Text flattenedExtent,
                         Value prevEndRow)
        Deprecated.
      • KeyExtent

        public KeyExtent​(org.apache.hadoop.io.Text flattenedExtent,
                         org.apache.hadoop.io.Text prevEndRow)
        Deprecated.
    • Method Detail

      • getMetadataEntry

        public org.apache.hadoop.io.Text getMetadataEntry()
        Deprecated.
      • setTableId

        public void setTableId​(org.apache.hadoop.io.Text tId)
        Deprecated.
      • getTableId

        public org.apache.hadoop.io.Text getTableId()
        Deprecated.
      • setEndRow

        public void setEndRow​(org.apache.hadoop.io.Text endRow)
        Deprecated.
      • getEndRow

        public org.apache.hadoop.io.Text getEndRow()
        Deprecated.
      • getPrevEndRow

        public org.apache.hadoop.io.Text getPrevEndRow()
        Deprecated.
      • setPrevEndRow

        public void setPrevEndRow​(org.apache.hadoop.io.Text prevEndRow)
        Deprecated.
      • readFields

        public void readFields​(DataInput in)
                        throws IOException
        Deprecated.
        Specified by:
        readFields in interface org.apache.hadoop.io.Writable
        Throws:
        IOException
      • write

        public void write​(DataOutput out)
                   throws IOException
        Deprecated.
        Specified by:
        write in interface org.apache.hadoop.io.Writable
        Throws:
        IOException
      • getPrevRowUpdateMutation

        public Mutation getPrevRowUpdateMutation()
        Deprecated.
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object o)
        Deprecated.
        Overrides:
        equals in class Object
      • getUUID

        public UUID getUUID()
        Deprecated.
      • contains

        public boolean contains​(ByteSequence bsrow)
        Deprecated.
      • contains

        public boolean contains​(org.apache.hadoop.io.BinaryComparable row)
        Deprecated.
      • toDataRange

        public Range toDataRange()
        Deprecated.
      • toMetadataRange

        public Range toMetadataRange()
        Deprecated.
      • overlaps

        public boolean overlaps​(KeyExtent other)
        Deprecated.
      • toThrift

        public TKeyExtent toThrift()
        Deprecated.
      • isPreviousExtent

        public boolean isPreviousExtent​(KeyExtent prevExtent)
        Deprecated.
      • isMeta

        public boolean isMeta()
        Deprecated.
      • isRootTablet

        public boolean isRootTablet()
        Deprecated.
      • getMetadataEntry

        public static org.apache.hadoop.io.Text getMetadataEntry​(org.apache.hadoop.io.Text tableId,
                                                                 org.apache.hadoop.io.Text endRow)
        Deprecated.
      • getKeyExtentsForRange

        @Deprecated
        public static Collection<KeyExtent> getKeyExtentsForRange​(org.apache.hadoop.io.Text startRow,
                                                                  org.apache.hadoop.io.Text endRow,
                                                                  Set<KeyExtent> kes)
        Deprecated.
        this method not intended for public use and is likely to be removed in a future version.
        Empty start or end rows tell the method there are no start or end rows, and to use all the keyextents that are before the end row if no start row etc.
        Returns:
        all the key extents that the rows cover
      • decodePrevEndRow

        public static org.apache.hadoop.io.Text decodePrevEndRow​(Value ibw)
        Deprecated.
      • encodePrevEndRow

        public static Value encodePrevEndRow​(org.apache.hadoop.io.Text per)
        Deprecated.
      • getPrevRowUpdateMutation

        public static Mutation getPrevRowUpdateMutation​(KeyExtent ke)
        Deprecated.
      • tableOfMetadataRow

        public static byte[] tableOfMetadataRow​(org.apache.hadoop.io.Text row)
        Deprecated.
      • getMetadataEntry

        public static org.apache.hadoop.io.Text getMetadataEntry​(KeyExtent extent)
        Deprecated.