@InterfaceAudience.Private public class ClientUtil extends Object
| 构造器和说明 |
|---|
ClientUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
areScanStartRowAndStopRowEqual(byte[] startRow,
byte[] stopRow) |
static Cursor |
createCursor(byte[] row) |
static Get |
makeHotTableGet(Get get,
long hotTtl) |
static List<Get> |
makeHotTableGets(List<Get> gets,
long hotTtl) |
static Scan |
makeHotTableScan(Scan scan,
long hotTtl) |
static Pair<TableDescriptor,TableDescriptor> |
makeLayeredTableDescripter(TableDescriptor hot,
TableDescriptor cold,
long ttl) |
static Get |
removeColdDataFromGet(Get get,
long hotTtl) |
static List<Get> |
removeColdDataFromGets(List<Get> gets,
long hotTtl) |
static Scan |
removeColdDataFromScan(Scan scan,
long hotTtl) |
public static boolean areScanStartRowAndStopRowEqual(byte[] startRow,
byte[] stopRow)
public static Cursor createCursor(byte[] row)
public static Pair<TableDescriptor,TableDescriptor> makeLayeredTableDescripter(TableDescriptor hot, TableDescriptor cold, long ttl)
public static Scan removeColdDataFromScan(Scan scan, long hotTtl) throws IOException
IOExceptionpublic static Get removeColdDataFromGet(Get get, long hotTtl) throws IOException
IOExceptionpublic static List<Get> removeColdDataFromGets(List<Get> gets, long hotTtl) throws IOException
IOExceptionpublic static Scan makeHotTableScan(Scan scan, long hotTtl) throws IOException
IOExceptionpublic static Get makeHotTableGet(Get get, long hotTtl) throws IOException
IOExceptionpublic static List<Get> makeHotTableGets(List<Get> gets, long hotTtl) throws IOException
IOExceptionCopyright © 2007–2019. All rights reserved.