Package org.apache.accumulo.core.data
Class KeyExtent
- java.lang.Object
-
- org.apache.accumulo.core.data.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 useTabletId
keeps track of information needed to identify a tablet
-
-
Constructor Summary
Constructors Constructor Description KeyExtent()
Deprecated.KeyExtent(KeyExtent extent)
Deprecated.KeyExtent(TKeyExtent tke)
Deprecated.KeyExtent(org.apache.hadoop.io.Text flattenedExtent, Value prevEndRow)
Deprecated.KeyExtent(org.apache.hadoop.io.Text flattenedExtent, org.apache.hadoop.io.Text prevEndRow)
Deprecated.KeyExtent(org.apache.hadoop.io.Text table, org.apache.hadoop.io.Text endRow, org.apache.hadoop.io.Text prevEndRow)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
compareTo(KeyExtent other)
Deprecated.boolean
contains(ByteSequence bsrow)
Deprecated.boolean
contains(org.apache.hadoop.io.BinaryComparable row)
Deprecated.static org.apache.hadoop.io.Text
decodePrevEndRow(Value ibw)
Deprecated.static Value
encodePrevEndRow(org.apache.hadoop.io.Text per)
Deprecated.boolean
equals(Object o)
Deprecated.static SortedSet<KeyExtent>
findChildren(KeyExtent ke, SortedSet<KeyExtent> tablets)
Deprecated.static KeyExtent
findContainingExtent(KeyExtent extent, SortedSet<KeyExtent> extents)
Deprecated.static Set<KeyExtent>
findOverlapping(KeyExtent nke, SortedMap<KeyExtent,?> extents)
Deprecated.static Set<KeyExtent>
findOverlapping(KeyExtent nke, SortedSet<KeyExtent> extents)
Deprecated.org.apache.hadoop.io.Text
getEndRow()
Deprecated.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.org.apache.hadoop.io.Text
getMetadataEntry()
Deprecated.static org.apache.hadoop.io.Text
getMetadataEntry(KeyExtent extent)
Deprecated.static org.apache.hadoop.io.Text
getMetadataEntry(org.apache.hadoop.io.Text tableId, org.apache.hadoop.io.Text endRow)
Deprecated.org.apache.hadoop.io.Text
getPrevEndRow()
Deprecated.Mutation
getPrevRowUpdateMutation()
Deprecated.static Mutation
getPrevRowUpdateMutation(KeyExtent ke)
Deprecated.org.apache.hadoop.io.Text
getTableId()
Deprecated.UUID
getUUID()
Deprecated.int
hashCode()
Deprecated.boolean
isMeta()
Deprecated.boolean
isPreviousExtent(KeyExtent prevExtent)
Deprecated.boolean
isRootTablet()
Deprecated.boolean
overlaps(KeyExtent other)
Deprecated.void
readFields(DataInput in)
Deprecated.void
setEndRow(org.apache.hadoop.io.Text endRow)
Deprecated.void
setPrevEndRow(org.apache.hadoop.io.Text prevEndRow)
Deprecated.void
setTableId(org.apache.hadoop.io.Text tId)
Deprecated.static byte[]
tableOfMetadataRow(org.apache.hadoop.io.Text row)
Deprecated.Range
toDataRange()
Deprecated.Range
toMetadataRange()
Deprecated.String
toString()
Deprecated.TKeyExtent
toThrift()
Deprecated.void
write(DataOutput out)
Deprecated.
-
-
-
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 interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
write
public void write(DataOutput out) throws IOException
Deprecated.- Specified by:
write
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
getPrevRowUpdateMutation
public Mutation getPrevRowUpdateMutation()
Deprecated.
-
compareTo
public int compareTo(KeyExtent other)
Deprecated.- Specified by:
compareTo
in interfaceComparable<KeyExtent>
-
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.
-
tableOfMetadataRow
public static byte[] tableOfMetadataRow(org.apache.hadoop.io.Text row)
Deprecated.
-
findChildren
public static SortedSet<KeyExtent> findChildren(KeyExtent ke, SortedSet<KeyExtent> tablets)
Deprecated.
-
findContainingExtent
public static KeyExtent findContainingExtent(KeyExtent extent, SortedSet<KeyExtent> extents)
Deprecated.
-
findOverlapping
public static Set<KeyExtent> findOverlapping(KeyExtent nke, SortedSet<KeyExtent> extents)
Deprecated.
-
findOverlapping
public static Set<KeyExtent> findOverlapping(KeyExtent nke, SortedMap<KeyExtent,?> extents)
Deprecated.
-
getMetadataEntry
public static org.apache.hadoop.io.Text getMetadataEntry(KeyExtent extent)
Deprecated.
-
-