public class RequestKeyV1TxnCodec extends RequestKeyV1Codec implements RequestKeyCodec
Constructor and Description |
---|
RequestKeyV1TxnCodec() |
Modifier and Type | Method and Description |
---|---|
Metapb.Region |
decodeRegion(Metapb.Region region) |
com.google.protobuf.ByteString |
encodePdQuery(com.google.protobuf.ByteString key) |
Pair<com.google.protobuf.ByteString,com.google.protobuf.ByteString> |
encodePdQueryRange(com.google.protobuf.ByteString start,
com.google.protobuf.ByteString end) |
decodeKey, decodeKvPair, decodeKvPairs, decodePdRegions, encodeKey, encodeKeys, encodeMutations, encodeRange
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decodeKey, decodeKvPair, decodeKvPairs, decodePdRegions, encodeKey, encodeKeys, encodeMutations, encodeRange
public com.google.protobuf.ByteString encodePdQuery(com.google.protobuf.ByteString key)
encodePdQuery
in interface RequestKeyCodec
encodePdQuery
in class RequestKeyV1Codec
public Pair<com.google.protobuf.ByteString,com.google.protobuf.ByteString> encodePdQueryRange(com.google.protobuf.ByteString start, com.google.protobuf.ByteString end)
encodePdQueryRange
in interface RequestKeyCodec
encodePdQueryRange
in class RequestKeyV1Codec
public Metapb.Region decodeRegion(Metapb.Region region)
decodeRegion
in interface RequestKeyCodec
decodeRegion
in class RequestKeyV1Codec
Copyright © 2024 PingCAP. All rights reserved.