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.
keeps track of information needed to identify a tablet
-
Constructor Summary
ConstructorDescriptionDeprecated.Deprecated.KeyExtent
(org.apache.accumulo.core.data.thrift.TKeyExtent tke) Deprecated.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
Modifier and TypeMethodDescriptionint
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
Deprecated.findChildren
(KeyExtent ke, SortedSet<KeyExtent> tablets) Deprecated.static KeyExtent
findContainingExtent
(KeyExtent extent, SortedSet<KeyExtent> extents) Deprecated.findOverlapping
(KeyExtent nke, SortedMap<KeyExtent, ?> extents) Deprecated.findOverlapping
(KeyExtent nke, SortedSet<KeyExtent> extents) Deprecated.org.apache.hadoop.io.Text
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
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
Deprecated.Deprecated.static Mutation
Deprecated.org.apache.hadoop.io.Text
Deprecated.getUUID()
Deprecated.int
hashCode()
Deprecated.boolean
isMeta()
Deprecated.boolean
isPreviousExtent
(KeyExtent prevExtent) Deprecated.boolean
Deprecated.boolean
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.Deprecated.Deprecated.toString()
Deprecated.org.apache.accumulo.core.data.thrift.TKeyExtent
toThrift()
Deprecated.void
write
(DataOutput out) Deprecated.
-
Constructor Details
-
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
Deprecated. -
KeyExtent
public KeyExtent(org.apache.accumulo.core.data.thrift.TKeyExtent tke) Deprecated. -
KeyExtent
Deprecated. -
KeyExtent
public KeyExtent(org.apache.hadoop.io.Text flattenedExtent, org.apache.hadoop.io.Text prevEndRow) Deprecated.
-
-
Method Details
-
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
Deprecated.- Specified by:
readFields
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
write
Deprecated.- Specified by:
write
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
getPrevRowUpdateMutation
Deprecated. -
compareTo
Deprecated.- Specified by:
compareTo
in interfaceComparable<KeyExtent>
-
hashCode
public int hashCode()Deprecated. -
equals
Deprecated. -
toString
Deprecated. -
getUUID
Deprecated. -
contains
Deprecated. -
contains
public boolean contains(org.apache.hadoop.io.BinaryComparable row) Deprecated. -
toDataRange
Deprecated. -
toMetadataRange
Deprecated. -
overlaps
Deprecated. -
toThrift
public org.apache.accumulo.core.data.thrift.TKeyExtent toThrift()Deprecated. -
isPreviousExtent
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
Deprecated. -
encodePrevEndRow
Deprecated. -
getPrevRowUpdateMutation
Deprecated. -
tableOfMetadataRow
public static byte[] tableOfMetadataRow(org.apache.hadoop.io.Text row) Deprecated. -
findChildren
Deprecated. -
findContainingExtent
Deprecated. -
findOverlapping
Deprecated. -
findOverlapping
Deprecated. -
getMetadataEntry
Deprecated.
-
TabletId