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 Objectclone()intcompareTo(Key k)intgetKVCount()voidreadFields(DataInput in)StringtoString()voidwrite(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:
clonein classKey- Throws:
CloneNotSupportedException
-
write
public void write(DataOutput out) throws IOException
- Specified by:
writein interfaceorg.apache.hadoop.io.Writable- Overrides:
writein classKey- Throws:
IOException
-
readFields
public void readFields(DataInput in) throws IOException
- Specified by:
readFieldsin interfaceorg.apache.hadoop.io.Writable- Overrides:
readFieldsin classKey- Throws:
IOException
-
-