TabletId
@Deprecated public class KeyExtent extends Object implements org.apache.hadoop.io.WritableComparable<KeyExtent>
Constructor and Description |
---|
KeyExtent()
Deprecated.
|
KeyExtent(KeyExtent extent)
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.
|
KeyExtent(org.apache.hadoop.io.Text flattenedExtent,
Value prevEndRow)
Deprecated.
|
KeyExtent(org.apache.accumulo.core.data.thrift.TKeyExtent tke)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(KeyExtent other)
Deprecated.
|
boolean |
contains(org.apache.hadoop.io.BinaryComparable row)
Deprecated.
|
boolean |
contains(ByteSequence bsrow)
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.
|
org.apache.accumulo.core.data.thrift.TKeyExtent |
toThrift()
Deprecated.
|
void |
write(DataOutput out)
Deprecated.
|
public KeyExtent()
public KeyExtent(org.apache.hadoop.io.Text table, org.apache.hadoop.io.Text endRow, org.apache.hadoop.io.Text prevEndRow)
public KeyExtent(KeyExtent extent)
public KeyExtent(org.apache.accumulo.core.data.thrift.TKeyExtent tke)
public KeyExtent(org.apache.hadoop.io.Text flattenedExtent, Value prevEndRow)
public KeyExtent(org.apache.hadoop.io.Text flattenedExtent, org.apache.hadoop.io.Text prevEndRow)
public org.apache.hadoop.io.Text getMetadataEntry()
public void setTableId(org.apache.hadoop.io.Text tId)
public org.apache.hadoop.io.Text getTableId()
public void setEndRow(org.apache.hadoop.io.Text endRow)
public org.apache.hadoop.io.Text getEndRow()
public org.apache.hadoop.io.Text getPrevEndRow()
public void setPrevEndRow(org.apache.hadoop.io.Text prevEndRow)
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public Mutation getPrevRowUpdateMutation()
public int compareTo(KeyExtent other)
compareTo
in interface Comparable<KeyExtent>
public UUID getUUID()
public boolean contains(ByteSequence bsrow)
public boolean contains(org.apache.hadoop.io.BinaryComparable row)
public Range toDataRange()
public Range toMetadataRange()
public boolean overlaps(KeyExtent other)
public org.apache.accumulo.core.data.thrift.TKeyExtent toThrift()
public boolean isPreviousExtent(KeyExtent prevExtent)
public boolean isMeta()
public boolean isRootTablet()
public static org.apache.hadoop.io.Text getMetadataEntry(org.apache.hadoop.io.Text tableId, org.apache.hadoop.io.Text endRow)
@Deprecated public static Collection<KeyExtent> getKeyExtentsForRange(org.apache.hadoop.io.Text startRow, org.apache.hadoop.io.Text endRow, Set<KeyExtent> kes)
public static org.apache.hadoop.io.Text decodePrevEndRow(Value ibw)
public static Value encodePrevEndRow(org.apache.hadoop.io.Text per)
public static byte[] tableOfMetadataRow(org.apache.hadoop.io.Text row)
public static SortedSet<KeyExtent> findChildren(KeyExtent ke, SortedSet<KeyExtent> tablets)
public static KeyExtent findContainingExtent(KeyExtent extent, SortedSet<KeyExtent> extents)
public static Set<KeyExtent> findOverlapping(KeyExtent nke, SortedSet<KeyExtent> extents)
public static Set<KeyExtent> findOverlapping(KeyExtent nke, SortedMap<KeyExtent,?> extents)
public static org.apache.hadoop.io.Text getMetadataEntry(KeyExtent extent)
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.