public class KeyUtils extends Object
Constructor and Description |
---|
KeyUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
formatBytes(byte[] bytes) |
static String |
formatBytes(com.google.protobuf.ByteString bytes) |
static String |
formatBytes(Coprocessor.KeyRange keyRange) |
static String |
formatBytesUTF8(byte[] bytes) |
static String |
formatBytesUTF8(com.google.protobuf.ByteString bytes) |
static String |
formatBytesUTF8(Coprocessor.KeyRange keyRange) |
static boolean |
hasPrefix(com.google.protobuf.ByteString str,
com.google.protobuf.ByteString prefix) |
public static String formatBytes(byte[] bytes)
public static String formatBytes(com.google.protobuf.ByteString bytes)
public static String formatBytes(Coprocessor.KeyRange keyRange)
public static String formatBytesUTF8(byte[] bytes)
public static String formatBytesUTF8(com.google.protobuf.ByteString bytes)
public static String formatBytesUTF8(Coprocessor.KeyRange keyRange)
public static boolean hasPrefix(com.google.protobuf.ByteString str, com.google.protobuf.ByteString prefix)
Copyright © 2024 PingCAP. All rights reserved.