public class InternalKey extends Object
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<InternalKey,Slice> |
INTERNAL_KEY_TO_SLICE |
static com.google.common.base.Function<InternalKey,Slice> |
INTERNAL_KEY_TO_USER_KEY |
static com.google.common.base.Function<Slice,InternalKey> |
SLICE_TO_INTERNAL_KEY |
Constructor and Description |
---|
InternalKey(byte[] data) |
InternalKey(Slice data) |
InternalKey(Slice userKey,
long sequenceNumber,
ValueType valueType) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Function<Slice,InternalKey> |
createUserKeyToInternalKeyFunction(long sequenceNumber) |
Slice |
encode() |
boolean |
equals(Object o) |
long |
getSequenceNumber() |
Slice |
getUserKey() |
ValueType |
getValueType() |
int |
hashCode() |
String |
toString() |
public static final com.google.common.base.Function<InternalKey,Slice> INTERNAL_KEY_TO_SLICE
public static final com.google.common.base.Function<Slice,InternalKey> SLICE_TO_INTERNAL_KEY
public static final com.google.common.base.Function<InternalKey,Slice> INTERNAL_KEY_TO_USER_KEY
public InternalKey(Slice data)
public InternalKey(byte[] data)
public Slice getUserKey()
public long getSequenceNumber()
public ValueType getValueType()
public Slice encode()
public static com.google.common.base.Function<Slice,InternalKey> createUserKeyToInternalKeyFunction(long sequenceNumber)
Copyright © 2011–2017. All rights reserved.