Package org.apache.accumulo.tserver
Class MemKey
- java.lang.Object
-
- org.apache.accumulo.core.data.Key
-
- org.apache.accumulo.tserver.MemKey
-
- All Implemented Interfaces:
Cloneable
,Comparable<Key>
,org.apache.hadoop.io.Writable
,org.apache.hadoop.io.WritableComparable<Key>
public class MemKey extends Key
-
-
Field Summary
-
Fields inherited from class org.apache.accumulo.core.data.Key
colFamily, colQualifier, colVisibility, deleted, row, timestamp
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
int
compareTo(Key k)
int
getKVCount()
void
readFields(DataInput in)
String
toString()
void
write(DataOutput out)
-
Methods inherited from class org.apache.accumulo.core.data.Key
appendPrintableString, builder, builder, compareColumnFamily, compareColumnQualifier, compareRow, compareTo, compress, decompress, equals, equals, followingKey, getColumnFamily, getColumnFamily, getColumnFamilyData, getColumnQualifier, getColumnQualifier, getColumnQualifierData, getColumnVisibility, getColumnVisibility, getColumnVisibilityData, getColumnVisibilityParsed, getLength, getRow, getRow, getRowData, getSize, getTimestamp, hashCode, isDeleted, set, setDeleted, setTimestamp, toPrintableString, toStringNoTime, toStringNoTruncate, toThrift
-
-
-
-
Constructor Detail
-
MemKey
public MemKey(byte[] row, byte[] cf, byte[] cq, byte[] cv, long ts, boolean del, boolean copy, int mc)
-
MemKey
public MemKey()
-
MemKey
public MemKey(Key key, int mc)
-
-
Method Detail
-
getKVCount
public int getKVCount()
-
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
clone
in classKey
- Throws:
CloneNotSupportedException
-
write
public void write(DataOutput out) throws IOException
- Specified by:
write
in interfaceorg.apache.hadoop.io.Writable
- Overrides:
write
in classKey
- Throws:
IOException
-
readFields
public void readFields(DataInput in) throws IOException
- Specified by:
readFields
in interfaceorg.apache.hadoop.io.Writable
- Overrides:
readFields
in classKey
- Throws:
IOException
-
-